radv: add fs_key meta format support to resolve passes.
authorDave Airlie <airlied@redhat.com>
Tue, 23 Jan 2018 05:48:08 +0000 (15:48 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 23 Jan 2018 22:50:51 +0000 (08:50 +1000)
commit316d762186f0bfc225b82794fdae520275a448db
treeccd05e810d9043155688350d9cd9399ba35c1d4a
parent224fd17e1ef5173f4406bdbcfd9434c3e0c38b22
radv: add fs_key meta format support to resolve passes.

Some of the hw resolve passes need the SPI color format setup
correctly.

This fixes lots of 16-bit and 32-bit format tests in
dEQP-VK.renderpass.suballocation.multisample*

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fixes: f4e499ec7914 "radv: add initial non-conformant radv vulkan driver"
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_resolve.c
src/amd/vulkan/radv_private.h