diff options
author | Jordan Justen <[email protected]> | 2015-11-16 18:09:27 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-12-09 23:50:38 -0800 |
commit | ee005df2f90930675a1f955030014a66dfa255da (patch) | |
tree | 4c85f5d3377561dc4f018c8cffc0bdef4d5ae5e2 /src/glsl/glsl_parser_extras.h | |
parent | 99c8196458dc8f299d0b49c8ee801d6e9a2bc1db (diff) |
glsl ubo/ssbo: Move common code into lower_buffer_access::setup_buffer_access
This code will also be usable by the pass to lower shared variables.
Note, that *const_offset is adjusted by setup_buffer_access so it must
be initialized before calling setup_buffer_access.
v2:
* Add comment for lower_buffer_access::setup_buffer_access
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
0 files changed, 0 insertions, 0 deletions