anv/blorp: Ignore clears for attachments first used as resolve destinations
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 28 Oct 2016 05:42:02 +0000 (22:42 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Nov 2016 20:03:24 +0000 (12:03 -0800)
commitccdf9af39265ef3478fac4d13b19e9d17fbbcab7
treee322832466c823ff3fa4612a27ce1cc41ed72686
parent1ba2f05bc039a19768d893a8ffa98488697a7b20
anv/blorp: Ignore clears for attachments first used as resolve destinations

Otherwise, we'll try to clear it the first time it's used as a draw so if
you do some multisampled rendering, resolve to an attachment, and then draw
on top of the single-sampled attachment, we might accidentally clear it.

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_blorp.c