intel/blorp: Support clearing L8_UNORM_SRGB surfaces
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 2 Aug 2017 22:07:33 +0000 (15:07 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 19 Sep 2017 19:06:26 +0000 (12:06 -0700)
commita8ba57d35686bd55ffd2f7786b2ad10539ce0cc5
tree7fcbd499b7e8852d486161703c75c95efca60e68
parent4df0d50857aaf2f309333b0d69985a6d126e63dd
intel/blorp: Support clearing L8_UNORM_SRGB surfaces

Vulkan needs to be able to clear any texture you can create.  We want to
add support for VK_FORMAT_R8_SRGB and we need to use L8_UNORM_SRGB to do
that so we need to be able to clear it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/blorp/blorp_clear.c