anv/cmd_buffer: Sync clear values in begin_subpass
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 21 Nov 2017 23:16:40 +0000 (15:16 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 20 Feb 2018 21:49:25 +0000 (13:49 -0800)
commit8a3f086a42b643e33310ad8b9dbe63c57d6620b9
treea5b2eb9a70b63686cdbaed005daa7e5711dbbd50
parenta4136b8c1a4533925af616d4920054c9734a265b
anv/cmd_buffer: Sync clear values in begin_subpass

This is quite a bit cleaner because we now sync the clear values at the
same time as we do the fast clear.  For loading the clear values into
the surface state, we now do it once when we handle the LOAD_OP_LOAD
instead of every subpass.

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/vulkan/genX_cmd_buffer.c