mesa/src
Dave Airlie 54cd81dfc5 r600/eg: rework atomic counter emission with flushes
With the current code, we didn't do the space checks prior
to atomic counter setup emission, but we also didn't add
atomic counters to the space check so we could get a flush
later as well.

These flushes would be bad, and lead to problems with
parallel tests. We have to ensure the atomic counter copy in,
draw emits and counter copy out are kept in the same command
submission unit.

This reworks the code to drop some useless masks, make the
counting separate to the emits, and make the space checker
handle atomic counter space.

[airlied: want this in 18.2]

Fixes: 06993e4ee (r600: add support for hw atomic counters. (v3))
(cherry picked from commit 32529e6084)
2018-08-21 23:18:19 +03:00
..
amd radv: do not use CP predication for DCC decompressions 2018-08-20 13:33:07 +03:00
broadcom v3d: Emit the VCM_CACHE_SIZE packet. 2018-08-07 20:55:09 +03:00
compiler glsl: Avoid calling get_array_element for scalar constants 2018-08-16 13:38:36 +03:00
egl meson: fix build for egl platform_x11 without dri3 and gbm 2018-08-16 23:23:19 +03:00
gallium r600/eg: rework atomic counter emission with flushes 2018-08-21 23:18:19 +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/lower_ycbcr: Use the binding array size for bounds checks 2018-08-18 00:01:16 +03:00
loader loader_dri3: Handle mismatched depth 30 formats for Prime renderoffload. 2018-08-01 12:55:37 +01:00
mapi mesa: GL_MESA_framebuffer_flip_y extension [v4] 2018-07-27 12:32:25 -07:00
mesa i965: Advertise 8 bits subpixel precision for viewport bounds on gen6+ 2018-08-21 15:46:01 +03:00
util drirc: Allow extension midshader for Metro Redux 2018-08-10 15:24:45 +03:00
vulkan vulkan/wsi: fix incorrect assignment in assert() 2018-07-25 20:55:35 +01: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