diff options
author | Jason Ekstrand <[email protected]> | 2016-11-16 11:20:50 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-22 13:44:55 -0800 |
commit | 57174d60421e9e63569335a269cd806703f5da5d (patch) | |
tree | a0249e9b5c15918f4ff8e341c616824c4244263e /src/intel/vulkan/genX_cmd_buffer.c | |
parent | 0acb28e0cfcb961a6b0650626adcabeea6f4d371 (diff) |
anv/cmd_buffer: Fix pipeline barriers for input attachments
We were using VK_IMAGE_ACCESS_COLOR_ATTACHMENT_READ_BIT to detect an input
attachment read. We should use VK_IMAGE_ACCESS_INPUT_ATTACHMENT_READ_BIT
instead.
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_cmd_buffer.c')
-rw-r--r-- | src/intel/vulkan/genX_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index 44610f89ba1..5e4979fbb6d 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -762,7 +762,7 @@ void genX(CmdPipelineBarrier)( pipe_bits |= ANV_PIPE_TEXTURE_CACHE_INVALIDATE_BIT; break; case VK_ACCESS_SHADER_READ_BIT: - case VK_ACCESS_COLOR_ATTACHMENT_READ_BIT: + case VK_ACCESS_INPUT_ATTACHMENT_READ_BIT: case VK_ACCESS_TRANSFER_READ_BIT: pipe_bits |= ANV_PIPE_TEXTURE_CACHE_INVALIDATE_BIT; break; |