[Bug 25290] R600: Doesn't correctly handle glFrontFace(GL_CW)

2009-12-21 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=25290


Rafael Monica monr...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #4 from Rafael Monica monr...@gmail.com  2009-12-21 07:26:06 PST 
---
fixed in master


-- 
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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 25290] R600: Doesn't correctly handle glFrontFace(GL_CW)

2009-12-20 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=25290





--- Comment #3 from Rafael Monica monr...@gmail.com  2009-12-20 08:49:05 PST 
---
I think I found the problem. The hardware already makes the right decision
based on the FACE_bit. This code in r700UpdatePolygonMode actually reverses it
when using clockwise winding:

if (ctx-Polygon.FrontFace == GL_CCW) {
f = ctx-Polygon.FrontMode;
b = ctx-Polygon.BackMode;
} else {
f = ctx-Polygon.BackMode;
b = ctx-Polygon.FrontMode;
}


Changing it to:

f = ctx-Polygon.FrontMode;
b = ctx-Polygon.BackMode;

seems to fix it and render everything correctly.


-- 
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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 25290] R600: Doesn't correctly handle glFrontFace(GL_CW)

2009-12-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=25290





--- Comment #1 from Alex Deucher ag...@yahoo.com  2009-12-01 12:47:50 PST ---
Created an attachment (id=31633)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=31633)
select proper front/back face in polygon mode

This patch seems to fix the issue here.


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

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 25290] R600: Doesn't correctly handle glFrontFace(GL_CW)

2009-12-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=25290





--- Comment #2 from monraaf monr...@gmail.com  2009-12-01 13:54:10 PST ---
Hmm, with the patch the test program runs correctly, but if I comment out
glFrontFace(GL_CW) in the test program, the situation is reversed. It will
render a solid triangle while the software renderer renders an outline
triangle.


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

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel