mesa/src
Danylo Piliaiev cb8a00791c ir3: memory_barrier also controls shared memory access order
nir_intrinsic_memory_barrier has the same semantic as memoryBarrier()
in GLSL, which is:

GLSL 4.60, 4.10. "Memory Qualifiers":
 "The built-in function memoryBarrier() can be used if needed to
 guarantee the completion and relative ordering of memory accesses
 performed by a single shader invocation."

GLSL 4.60, 8.17. "Shader Memory Control Functions":
 "The built-in functions memoryBarrier() and groupMemoryBarrier() wait
 for the completion of accesses to all of the above variable types."

Fixes tests:
 dEQP-VK.memory_model.message_passing.core11.u32.coherent.fence_fence.atomicwrite.device.payload_local.image.guard_nonlocal.workgroup.comp
 dEQP-VK.memory_model.message_passing.core11.u32.coherent.fence_fence.atomicwrite.device.payload_nonlocal.workgroup.guard_local.image.comp

Fixes: 819a613a ("freedreno/ir3: moar better scheduler")

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9054>
2021-05-05 10:05:38 +00:00
..
amd radv: expose 2/3rd of total memory as VRAM and 1/3rd as GTT on APUs 2021-05-05 08:44:17 +02:00
android_stub android: add some more stub functions for cross compilation 2021-03-25 06:06:16 +00:00
asahi asahi: Add vertex formats table 2021-05-02 17:41:22 -04:00
broadcom v3d: choose a larger CSD supergroup size if possible 2021-05-04 15:53:23 +00:00
compiler nir/builder: Move clamp helpers to nir_builder.h 2021-05-04 22:51:34 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl egl/android: include "util/compiler.h" for FALLTHROUGH macro 2021-04-16 16:42:20 +00:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno ir3: memory_barrier also controls shared memory access order 2021-05-05 10:05:38 +00:00
gallium zink: only emit ImageBuffer cap if needed 2021-05-05 10:51:02 +02:00
gbm egl: fix software flag in _eglAddDevice call on DRM 2021-03-26 10:32:31 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx Revert "glx: s/Display */struct glx_display */ over internal API" 2021-05-03 15:00:41 -04:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel/decoder: add gen4/5 geometry state decode 2021-05-05 07:28:34 +00:00
loader i915c: Add a symlink for i830_dri.so 2021-05-03 23:03:09 +00:00
mapi mesa: fix incomplete GL_NV_half_float implementation 2021-04-26 03:35:21 +00:00
mesa gallium: Reset attachments to ST_ATTACHMENT_INVALID when revalidating 2021-05-05 03:23:58 +00:00
microsoft microsoft/compiler: Maintain sorting of resource type in the context 2021-04-29 23:55:02 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost pan/bi: Use nir_lower_to_bit_size 2021-05-05 02:19:04 +00:00
util util/math: change ROUND_DOWN_TO to return a uint64_t 2021-05-05 03:03:45 +00:00
virtio venus: query extended resource info from gralloc 2021-05-04 19:52:13 +00:00
vulkan vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable 2021-05-04 21:26:21 +00:00
meson.build asahi: Add Gallium driver 2021-05-02 17:54:05 -04:00