Mesa (master): radv: fix typo in the subpass barrier patch.

Dave Airlie airlied at kemper.freedesktop.org
Wed Feb 22 02:22:59 UTC 2017


Module: Mesa
Branch: master
Commit: 40e0dbf96c4d812be940561f5732b1b0e44b5e1d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=40e0dbf96c4d812be940561f5732b1b0e44b5e1d

Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Feb 22 02:20:18 2017 +0000

radv: fix typo in the subpass barrier patch.

Fixes: dbb0eaccc radv: handle subpass cache flushes

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/amd/vulkan/radv_cmd_buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 248e1af..4aa5df6 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 |




More information about the mesa-commit mailing list