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

--- Comment #4 from Ian Romanick <i...@freedesktop.org> 2011-11-15 10:49:37 PST 
---
(In reply to comment #3)
> Please Ian, can we not report a failure when the max number of uniform
> components is exceeded? The r300 compiler can do some elimination of unused
> constants. This is especially useful with Wine, which sometimes declares
> unnecessarily large arrays, but doesn't use it all.

Not and be a valid GLSL implementation.  The spec is quite clear that we *MUST*
report an error in this condition.  What is happening in the r300 compiler to
eliminate these arrays?  Can this optimization happen at a higher level?  Do we
have samples of these shaders?

-- 
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