anv/cmd_buffer: Rework descriptor dirtying in set_subpass
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 6 Oct 2016 22:50:21 +0000 (15:50 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 6 Oct 2016 23:52:31 +0000 (16:52 -0700)
commitfe4e276b02615b5db8acbf4c65fcfa68982e2e0f
treead10ba47dd5372a2bc6f853afdec56405c86ca16
parenta1db0e87ffe8cbb567d0f7eb3a9036288eb1036c
anv/cmd_buffer: Rework descriptor dirtying in set_subpass

We have a DIRTY_RENDER_TARGETS flag and that makes a lot more sense than
just dirtying fragment descriptors.  We're checking for it in some of the
gen7 code but unfortunately, nothing was setting it and it didn't do what
it was supposed to do in cmd_buffer_flush_state.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/genX_cmd_buffer.c