Mesa (master): radv: make sure to flush input attachments correctly.
Dave Airlie
airlied at kemper.freedesktop.org
Sun Nov 20 22:58:51 UTC 2016
Module: Mesa
Branch: master
Commit: 51a44c0021398177d56f86b7fb8d63673186a380
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=51a44c0021398177d56f86b7fb8d63673186a380
Author: Dave Airlie <airlied at redhat.com>
Date: Wed Nov 16 23:41:29 2016 +0000
radv: make sure to flush input attachments correctly.
This fixes 9 of the
dEQP-VK.renderpass.attachment_allocation.input_output.*
tests.
Cc: "13.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/amd/vulkan/radv_cmd_buffer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 690c739..9517e7a 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;
More information about the mesa-commit
mailing list