diff options
author | Dave Airlie <[email protected]> | 2018-01-23 15:48:08 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-01-24 08:50:51 +1000 |
commit | 316d762186f0bfc225b82794fdae520275a448db (patch) | |
tree | ccd05e810d9043155688350d9cd9399ba35c1d4a /src/amd/vulkan/radv_private.h | |
parent | 224fd17e1ef5173f4406bdbcfd9434c3e0c38b22 (diff) |
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 <[email protected]>
Fixes: f4e499ec7914 "radv: add initial non-conformant radv vulkan driver"
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index fedbb5d29f7..808db0007dc 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -478,8 +478,8 @@ struct radv_meta_state { struct { VkPipelineLayout p_layout; - VkPipeline pipeline; - VkRenderPass pass; + VkPipeline pipeline[NUM_META_FS_KEYS]; + VkRenderPass pass[NUM_META_FS_KEYS]; } resolve; struct { |