projects
/
platform
/
upstream
/
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
516281f
..
3ec2c77
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;
}