mesa/src
Alex Smith 6028fa7999 anv: Make sure state on primary is correct after CmdExecuteCommands
After executing a secondary command buffer, we need to update certain
state on the primary command buffer to reflect changes by the secondary.
Otherwise subsequent commands may not have the correct state set.

This fixes various issues (rendering errors, GPU hangs) seen after
executing secondary command buffers in some cases.

v2 (Jason Ekstrand):
 - Reset to invalid values instead of pulling from the secondary
 - Change the comment to be more descriptive

Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 4fd85617c1)
2018-01-12 21:38:08 +01:00
..
amd radv: don't do format replacement on tc compat htile surfaces. 2017-12-27 23:16:12 +00:00
broadcom broadcom/vc5: Remove unused v3d_compiler.c 2017-11-13 17:17:16 +00:00
compiler mesa: add AllowGLSLCrossStageInterpolationMismatch workaround 2017-12-27 12:14:40 +00:00
egl egl/android: Fix build break with dri2_initialize_android _EGLDisplay parameter 2018-01-08 20:49:46 +00:00
gallium swr/rast: fix invalid sign masks in avx512 simdlib code 2018-01-12 21:38:08 +01:00
gbm meson: build libEGL 2017-10-20 16:46:48 -07:00
getopt
glx glx/dri3: Remove unused deviceName variable 2017-12-14 22:56:46 +00:00
gtest meson: convert gtest to an internal dependency 2017-10-03 10:02:08 -07:00
hgl
intel anv: Make sure state on primary is correct after CmdExecuteCommands 2018-01-12 21:38:08 +01:00
loader loader/dri3: Improve dri3 thread-safety 2017-11-17 19:24:29 +00:00
mapi gl_table.py: add extern C guard for the generated glapitable.h 2017-11-27 19:26:16 +00:00
mesa i965: Torch public intel_batchbuffer_emit_dword/float helpers. 2018-01-12 21:38:08 +01:00
util drirc: set allow_glsl_cross_stage_interpolation_mismatch for more games 2017-12-27 12:15:13 +00:00
vulkan meson: move wayland_drm_protocol generation to wayland-drm 2017-10-20 16:46:48 -07:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am automake: include git_sha1.h.in in release tarball 2017-11-13 17:17:15 +00:00
meson.build meson: build libEGL 2017-10-20 16:46:48 -07:00
SConscript scons: use python3-compatible print() 2017-09-25 11:57:12 +01:00