https://bugs.freedesktop.org/show_bug.cgi?id=29823
--- Comment #1 from Brian Paul <bri...@vmware.com> 2010-08-27 08:03:00 PDT --- All GLSL data is stored in float[4] vectors. We try to pack individual floats into these vectors but we can't do that for arrays. So a GLSL array of K floats array really occupies K float[4] vectors. So in this case a GLSL float[4] array occupies four float[4] vectors which totals 16 (0x10) floats. The get_uniform_rows_cols() function isn't correctly figuring this out. I'm attaching a patch/hack to work around this. Let me know if it helps. Have you tested with Mesa git/master with the new GLSL compiler? -- 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