vk/vulkan.h: Change maxAnisotropy to a float
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 14 Jul 2015 22:04:11 +0000 (15:04 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 14 Jul 2015 22:04:11 +0000 (15:04 -0700)
include/vulkan/vulkan.h

index 6f6f4b856c1c36cb9f1643b3ce94634edc525717..60afdf6fa6b87e91a9c4c9e88299f8ddf1313498 100644 (file)
@@ -1209,7 +1209,7 @@ typedef struct {
     uint32_t                                    maxDrawIndirectInstanceCount;
     VkBool32                                    primitiveRestartForPatches;
     float                                       maxSamplerLodBias;
-    uint32_t                                    maxSamplerAnisotropy;
+    float                                       maxSamplerAnisotropy;
     uint32_t                                    maxViewports;
     uint32_t                                    maxDynamicViewportStates;
     uint32_t                                    maxViewportDimensions[2];
@@ -1649,7 +1649,7 @@ typedef struct {
     VkTexAddress                                addressV;
     VkTexAddress                                addressW;
     float                                       mipLodBias;
-    uint32_t                                    maxAnisotropy;
+    float                                       maxAnisotropy;
     VkBool32                                    compareEnable;
     VkCompareOp                                 compareOp;
     float                                       minLod;