https://bugs.freedesktop.org/show_bug.cgi?id=42930
--- Comment #7 from José Fonseca <[email protected]> 2011-11-15 11:29:15 PST --- IMO, MAX_xxx_UNIFORMS should be checked against the number of active uniforms, and not all those declared. Otherwise it would be limiting beyond the capabilities of the cards. And if the r300 compiler optimized that uniform away, it means it effectively is not active, even if the GLSL linker thinks so. So, IMO, either the GLSL compiler does the optimization, or it grows the ability to query how many uniforms are actually active in the driver. But hopefully it shouldn't be hard to make the optimization in the GLSL, and therefore avoid backward notificiation calls. -- 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
