summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2016-01-22 17:16:20 -0800
committerChad Versace <[email protected]>2016-01-22 17:19:57 -0800
commitd96d78c3b6b768752a955d3f1d018b743c52d596 (patch)
tree3c9bb7180125b3e1dea1dded5a39f19e291f0eea
parentfda074b23fbc56fa3f53de234a77d6259f82fbea (diff)
anv/image: Drop assertion that samples == 1
-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 6fcf9885a1e..afd01e9d9fb 100644
--- a/src/vulkan/anv_image.c
+++ b/src/vulkan/anv_image.c
@@ -187,7 +187,7 @@ anv_image_create(VkDevice _device,
anv_assert(pCreateInfo->mipLevels > 0);
anv_assert(pCreateInfo->arrayLayers > 0);
- anv_assert(pCreateInfo->samples == VK_SAMPLE_COUNT_1_BIT);
+ anv_assert(pCreateInfo->samples > 0);
anv_assert(pCreateInfo->extent.width > 0);
anv_assert(pCreateInfo->extent.height > 0);
anv_assert(pCreateInfo->extent.depth > 0);