OSDN Git Service

anv/blorp: Turn off AUX after doing a CCS_D resolve
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 10 Mar 2017 00:37:23 +0000 (16:37 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 14 Mar 2017 14:36:20 +0000 (07:36 -0700)
commit273b720310863c2084c55f1371b2d27c2d96dbda
tree6297bd40f4d3518b68650f70ee5690eaebb0ef45
parent773d510c66a6e7058ffb290ff4ac5b8842e6ee56
anv/blorp: Turn off AUX after doing a CCS_D resolve

For render passes with multiple subpasses on gen7, we only fast-clear at
the top but an input attachment use can cause us to do a resolve in the
middle of the render pass.  Once we've done so, we are no longer have a
fast-cleared surface so we can just set aux_usage to NONE.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_blorp.c