diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2014-04-04 13:42:04 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2014-04-11 12:26:01 -0700 |
commit | 25a66568750c5826a077cbf549de92546c5fc6cf (patch) | |
tree | 2b4d481f3c243f923875f462ec0e1221a81bb05d /src/glsl/link_uniform_blocks.cpp | |
parent | cc42717b50bd46c82ac7925c397cd105ac82d091 (diff) | |
download | external_mesa3d-25a66568750c5826a077cbf549de92546c5fc6cf.zip external_mesa3d-25a66568750c5826a077cbf549de92546c5fc6cf.tar.gz external_mesa3d-25a66568750c5826a077cbf549de92546c5fc6cf.tar.bz2 |
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 <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76323
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Cc: github@socker.lepus.uberspace.de
Diffstat (limited to 'src/glsl/link_uniform_blocks.cpp')
0 files changed, 0 insertions, 0 deletions