anv: Mark images written in end_subpass
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 25 Mar 2020 02:28:06 +0000 (21:28 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Apr 2020 22:45:39 +0000 (22:45 +0000)
commitc195d5516128543bf54a5c758119e0e36763d1f0
treebd5810372a3d5101f25a12979781110a7222d214
parentd5e30872cab029b8df1af70e8d528d77351a6f7e
anv: Mark images written in end_subpass

This makes a lot more sense than marking them written in begin_subpass
since, at that point, we haven't written them yet.  This should reduce
the chances of accidental extra resolves.

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4393>
src/intel/vulkan/genX_cmd_buffer.c