http://bugs.freedesktop.org/show_bug.cgi?id=27265
--- Comment #3 from Brian Paul <bri...@gm...> 2010-03-23 09:19:23 PST ---
Created an attachment (id=34368)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34368)
do varying var allocation upon usage to use fewer regs
The fragment shader is trying to read a varying var that's never written to (or
declared in) the vertex shader. So that's an error.
I modified the fragment shader accordingly and found the link still failed
because of too many varying vars. However, a lot of varying vars are declared
but not actually used in the shader.
The following patch avoids allocating a register slot for varyings that aren't
used. With this patch, the test works. Want to give it a try? I've only
lightly tested it so far.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
|