mesa/src
Jason Ekstrand 6db193701e i965: Only do depth resolves prior to clearing when needed
When changing the clear value, we need to resolve any fast cleared data.

Previously, we were performing resolves on every slice with HiZ enabled.
We only need to resolve slices that a) have fast clear data, and b)
aren't about to be cleared to the new color.  In the latter case, we
were actually doing a resolve, and then a fast clear - when we could
skip both, causing the existing fast cleared area to be updated to the
new clear value for no additional work.

This patch stops using intel_miptree_prepare_access in favor of a more
optimal open coded loop that knows about our clear operation.

v2: (by Ken) Rebase on islification, write a real commit message.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2017-07-26 14:43:01 -07:00
..
amd ac/surface: fix hybrid graphics where APU=GFX9, dGPU=older 2017-07-26 19:53:26 +02:00
broadcom broadcom/vc4: Switch the V3D 2.1 XML over to restricted address fields. 2017-07-25 14:55:12 -07:00
compiler compiler: move glsl_interface_packing enum to shader_enums.h 2017-07-26 10:39:52 +10:00
egl egl: move KHR_no_error vs debug/robustness check further down 2017-07-26 11:50:32 +01:00
gallium radeonsi: decrease the number of compiler threads 2017-07-26 19:53:26 +02:00
gbm gbm: fix typo 2017-07-19 15:51:54 +01:00
getopt
glx egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
gtest
hgl
intel anv: only expose up to 28 vertex attributes 2017-07-26 08:16:43 +02:00
loader loader/dri3: Use dri3_find_back in loader_dri3_swap_buffers_msc 2017-07-13 16:49:28 +09:00
mapi mapi: add missing no_error tag to glBlitNamedFramebuffer() 2017-07-18 10:07:34 +02:00
mesa i965: Only do depth resolves prior to clearing when needed 2017-07-26 14:43:01 -07:00
util ra: Add a callback for selecting a register from what's available. 2017-07-25 14:44:52 -07:00
vulkan vulkan/util: fix typo in comment 2017-07-18 13:56:04 +01:00
Makefile.am build systems: move git_sha1_gen.sh to bin/ 2017-07-06 22:59:39 +01:00
SConscript build systems: move git_sha1_gen.sh to bin/ 2017-07-06 22:59:39 +01:00