glsl ubo/ssbo: Use enum to track current buffer access type
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 13 Nov 2015 09:49:43 +0000 (01:49 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 10 Dec 2015 07:50:38 +0000 (23:50 -0800)
commit05667ecc526af74410057b5535ef332c78cf0051
tree93d7cc2652098226a8a2c49d96082ddc2dbb160b
parent8cc372b6d910c4d3b59066cbb47434da0d765196
glsl ubo/ssbo: Use enum to track current buffer access type

v2:
 * Rename ssbo_get_array_length to ssbo_unsized_array_length_access (Iago)
 * Use always use this-> when referencing buffer_access_type (Iago)

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