Skip to content

glsl: fix up location setting for variables pointing to a UBO's base

Mike Blumenkrantz requested to merge zmike/mesa:uniform-locations into master

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

this is a fixup for a missed case in !4050 (merged)

Merge request reports

Loading