mesa/src/intel/blorp
Jason Ekstrand 83deab2f6a intel/blorp/copy: Properly handle clear colors for CCS_E images
In order to handle CCS_E, we stomp the image format to a UINT format and
then do some bitcasting logic in the shader.  This works fine since SKL
render compression only considers the channel layout of the format and
not the format itself.  In order for this to work on images that have
been fast-cleared, we need to also convert the clear color so that, when
interpreted as UINT, it provides the same bit value as it would have in
the original format.  This fixes a bunch of OpenGL ES CTS tests for
copy_image when we start using CCS more aggressively.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 817f9e3b17)
2017-01-24 01:15:47 +00:00
..
blorp.c intel/blorp: Add support for vertex shaders 2016-11-16 10:11:29 -08:00
blorp.h intel/blorp_clear: Add gen8 HiZ clearing functions 2017-01-12 20:52:19 -08:00
blorp_blit.c intel/blorp/copy: Properly handle clear colors for CCS_E images 2017-01-24 01:15:47 +00:00
blorp_clear.c intel/blorp_clear: Add gen8 HiZ clearing functions 2017-01-12 20:52:19 -08:00
blorp_genX_exec.h intel/blorp: Add the BDW+ optimized HZ_OP sequence to BLORP 2017-01-12 20:52:19 -08:00
blorp_priv.h intel/blorp: Properly handle color compression in blorp_copy 2016-11-17 12:03:24 -08:00
TODO intel/blorp: Add a TODO file 2016-09-12 10:14:49 -07:00