http://bugs.freedesktop.org/show_bug.cgi?id=27265





--- Comment #3 from Brian Paul <brian.e.p...@gmail.com>  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.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to