http://bugs.winehq.org/show_bug.cgi?id=17437
--- Comment #19 from hpestilence hpestilence@gmail.com 2009-02-23 17:31:47 --- Created an attachment (id=19623) --> (http://bugs.winehq.org/attachment.cgi?id=19623) atihd4850glcaps
I've been experimenting with my hd4850 and found the numbers so far that seems to still compile shaders and be stable. The patch is just to show what works with my card.
The Apocrypha not showing models issue is due to using vec4's > 225 (I think that's the number after setting max_fragment/vertex_uniform_components to 1024). The highest vec4 number I've seen on an Aprocrypha shader is 245 so far. I think only the highest end nvidia cards will be unaffected. Use glxinfo -l to check your numbers.
Also my guess is I don't think the ati driver is returning the wrong number of supported uniform components, they seem to be focused on supporting the lowest number the opengl specs require. GLSL 1.3 needs 1024 which is why I think that number works. This seems to be related to the unified scalar architecture change since the hd2**0 cards as the that series up to the current hd4**0 cards all return a value of 512. AMD needs to release updated opengl documentation/examples for these cards.