projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32dcfc9
)
HACK: Expose support for stencil blits
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 26 Jan 2016 23:59:43 +0000
(15:59 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 27 Jan 2016 01:29:49 +0000
(17:29 -0800)
If someone actually tries to use them, they won't work, but at least we
don't fail to return format properties now.
src/vulkan/anv_formats.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_formats.c
b/src/vulkan/anv_formats.c
index 642bc7d3cb1ce30e376477d28dc1c0fb0e1d4571..2cfcac45b9b7497169edd4648a7f712167a427ce 100644
(file)
--- a/
src/vulkan/anv_formats.c
+++ b/
src/vulkan/anv_formats.c
@@
-496,6
+496,7
@@
VkResult anv_GetPhysicalDeviceImageFormatProperties(
}
}
+#if 0
if (usage & VK_IMAGE_USAGE_TRANSFER_DST_BIT) {
if (anv_format_for_vk_format(format)->has_stencil) {
/* Not yet implemented because copying to a W-tiled surface is crazy
@@
-506,6
+507,7
@@
VkResult anv_GetPhysicalDeviceImageFormatProperties(
goto unsupported;
}
}
+#endif
if (usage & VK_IMAGE_USAGE_SAMPLED_BIT) {
if (!(format_feature_flags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) {