projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
164f08c
)
vk: Fix vkGetPhysicalDeviceSparseImageFormatProperties()
author
Chad Versace
<chad.versace@intel.com>
Mon, 28 Sep 2015 17:16:03 +0000
(10:16 -0700)
committer
Chad Versace
<chad.versace@intel.com>
Mon, 28 Sep 2015 17:17:48 +0000
(10:17 -0700)
The driver does not yet support sparse images, so return zero properties for
all formats.
src/vulkan/anv_formats.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_formats.c
b/src/vulkan/anv_formats.c
index 516281f2274bba02a0ebaa8b13b0ab3e766254bb..3ec2c7774aa53eeabd8760cb9368c74edc81be7c 100644
(file)
--- a/
src/vulkan/anv_formats.c
+++ b/
src/vulkan/anv_formats.c
@@
-325,5
+325,8
@@
VkResult anv_GetPhysicalDeviceSparseImageFormatProperties(
uint32_t* pNumProperties,
VkSparseImageFormatProperties* pProperties)
{
- stub_return(VK_UNSUPPORTED);
+ /* Sparse images are not yet supported. */
+ *pNumProperties = 0;
+
+ return VK_SUCCESS;
}