summaryrefslogtreecommitdiffstats
path: root/src/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-12-01 14:09:17 -0800
committerJason Ekstrand <[email protected]>2015-12-03 13:43:53 -0800
commitd3547e733443f406ff505e5f9f9790de0ae16907 (patch)
treed701bd4cff8f17b50f9fb9e34740cc9c293eecd5 /src/vulkan
parent9349625d60ff8a2476e062ba4038cd81ee2394e2 (diff)
vk/0.210.0: Use VkSampleCountFlagBits for sample counts
Diffstat (limited to 'src/vulkan')
-rw-r--r--src/vulkan/anv_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_image.c b/src/vulkan/anv_image.c
index f52bf456d1e..db5207859a0 100644
--- a/src/vulkan/anv_image.c
+++ b/src/vulkan/anv_image.c
@@ -304,7 +304,7 @@ anv_image_create(VkDevice _device,
anv_assert(pCreateInfo->mipLevels > 0);
anv_assert(pCreateInfo->arrayLayers > 0);
- anv_assert(pCreateInfo->samples == 1);
+ anv_assert(pCreateInfo->samples == VK_SAMPLE_COUNT_1_BIT);
anv_assert(pCreateInfo->extent.width > 0);
anv_assert(pCreateInfo->extent.height > 0);
anv_assert(pCreateInfo->extent.depth > 0);