radv: handle DCC image transitions before CMASK/FMASK transitions
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 13 Apr 2018 17:14:44 +0000 (19:14 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 16 Apr 2018 12:20:42 +0000 (14:20 +0200)
commitc6b1f1c97a2f2b7079a7f9c870903f20ea6de8f0
tree115e67bb4a26a1bcf3ce1532935a36ba6ad02934
parent79c87a45b69e6f94ebe42ffcd59267ec3d9c99ca
radv: handle DCC image transitions before CMASK/FMASK transitions

Mostly because DCC implies a fast-clear eliminate and we
should be able to skip some DCC decompressions by setting
a predicate like for CMASK and FMASK.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Niuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c