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

--- Comment #4 from Vladimir Vukicevic <vladi...@pobox.com> 2010-08-27 13:22:05 
PDT ---
Oh hm, just tested it, and it's not quite correct -- for an array of floats, it
will write the entire array, instead of just the 1 component (because u_foo ==
u_foo[0] as far as getUniformLocation is concerned, and getUniform is supposed
to just return the specific array component in that case, not the entire
array).

If I force the rows/cols to 1, then it works for array index [0], but u_foo[1]
returns the same value as u_foo[0].  split_location_offset in
_mesa_get_uniformfv is returning an offset of 1 for u_foo[1], but the function
doesn't use the offset at all it looks like.

(Still working on testing with mesa from git via egl.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to