https://bugs.freedesktop.org/show_bug.cgi?id=96765

--- Comment #8 from Ilia Mirkin <imir...@alum.mit.edu> ---
https://patchwork.freedesktop.org/patch/97464/

This patch should also fix it for the [0] names. I chose to implement it as a
fallback thing, so if you have foo and foo[0] set, foo will always get picked,
no matter which was set first.

If I stripped the [0]'s at bind time, one might run into the issue of a

out vec4 foo;

shader (which, as the spec says, can be added after the binding is done on the
program), and someone doing a bind on both foo and foo[0], and it'd be awkward
for the foo[0] to win out in that case.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to