radv: Add CPU color packing for VK_FORMAT_A2B10G10R10_UNORM_PACK32.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 8 Feb 2017 17:19:58 +0000 (18:19 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 8 Feb 2017 22:43:11 +0000 (22:43 +0000)
commitf22836dbdd4082f3d43c1d998b092f07ca3e9b77
tree317f2fe0861a6e672a011d81daa9799a4cc6c6c7
parentf64d74aa198a993f5907a1bad5130e3056c1b84f
radv: Add CPU color packing for VK_FORMAT_A2B10G10R10_UNORM_PACK32.

For allowing fast color clears in the main render targets of dota2.

[airlied: fix clear_vals[1] as suggested by Andres.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_formats.c