mesa/src/gallium/drivers
Iago Toral Quiroga f1559ca922 v3d: fix flushing of SSBOs and shader images
If the current draw call includes SSBOs, then we must flush any jobs
that are writing to the same SSBOs (so that our SSBOs reads are correct),
as well as jobs reading from the same SSBO (so that our SSBO writes don't
stomp previous SSBO reads).

The exact same logic applies to shader images. In this case we were already
flushing previous writes, but we should also flush previous reads.

Note that We don't need to call v3d_flush_jobs_reading_resource() and
v3d_flush_jobs_writing_resource() separately though, since flushing
jobs that read a resource also flushes those writing to it.

Suggested-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
2019-08-13 08:25:15 +02:00
..
etnaviv etnaviv: fix compile warnings in release build 2019-08-12 16:58:13 +00:00
freedreno freedreno: disable tiling for cubemaps 2019-08-12 22:30:54 +00:00
i915 gallium: switch boolean -> bool at the interface definitions 2019-07-22 22:13:51 -04:00
iris iris/gen11: Emit SLICE_HASH_TABLE when pipes are unbalanced. 2019-08-12 16:19:08 -07:00
kmsro gallium: add stm DRM entry point 2019-08-05 14:53:31 +00:00
lima lima/ppir: Add fddx and fddy 2019-08-12 23:20:04 +02:00
llvmpipe meson: drop unused dep_{thread,dl} 2019-08-03 00:08:37 +00:00
nouveau nvc0: fix program dumping, use _debug_printf 2019-08-07 22:32:02 -04:00
panfrost pan/midgard: Implement nir_intrinsic_load_num_work_groups 2019-08-12 12:43:02 -07:00
r300 meson: drop unused dep_{thread,dl} 2019-08-03 00:08:37 +00:00
r600 tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
radeon radeon/vcn/vp9: add Arcturus VP9 support 2019-07-29 17:52:58 -04:00
radeonsi radeonsi: remove the always_nir option 2019-08-12 14:52:17 -04:00
softpipe Revert "softpipe: Don't draw when rasterizer_discard is set" 2019-08-01 05:57:41 +00:00
svga gallium: add AYUV and XYUV formats 2019-07-31 09:50:06 -07:00
swr gallium/swr: Fix glClear when it's used with glEnable/glDisable GL_SCISSOR_TEST 2019-08-09 18:56:13 +02:00
tegra gallium: switch boolean -> bool at the interface definitions 2019-07-22 22:13:51 -04:00
v3d v3d: fix flushing of SSBOs and shader images 2019-08-13 08:25:15 +02:00
vc4 vc4: prepare for p_compiler.h dependency removal 2019-08-09 22:59:43 +03:00
virgl virgl: check scanout mask 2019-08-08 16:21:57 -07:00