diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-10-31 00:31:16 +0800 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-11-03 15:21:48 -0700 |
| commit | 3ede94625213de8237d565a9cb3ba16608d47af3 (patch) | |
| tree | 1750ecc9811cea2eff8a8d8cef4ce1c532d46c66 /layers/param_checker.cpp | |
| parent | ed57756e9b7768023aab49f540e09911a28046cb (diff) | |
| download | usermoji-3ede94625213de8237d565a9cb3ba16608d47af3.tar.xz | |
bug 14537: vkGetPhysicalDeviceImageFormatProperties doesn't express all limitations (WIP)
Use VkSampleCountFlagBits exclusively. Note that it can be casted to integer.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14537
Diffstat (limited to 'layers/param_checker.cpp')
| -rw-r--r-- | layers/param_checker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index 30d345de..1acb7ba4 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -2527,7 +2527,7 @@ bool PostGetPhysicalDeviceSparseImageFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, - uint32_t samples, + VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pNumProperties, @@ -2582,7 +2582,7 @@ VK_LAYER_EXPORT void VKAPI vkGetPhysicalDeviceSparseImageFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, - uint32_t samples, + VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pNumProperties, |
