anv/cmd_buffer: Fix pipeline barriers for input attachments
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 16 Nov 2016 19:20:50 +0000 (11:20 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Nov 2016 21:44:55 +0000 (13:44 -0800)
commit57174d60421e9e63569335a269cd806703f5da5d
treea0249e9b5c15918f4ff8e341c616824c4244263e
parent0acb28e0cfcb961a6b0650626adcabeea6f4d371
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 <jordan.l.justen@intel.com>
src/intel/vulkan/genX_cmd_buffer.c