From: Dave Airlie Date: Wed, 16 Nov 2016 23:41:29 +0000 (+0000) Subject: radv: make sure to flush input attachments correctly. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51a44c0021398177d56f86b7fb8d63673186a380;p=mesa.git radv: make sure to flush input attachments correctly. This fixes 9 of the dEQP-VK.renderpass.attachment_allocation.input_output.* tests. Cc: "13.0" Reviewed-by: Edward O'Callaghan Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 690c739c2ab..9517e7a13da 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -2291,6 +2291,7 @@ void radv_CmdPipelineBarrier( break; case VK_ACCESS_COLOR_ATTACHMENT_READ_BIT: case VK_ACCESS_TRANSFER_READ_BIT: + case VK_ACCESS_INPUT_ATTACHMENT_READ_BIT: flush_bits |= RADV_CMD_FLUSH_AND_INV_FRAMEBUFFER | RADV_CMD_FLAG_INV_GLOBAL_L2; default: break;