isl/formats: R8G8B8_UNORM_SRGB isn't supported on HSW
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 26 Jul 2019 22:41:59 +0000 (17:41 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Mon, 29 Jul 2019 16:34:18 +0000 (11:34 -0500)
commit7c1b39cf18481f0d15f3ffb1130da4479032d76a
tree6af5095c034ca166e4a5555aec4049563fcf7616
parent463164b325d1a9d6b05f4e459af04b2e8df29dbe
isl/formats: R8G8B8_UNORM_SRGB isn't supported on HSW

On Haswell, the format works but it doesn't properly do an sRGB decode.
It appears to act identically to R8G8B8_UNORM.  Only Vulkan uses this
format so this only affects Vulkan on HSW.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/intel/isl/isl_format.c