glsl ubo/ssbo: Split buffer access to insert_buffer_access
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 13 Nov 2015 18:47:06 +0000 (10:47 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 10 Dec 2015 07:50:38 +0000 (23:50 -0800)
commitad3c65e79230cf4ec6fd7b6f01e114f1e2f2c7dc
tree35acaa5615728381736d09d76a5a63a489869f0b
parent05667ecc526af74410057b5535ef332c78cf0051
glsl ubo/ssbo: Split buffer access to insert_buffer_access

This allows the code in emit_access to be generic enough to also be
for lowering shared variables.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/glsl/lower_ubo_reference.cpp