diff options
author | Chris Forbes <[email protected]> | 2014-05-16 22:07:24 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-07-26 16:46:03 +1200 |
commit | be237a61297936227b2f4afc2ac28f60c3c76bbf (patch) | |
tree | 81883e71375d3e77935079314ea218d1b4cd28d7 /src/glsl/ir_validate.cpp | |
parent | c59802d3a147956d4f33586bb6221cd236987ee2 (diff) |
glsl: Accept nonconstant array references in lower_ubo_reference
Instead of falling back to just the block name (which we won't find),
look for the first element of the block array. We'll deal with the rest
in the backend by arranging for the blocks to be laid out contiguously.
V2: Squashed together patches 3, 5 of V1, plus a naming tweak.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir_validate.cpp')
0 files changed, 0 insertions, 0 deletions