mesa/src
Timur Kristóf 1749953ea3 aco/gfx10: Wait for pending SMEM stores before loads
Currently if you have an SMEM store followed by an SMEM load that
loads the same location as was written, it won't work because the
store isn't finished before the load is executed. This is NOT
mitigated by an s_nop instruction on GFX10.

Since we currently don't have proper alias analysis, this commit adds
a workaround which will insert an s_waitcnt lgkmcnt(0) before each
SSBO load if they follow a store. We should further refine this in
the future when we can make sure to only add the wait when we load the
same thing as has been stored.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
2019-10-21 14:33:54 +00:00
..
amd aco/gfx10: Wait for pending SMEM stores before loads 2019-10-21 14:33:54 +00:00
broadcom broadcom: document known hardware issues for L2T flush command 2019-10-18 14:08:52 +02:00
compiler nir: add nir_lower_amul pass 2019-10-18 15:08:54 -07:00
drm-shim meson: replace libmesa_util with idep_mesautil 2019-08-03 00:08:37 +00:00
egl egl/android: Remove our own reference to buffers. 2019-10-21 07:50:31 +00:00
etnaviv etnaviv: drm: add softpin interface 2019-10-18 19:05:21 +02:00
freedreno freedreno/ir3: handle imad24_ir3 case in UBO lowering 2019-10-18 15:08:54 -07:00
gallium panfrost: Fix the DISCARD_WHOLE_RES case in transfer_map() 2019-10-21 14:37:02 +02:00
gbm gbm: Add GBM_MAX_PLANES definition 2019-10-18 13:18:28 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx dri: Avoid swapbuffer throttling in glXCopySubBufferMESA 2019-10-05 13:19:37 +00:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: fix Mesa build 2019-10-01 10:31:02 +00:00
imgui imgui: bump imgui memory editor copy 2019-06-18 15:34:13 +00:00
intel anv: fix memory leak on device destroy 2019-10-20 08:02:22 +00:00
loader loader: Simplify handling of the radeonsi driver 2019-10-08 09:02:34 +00:00
mapi mesa: add EXT_dsa NamedCopyBufferSubDataEXT function 2019-10-18 10:26:26 +02:00
mesa st/mesa: only require ESSL 3.1 for geometry shaders 2019-10-21 09:09:15 +00:00
panfrost pan/midgard: Implement SIMD-aware dead code elimination 2019-10-20 12:02:31 +00:00
util util/u_atomic: fix return type of p_atomic_{inc,dec}_return() and p_atomic_{cmp,}xchg() 2019-10-16 19:41:47 +01:00
vulkan vulkan: Update the XML and headers to 1.1.125 2019-10-14 08:23:27 -07:00
meson.build meson: rename glvnd_missing_pc_files to not glvnd_has_headers_and_pc_files 2019-10-10 22:18:04 +01:00
SConscript