i965/blorp: Don't resolve HiZ unless we're reinterpreting
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 4 Dec 2019 02:31:24 +0000 (20:31 -0600)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 4 Jan 2020 20:25:54 +0000 (12:25 -0800)
commitea7446ba82b1d4225ae2e462340e529194514768
tree2c19f710a695783e00a957386c0b508e4c341d7d
parent95cc5438ebfca436ceb6fd87b6b32c943b088340
i965/blorp: Don't resolve HiZ unless we're reinterpreting

This eliminates 50% of pixels (2M) rendered for a blit in GS:GO.  This
accounts for 3% of pixels rendered in the game.  Total GPU clocks for
the first 900 frames of CSGO improves by 1%.

Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp.c