anv/cmd_buffer: Don't temporarily enable CCS_E within a render pass
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 19 Jan 2017 18:21:38 +0000 (10:21 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 3 Feb 2017 17:23:13 +0000 (09:23 -0800)
commit93b819154f625c4bf2fe369af35f1d9f93ebf8ce
tree95c43187fa99751911a399c2bc57d2c382e3cbe4
parent3f064e9a4076eac01cf7a59d0f30300ef0638aae
anv/cmd_buffer: Don't temporarily enable CCS_E within a render pass

Compressing a render target and decompressing it in the same
single-subpass render pass may waste bandwidth. While this may be
beneficial in some circumstances, it does not help in all. Reclaims
about 1.95% FPS for Dota 2 on some configurations.

v2 (Jason Ekstrand):
- Provide a more thorough comment
- Enable CCS_D for input attachments
v3 (Jason Ekstrand):
- Provide performance numbers

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