mesa/src/intel/blorp
Jason Ekstrand 34541be7b0 intel/blorp: Use wide formats for nicely aligned stencil clears
In the case where the stencil clear is nicely aligned, we can clear
stencil much more efficiently by mapping it as a wide format (say
RGBA32_UINT) and blasting out the stencil clear value with a repclear.
On Unigine Heaven, this makes one stencil clear go from non-trivial to
unnoticeable when looking at per-draw timings.

In order for this change to work properly, ANV needs to do a bit more
flushing around depth and stencil clears.  i965 and iris already have
the cache tracking logic to handle this so no changes are required
there.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-09-06 23:35:09 +00:00
..
blorp.c blorp: Memset surface info to zero when initializing it 2019-09-06 23:35:09 +00:00
blorp.h intel/blorp: Make swizzle_color_value public. 2019-03-20 16:46:25 -07:00
blorp_blit.c intel/blorp: Expose surf_fake_interleaved_msaa internally 2019-09-06 23:35:09 +00:00
blorp_clear.c intel/blorp: Use wide formats for nicely aligned stencil clears 2019-09-06 23:35:09 +00:00
blorp_genX_exec.h intel: replace MAYBE_UNUSED with UNUSED 2019-07-31 09:41:05 +01:00
blorp_nir_builder.h intel: Use a system value for gl_FragCoord 2019-07-29 23:30:26 +00:00
blorp_priv.h intel/blorp: Expose surf_fake_interleaved_msaa internally 2019-09-06 23:35:09 +00:00
meson.build intel: add dependency on genxml generated files 2019-04-08 20:52:47 +00:00
TODO intel/blorp: Add a TODO file 2016-09-12 10:14:49 -07:00