Re: texture corruption on radeon M7...
> > > > Still looking at small test program.. but changing the GL_QUADS to two > GL_TRIANGLES seems to solve the problems.. mayve the M7 has some > degnerating problems.. Or maybe it doesn't support HW quads as ajax pointed out, and the sw quads have some problems.. Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: texture corruption on radeon M7...
> > As long as the texcoords at all four corners are being translated the same > amount, I wouldn't expect any differences in interpolation along the shared > edge for the two triangles. > > If you've got a simple test program, perhaps some of us can test w/ different > hardware. > Still looking at small test program.. but changing the GL_QUADS to two GL_TRIANGLES seems to solve the problems.. mayve the M7 has some degnerating problems.. Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: texture corruption on radeon M7...
Dave Airlie wrote: If you take a look at http://www.skynet.ie/~airlied/butns.png you'll see the same texture being drawn in two places, however the second one is corrupt along the triangle join line... the only difference between the two is the glTranslate called before them moves the centre point to a different place.. my co-ordinate system is (-0.5->0.5), on an 800x600 screen. I'm starting to wonder do I need to change to a 0..800 coordinate and use the 0.375 rule.. as far as I can see applying a 1.0/800 * 0.375 adjust fixes some cases but breaks others.. any ideas where I'm going wrong? the Mesa SW renderer seems to get it correct.. am I looking at a chip bug? As long as the texcoords at all four corners are being translated the same amount, I wouldn't expect any differences in interpolation along the shared edge for the two triangles. If you've got a simple test program, perhaps some of us can test w/ different hardware. -Brian --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
texture corruption on radeon M7...
If you take a look at http://www.skynet.ie/~airlied/butns.png you'll see the same texture being drawn in two places, however the second one is corrupt along the triangle join line... the only difference between the two is the glTranslate called before them moves the centre point to a different place.. my co-ordinate system is (-0.5->0.5), on an 800x600 screen. I'm starting to wonder do I need to change to a 0..800 coordinate and use the 0.375 rule.. as far as I can see applying a 1.0/800 * 0.375 adjust fixes some cases but breaks others.. any ideas where I'm going wrong? the Mesa SW renderer seems to get it correct.. am I looking at a chip bug? Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel