projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f7e8ea
)
anv/formats: Return proper error code for unsupported formats
author
Nanley Chery
<nanley.g.chery@intel.com>
Fri, 15 Apr 2016 00:14:14 +0000
(17:14 -0700)
committer
Nanley Chery
<nanley.g.chery@intel.com>
Wed, 27 Apr 2016 18:28:30 +0000
(11:28 -0700)
Fixes some failures in dEQP-VK.api.info.image_format_properties.* and
enables the test group to execute without assert failing.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94896
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_formats.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_formats.c
b/src/intel/vulkan/anv_formats.c
index 750af793bdf79a57eedd39ecf5872369a6d4b301..395f91783d71d963f579a9670eea2184f79c3e28 100644
(file)
--- a/
src/intel/vulkan/anv_formats.c
+++ b/
src/intel/vulkan/anv_formats.c
@@
-583,7
+583,7
@@
unsupported:
.maxResourceSize = 0,
};
- return VK_
SUCCESS
;
+ return VK_
ERROR_FORMAT_NOT_SUPPORTED
;
}
void anv_GetPhysicalDeviceSparseImageFormatProperties(