anv/image: Drop assertion that samples == 1
authorChad Versace <chad.versace@intel.com>
Sat, 23 Jan 2016 01:16:20 +0000 (17:16 -0800)
committerChad Versace <chad.versace@intel.com>
Sat, 23 Jan 2016 01:19:57 +0000 (17:19 -0800)
src/vulkan/anv_image.c

index 6fcf9885a1e1bdc16b2f3bc0e812ba7d618478e5..afd01e9d9fbf670a9771168b28df6a0a20d61627 100644 (file)
@@ -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);