diff options
author | Jason Ekstrand <[email protected]> | 2017-01-20 12:27:34 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-01-21 10:34:09 -0800 |
commit | 817f9e3b17c784cbe40639a4b370edc762bd2513 (patch) | |
tree | cc9ede855968c8edd11729eb5e3a2cb6a284c200 /src/loader | |
parent | bb5db5564ffa5beeda19279c67fca5f623a36d03 (diff) |
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 <[email protected]>
Cc: "17.0" <[email protected]>
Diffstat (limited to 'src/loader')
0 files changed, 0 insertions, 0 deletions