projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fda074b
)
anv/image: Drop assertion that samples == 1
author
Chad Versace
<chad.versace@intel.com>
Sat, 23 Jan 2016 01:16:20 +0000
(17:16 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Sat, 23 Jan 2016 01:19:57 +0000
(17:19 -0800)
src/vulkan/anv_image.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_image.c
b/src/vulkan/anv_image.c
index 6fcf9885a1e1bdc16b2f3bc0e812ba7d618478e5..afd01e9d9fbf670a9771168b28df6a0a20d61627 100644
(file)
--- 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);