mesa/src
Kenneth Graunke 877dd14e88 i965: Don't flag BRW_NEW_SURFACES unless some push constants are dirty.
Due to a gaffe on my part, we were re-emitting all binding table entries
on every single draw call.  The push_constant_packets atom listens to
BRW_NEW_DRAW_CALL, but skips emitting 3DSTATE_CONSTANT_XS for each stage
unless stage_state->push_constants_dirty is true.  However, it flagged
BRW_NEW_SURFACES unconditionally at the end, by mistake.

Instead, it should only flag it if we actually emit 3DSTATE_CONSTANT_XS
for a stage.  We can move it a few lines up, inside the loop - the early
continues will skip over it if push constants aren't dirty for a stage.

With INTEL_NO_HW=1 set, improves performance of GFXBench5 gl_driver_2
on Apollolake at 1280x720 by 1.01122% +/- 0.470723% (n=35).

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
2017-10-30 20:38:08 -07:00
..
amd radv: Fix -Wformat-security issue 2017-10-30 10:58:56 +01:00
broadcom broadcom/vc5: Add some comments about the texture/output format ordering. 2017-10-30 13:31:28 -07:00
compiler glsl: Fix bad formatting in a comment 2017-10-30 20:08:25 -07:00
egl meson: wire up egl/android 2017-10-30 16:32:05 +00:00
gallium broadcom/vc5: Force blending to treat alpha as 1 for formats without alpha. 2017-10-30 13:31:32 -07:00
gbm meson: build libEGL 2017-10-20 16:46:48 -07:00
getopt
glx meson: rename all instances of xf86vm to xxf86vm 2017-10-27 11:06:07 -07:00
gtest meson: convert gtest to an internal dependency 2017-10-03 10:02:08 -07:00
hgl
intel intel/genxml: Fix decoding of groups with fields smaller than a DWord. 2017-10-30 20:22:55 -07:00
loader loader: drop empty function alias 2017-10-26 16:25:33 +01:00
mapi scons: fix scons build to find generated glapitable.h 2017-10-27 16:26:26 -06:00
mesa i965: Don't flag BRW_NEW_SURFACES unless some push constants are dirty. 2017-10-30 20:38:08 -07:00
util util: hashtable: make hashing prototypes match 2017-10-30 15:18:00 +00:00
vulkan vulkan: Update headers and registry to 1.0.64 2017-10-26 05:17:57 +10:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00
meson.build meson: build classic osmesa 2017-10-27 11:06:45 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00