From: Chad Versace Date: Sat, 23 Jan 2016 01:16:20 +0000 (-0800) Subject: anv/image: Drop assertion that samples == 1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d96d78c3b6b768752a955d3f1d018b743c52d596;p=mesa.git anv/image: Drop assertion that samples == 1 --- 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);