diff options
author | Ian Romanick <[email protected]> | 2014-04-04 13:42:04 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-04-11 12:26:01 -0700 |
commit | 25a66568750c5826a077cbf549de92546c5fc6cf (patch) | |
tree | 2b4d481f3c243f923875f462ec0e1221a81bb05d /src/glsl/ast_to_hir.cpp | |
parent | cc42717b50bd46c82ac7925c397cd105ac82d091 (diff) |
linker: Set binding for all elements of UBO array
Previously, a UBO like
layout(binding=2) uniform U {
...
} my_constants[4];
wouldn't get any bindings set. The code would try to set the binding of
U, but that would fail. It should instead set the bindings for U[0],
U[1], ...
Signed-off-by: Ian Romanick <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76323
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "10.1" <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/glsl/ast_to_hir.cpp')
0 files changed, 0 insertions, 0 deletions