radeonsi: implement volatile memory access
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 14 Mar 2016 15:22:21 +0000 (10:22 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 21 Mar 2016 20:34:25 +0000 (15:34 -0500)
commit97352aa50af87b50271bc632abfb971caca46e2b
tree8b21ef885f2fcbb871c720d7e1ed86a3bc1149fe
parent5a61b428f477e7eef9f18f2fd43f661f193ece39
radeonsi: implement volatile memory access

Prevent loads from being re-ordered or coalesced.

Atomics don't need special handling by definition, and stores don't need
special handling because LLVM is unable to detect dead image or buffer
stores.

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