radv/clear: add r32g32b32a32 fast clear support (v2)
authorDave Airlie <airlied@redhat.com>
Sun, 25 Jun 2017 23:52:07 +0000 (00:52 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 17 Jul 2017 00:44:25 +0000 (01:44 +0100)
commit8eed291c2c4bfaddf256dcdb10bfa95bfe2b7c58
tree5d31c9deedb0a7b955d8da2be5ea745eb884f282
parentacf1e132afd1578eb7346635e1ca60f5ac6d05b1
radv/clear: add r32g32b32a32 fast clear support (v2)

We can only fast clear 128-bit images if the r/g/b channels
are the same, and we are using DCC.

For DCC we'll bail out on translate if this isn't true,
and we catch cmask clears explicitly.

v2: remove 64-bit block (Bas), add uint32 as well.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_formats.c
src/amd/vulkan/radv_meta_clear.c