st/glsl_to_tgsi: set memory access type on image intrinsics
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 13 Mar 2016 02:47:35 +0000 (21:47 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 14 Mar 2016 22:24:30 +0000 (17:24 -0500)
commit1c0cee87640506414be0e759f6ad6c74a3c7e5af
tree4749880adb2755806e5b31ec6545cb1c5732618c
parentdfcf4204120d3fc8f7d8cda818e1c652e091cc35
st/glsl_to_tgsi: set memory access type on image intrinsics

This is required to preserve the image variable's coherent/restrict/volatile
qualifiers in TGSI.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp