commit | 47c358233d45747def3b796c37ae92df86860141 | [log] [tgz] |
---|---|---|
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | Thu Jul 09 15:36:54 2020 -0400 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Oct 13 12:13:18 2020 +0000 |
tree | 6ae7df65802b30dfea8a4e81c5a08637e8c3e528 | |
parent | ef0babab38d4efff124547f37e5aeed058638969 [diff] |
glsl: fix up location setting for variables pointing to a UBO's base while linking uniforms, we might get a variable which is the only reference to the ubo (i.e., offset 0), as determined by its type being the UBO's interface_type, at which point we can assign the previously-gotten block index to this variable's location Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5831>