From 40e0dbf96c4d812be940561f5732b1b0e44b5e1d Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 22 Feb 2017 02:20:18 +0000 Subject: radv: fix typo in the subpass barrier patch. Fixes: dbb0eaccc radv: handle subpass cache flushes Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 248e1afa87b..4aa5df69674 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -2868,7 +2868,7 @@ void radv_CmdPipelineBarrier( 0); } - radv_dst_access_flush(cmd_buffer, src_flags); + radv_dst_access_flush(cmd_buffer, dst_flags); /* TODO reduce this */ enum radv_cmd_flush_bits flush_bits = RADV_CMD_FLAG_CS_PARTIAL_FLUSH | -- cgit v1.2.3