diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-12-14 14:59:20 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-12-15 08:51:46 -0700 |
| commit | 55e3fb0146c3cdeac76ce857abd66b864d648f7d (patch) | |
| tree | 5b625d5031de52a308b4a3baf2e625df0e54d8ff | |
| parent | 2f43486df4d9a463d7a6de276e539426e30dd5da (diff) | |
| download | usermoji-55e3fb0146c3cdeac76ce857abd66b864d648f7d.tar.xz | |
vulkan: Changes for header version 211
Add anisotropyEnable to VkSamplerCreateInfo.
Add inheritedQueries to VkPhysicalDeviceFeatures
| -rw-r--r-- | demos/cube.c | 1 | ||||
| -rw-r--r-- | demos/tri.c | 1 | ||||
| -rw-r--r-- | demos/vulkaninfo.c | 1 | ||||
| -rw-r--r-- | include/vulkan/vulkan.h | 4 |
4 files changed, 6 insertions, 1 deletions
diff --git a/demos/cube.c b/demos/cube.c index 3acb8fa3..25cf0773 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -1194,6 +1194,7 @@ static void demo_prepare_textures(struct demo *demo) .addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, .addressModeW = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, .mipLodBias = 0.0f, + .anisotropyEnable = VK_FALSE, .maxAnisotropy = 1, .compareOp = VK_COMPARE_OP_NEVER, .minLod = 0.0f, diff --git a/demos/tri.c b/demos/tri.c index 19848a4e..17b53443 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -955,6 +955,7 @@ static void demo_prepare_textures(struct demo *demo) .addressModeV = VK_SAMPLER_ADDRESS_MODE_REPEAT, .addressModeW = VK_SAMPLER_ADDRESS_MODE_REPEAT, .mipLodBias = 0.0f, + .anisotropyEnable = VK_FALSE, .maxAnisotropy = 1, .compareOp = VK_COMPARE_OP_NEVER, .minLod = 0.0f, diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index fb6b6cbb..c76ee149 100644 --- a/demos/vulkaninfo.c +++ b/demos/vulkaninfo.c @@ -829,6 +829,7 @@ static void app_gpu_dump_features(const struct app_gpu *gpu) printf("\tsparseResidency16Samples = %u\n", features->sparseResidency16Samples ); printf("\tsparseResidencyAliased = %u\n", features->sparseResidencyAliased ); printf("\tvariableMultisampleRate = %u\n", features->variableMultisampleRate ); + printf("\tiheritedQueries = %u\n", features->inheritedQueries ); } static void app_dump_sparse_props(const VkPhysicalDeviceSparseProperties *sparseProps) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 598d98eb..d9f8046c 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -41,7 +41,7 @@ extern "C" { ((major << 22) | (minor << 12) | patch) // Vulkan API version supported by this file -#define VK_API_VERSION VK_MAKE_VERSION(0, 210, 0) +#define VK_API_VERSION VK_MAKE_VERSION(0, 211, 0) #define VK_NULL_HANDLE 0 @@ -1183,6 +1183,7 @@ typedef struct VkPhysicalDeviceFeatures { VkBool32 sparseResidency16Samples; VkBool32 sparseResidencyAliased; VkBool32 variableMultisampleRate; + VkBool32 inheritedQueries; } VkPhysicalDeviceFeatures; typedef struct VkFormatProperties { @@ -1851,6 +1852,7 @@ typedef struct VkSamplerCreateInfo { VkSamplerAddressMode addressModeV; VkSamplerAddressMode addressModeW; float mipLodBias; + VkBool32 anisotropyEnable; float maxAnisotropy; VkBool32 compareEnable; VkCompareOp compareOp; |
