summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_cmd_buffer.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-02-22 02:20:18 +0000
committerDave Airlie <[email protected]>2017-02-22 02:22:30 +0000
commit40e0dbf96c4d812be940561f5732b1b0e44b5e1d (patch)
tree9cb7d8d7534ca46f340d2f66438720a597033f44 /src/amd/vulkan/radv_cmd_buffer.c
parentd71e1f32c6c2a77eac4e494a5464d9ce2d87d711 (diff)
radv: fix typo in the subpass barrier patch.
Fixes: dbb0eaccc radv: handle subpass cache flushes Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_cmd_buffer.c')
-rw-r--r--src/amd/vulkan/radv_cmd_buffer.c2
1 files changed, 1 insertions, 1 deletions
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 |