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

           Summary: r300: Vertex program has problems with more than 7
                    inputs
           Product: Mesa
           Version: CVS
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=15739)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=15739)
progs/vp-tris patch, to get examples working

Looks like vertex program has some problems with more than 7 inputs. The
following vp gives just some random garbage (with patched vp-tris, see
attachment)

!!ARBvp1.0
MOV  result.position, vertex.position;
MOV  result.color.primary, vertex.color.primary;
MOV  result.color.secondary, vertex.color.secondary;
MOV  result.texcoord[0], vertex.texcoord[0];
MOV  result.texcoord[1], vertex.texcoord[1];
MOV  result.texcoord[2], vertex.texcoord[2];
MOV  result.texcoord[3], vertex.texcoord[3];
MOV  result.color, vertex.texcoord[4];
END

But this one works fine (one big yellow triangle)

!!ARBvp1.0
MOV  result.position, vertex.position;
MOV  result.color.primary, vertex.color.primary;
MOV  result.color.secondary, vertex.color.secondary;
MOV  result.texcoord[0], vertex.texcoord[1];
MOV  result.texcoord[1], vertex.texcoord[1];
MOV  result.texcoord[2], vertex.texcoord[2];
MOV  result.texcoord[3], vertex.texcoord[3];
MOV  result.color, vertex.texcoord[4];
END

I looked at the aos stuff, input route, input cntl but everything looks fine.
According to the r500 doc (5.2.3.9) 3D_LOAD_VBPNTR, accepts 12 inputs, so it
doesn't look like a hw limitation. Strange is VAP_VTX_AOS_ADDR has a limit of
16 inputs?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to