radv: reset the image's predicate after a color decompression pass
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 18 Apr 2018 12:34:55 +0000 (14:34 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 Jul 2018 08:43:33 +0000 (10:43 +0200)
commit02db2363f0f9174ecd8b3484c186b250c2a1259a
tree5f14ad798492bd03fa6503005d030399d1332abb
parentff7daadca1b335002d9bc198e38a3faa88b34478
radv: reset the image's predicate after a color decompression pass

After performing a fast-clear eliminate, a FMASK decompress,
or a DCC decompress, we can reset the predicate to FALSE.

With that, the GPU should be able to skip unnecessary color
decompression passes.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_fast_clear.c