intel/blorp: Use linear formats for CCS_E clear colors in copies
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 11 May 2018 22:02:13 +0000 (15:02 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 May 2018 17:41:26 +0000 (10:41 -0700)
commit18f8200a994440faa9fb9e80e99e8140ea912993
tree96ddd164fb33365717afad30e5f538a313ee187a
parentf944a59996287de85d4c6d9b7b000d25f41b1d79
intel/blorp: Use linear formats for CCS_E clear colors in copies

It's clear that the original code meant to do this and there is even a
10-line comment explaining why.  Originally, we had a simple function
for packing the clear colors which was unaware of sRGB.  However, in
a6b66a7b26ae1, when we started using ISL to do the packing, the wrong
format was used.

Fixes: a6b66a7b26 "intel/blorp: Use ISL instead of bitcast_color..."
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/blorp/blorp_blit.c