radv: fix typo in the subpass barrier patch.
authorDave Airlie <airlied@redhat.com>
Wed, 22 Feb 2017 02:20:18 +0000 (02:20 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 22 Feb 2017 02:22:30 +0000 (02:22 +0000)
Fixes: dbb0eaccc radv: handle subpass cache flushes
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c

index 248e1afa87b7d8aad341f8716dbc67fd1a8837ad..4aa5df69674b6a623dd681583c26e0873d9586ca 100644 (file)
@@ -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 |