From d96d78c3b6b768752a955d3f1d018b743c52d596 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 22 Jan 2016 17:16:20 -0800 Subject: [PATCH] anv/image: Drop assertion that samples == 1 --- src/vulkan/anv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2