Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=4499          
     
           Summary: radeon: texture rectangle should not cause a tcl
                    fallback
           Product: Mesa
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Drivers/DRI/Radeon
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


Currently, the use of a texture rectangle causese a tcl fallback, which is not
necessary. In fact, there are 2 easy ways to avoid it:
1) do the texcoord translation on the fly when copying the vertices - this would
work for sw tnl and hw tnl just the same. In fact, I consider the current
solution with its own texrect stage overkill, we need to copy the coords twice
for no good reason, since the coord translation is fixed we should probably just
do it when uploading. I think though texgen would be broken with that solution
for hw tcl. So...
2) the better solution would probably be to just use the texture matrix for the
coord translation (if it's already active, fix it up, otherwise enable it).
Obviously this only works if hw tcl is active, though just fixing the coords up
when uploading may in fact be faster (not sure, does using the texture matrix
even come with a performance hit at all?). This solution should work for texgen
too I suppose however.

btw note that the current solution does not do projective texturing at all for
some reason, as the q coord is simply ignored. Should be easy to fix though...  
        
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to