mesa/src
Nanley Chery 14025e6570 i965/gen7_urb: Re-emit PUSH_CONSTANT_ALLOC on some gen9
According to internal docs, some gen9 platforms have a pixel shader push
constant synchronization issue. Although not listed among said
platforms, this issue seems to be present on the GeminiLake 2x6's we've
tested.

We consider the available workarounds to be too detrimental on
performance. Instead, we mitigate the issue by applying part of one of
the workarounds. Re-emit PUSH_CONSTANT_ALLOC at the top of every batch
(as suggested by Ken).

Fixes ext_framebuffer_multisample-accuracy piglit test failures with the
following options:
* 6 depth_draw small depthstencil
* 8 stencil_draw small depthstencil
* 6 stencil_draw small depthstencil
* 8 depth_resolve small
* 6 stencil_resolve small depthstencil
* 4 stencil_draw small depthstencil
* 16 stencil_draw small depthstencil
* 16 depth_draw small depthstencil
* 2 stencil_resolve small depthstencil
* 6 stencil_draw small
* all_samples stencil_draw small
* 2 depth_draw small depthstencil
* all_samples depth_draw small depthstencil
* all_samples stencil_resolve small
* 4 depth_draw small depthstencil
* all_samples depth_draw small
* all_samples stencil_draw small depthstencil
* 4 stencil_resolve small depthstencil
* 4 depth_resolve small depthstencil
* all_samples stencil_resolve small depthstencil

v2: Include more platforms in WA (Ken).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106865
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93355
Cc: <mesa-stable@lists.freedesktop.org>
Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 904c2a617d)
2018-09-01 02:10:02 +03:00
..
amd radv: fix passing clip/cull distances from VS to PS 2018-09-01 02:10:02 +03:00
broadcom v3d: Emit the VCM_CACHE_SIZE packet. 2018-08-07 20:55:09 +03:00
compiler glsl: skip stringification in preprocessor if in unreachable branch 2018-09-01 02:10:02 +03:00
egl egl/dri2: Guard against invalid fourcc formats 2018-09-01 02:09:54 +03:00
gallium egl/dri2: Guard against invalid fourcc formats 2018-09-01 02:09:54 +03:00
gbm gbm: Add support for 10bpp BGR formats 2018-08-01 12:55:37 +01:00
getopt
glx glx: GLX_MESA_multithread_makecurrent is direct-only 2018-08-10 15:29:09 +03:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel anv: blorp: support multiple aspect blits 2018-08-30 15:57:08 +03:00
loader loader_dri3: Handle mismatched depth 30 formats for Prime renderoffload. 2018-08-01 12:55:37 +01:00
mapi glapi: actually implement GL_EXT_robustness for GLES 2018-08-24 00:21:44 +03:00
mesa i965/gen7_urb: Re-emit PUSH_CONSTANT_ALLOC on some gen9 2018-09-01 02:10:02 +03:00
util meson: Actually load translation files 2018-08-29 17:19:28 +03:00
vulkan vulkan/alloc: Add a vk_strdup helper 2018-08-30 15:57:08 +03:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am egl: rewire the build systems to use libwayland-egl 2018-06-06 12:11:57 -07:00
meson.build v3d: Fix meson build without vc4. 2018-07-29 19:22:33 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00