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

--- Comment #4 from Corentin Wallez <[email protected]> ---
The bug indicates that "array" and "array[0]" are identical so I'd assume that
the binding done last takes precedence. I'm not sure about AofA, or if it's
even allowed for fragment outputs.

Here's the relevant bit from the bug where a parallel with
ARB_program_interface_query is made:

> I think my recommendation would be to adopt language similar to that for 
> GetProgramResourceIndex(), allowing you to drop the "[0]" but not to address 
> individual elements.  I don't think we want you to be able to assign 
> "array[0]" to location 3 and "array[1]" to location 5, for example.

I also tried the changes you mentioned in Comment 1, while it fixes the values
queried back from the driver, the triangle is still not being shown. Only
making FragColor and SecondaryFragColor to be non-array floats make the
triangle appear.

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

Reply via email to