radeonsi: emit s_waitcnt for shader memory barriers and volatile
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 17 Apr 2016 22:23:19 +0000 (17:23 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 27 Apr 2016 15:54:05 +0000 (10:54 -0500)
commit836cab51c8a5355a01a8ebedf99c55ff7c75e6e8
treec1f9d6c9d218f232f89c53f5561b64b42951124c
parente7201bd31b4c7beb1a2d0c4659477946e263d5cf
radeonsi: emit s_waitcnt for shader memory barriers and volatile

Turns out that this is needed after all to satisfy some strengthened
coherency tests. Depends on support in LLVM, added in r267729.

v2: updated to reflect changes to the LLVM intrinsic

Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
src/gallium/drivers/radeonsi/si_shader.c