intel/blorp: Add fast-clear to the special case in MSAA resolves
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 11 Nov 2017 23:44:23 +0000 (15:44 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Nov 2017 00:22:11 +0000 (16:22 -0800)
commit86becfd2de3feed66d41350c828391524a7b4052
treea0cced78a0424b3b1681e79e305c95d1a537c0e0
parentdc21c3937c603eeb097327c080b9b70f224ce23b
intel/blorp: Add fast-clear to the special case in MSAA resolves

This doesn't go all the way of avoiding the txf_ms if it's fast-cleared,
however it does at least make us only do it once.  This should improve
performance of MSAA resolves in the presence of lots of clear color.
Without the patch, enabling fast-clears in the multisampling Sascha demo
drops the framerate by about 10%.  With this patch, enabling fast-clears
increases the demo's framerate by 25%.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/blorp/blorp_blit.c