spirv: propagate the access flag for store and load derefs
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Mar 2019 22:07:39 +0000 (23:07 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 27 Mar 2019 08:57:30 +0000 (09:57 +0100)
commitbea540173cc8d8f6fad2ccb36fc848d610e6197b
tree84b7cddd44528b67e17493009c250ce90d81bfa3
parent4d0b03c83df4ed1bf3477ae6855eed51ebf87524
spirv: propagate the access flag for store and load derefs

It was only propagated when UBO/SSBO access are lowered to offsets.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: <Jason Ekstrand jason@jlekstrand.net>
src/compiler/spirv/vtn_cfg.c
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c