anv/formats: Return proper error code for unsupported formats
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 15 Apr 2016 00:14:14 +0000 (17:14 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 27 Apr 2016 18:28:30 +0000 (11:28 -0700)
commit28d0bc72fbce26fd986b0e3f3a1f346a9d6eba00
tree05ef2381b768b82002b51b88c80368453b9c9ac3
parent5f7e8eac426a53df25721f07c11f109ca4a56138
anv/formats: Return proper error code for unsupported formats

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