intel/blorp: Fix blits to R8G8B8_UNORM_SRGB
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 12 Jul 2018 20:55:26 +0000 (13:55 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 14 Jul 2018 03:57:46 +0000 (20:57 -0700)
commit11712b9ca17e4e1a819dcb7d020e19c6da77bc90
tree007b1785645edc4ce8ba9844c141b256cbb0cb08
parent4ec8b39fcd8086ff73334dcb31491d907ac08e85
intel/blorp: Fix blits to R8G8B8_UNORM_SRGB

In this case, the surface faking will give us a R8_UNORM surface and we
need to do an sRGB conversion in the shader.  Found by inspection.

cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/blorp/blorp_blit.c