anv/cmd_buffer: Always enable CCS_D in render passes
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 31 Mar 2017 23:05:34 +0000 (16:05 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 23 Jul 2017 03:12:10 +0000 (20:12 -0700)
commit62d72bb5d0bca85f41a181c7d0e9bd6309f278ed
treeeb7b391cbb29247086bdf3bc07c0ff5995a21717
parent8e532aa0281e0680bebd10c71bde9f35825fa0aa
anv/cmd_buffer: Always enable CCS_D in render passes

The lifespan of the fast-clear data will surpass the render pass scope.
We need CCS_D to be enabled in order to invalidate blocks previously
marked as cleared and to sample cleared data correctly.

v2: Avoid refactoring.
v3: Allow CCS_D for subpass resolves.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/genX_cmd_buffer.c