[Bug 57842] r200: Culling is broken when rendering to an FBO

2013-01-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 Alex Deucher changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 57842] r200: Culling is broken when rendering to an FBO

2013-01-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #16 from Stefan D?singer --- Commit it to Git and use git send-email to send it to mesa-dev at lists.freedesktop.org . Google finds many tutorials on how to do this. -- You are receiving this mail because: You are the assignee for

[Bug 57842] r200: Culling is broken when rendering to an FBO

2013-01-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 Alex Deucher changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 57842] r200: Culling is broken when rendering to an FBO

2013-01-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #16 from Stefan Dösinger --- Commit it to Git and use git send-email to send it to mesa-...@lists.freedesktop.org . Google finds many tutorials on how to do this. -- You are receiving this mail because: You are the assignee for the

[Bug 57842] r200: Culling is broken when rendering to an FBO

2013-01-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #15 from smoki --- Feel free to send it Stefan. Shame on me :( i don't know how to make proper mesa patch nor how to send it :(. -- You are receiving this mail because: You are the assignee for the bug. -- next part --

[Bug 57842] r200: Culling is broken when rendering to an FBO

2013-01-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #14 from Stefan D?singer --- The patch fixes the culling issues in the dx8 d3d samples as well. Smoki, can you mail the patch to the mesa-dev list? I could do it as well, but usually it's better if the author does this. -- You are

[Bug 57842] r200: Culling is broken when rendering to an FBO

2013-01-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #15 from smoki --- Feel free to send it Stefan. Shame on me :( i don't know how to make proper mesa patch nor how to send it :(. -- You are receiving this mail because: You are the assignee for the bug. ___

[Bug 57842] r200: Culling is broken when rendering to an FBO

2013-01-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #14 from Stefan Dösinger --- The patch fixes the culling issues in the dx8 d3d samples as well. Smoki, can you mail the patch to the mesa-dev list? I could do it as well, but usually it's better if the author does this. -- You are

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #13 from Roland Scheidegger --- (In reply to comment #11) > Created attachment 72051 [details] [review] > attachment 72047 [details] as patch for r200/radeon > > @comment 9: your own attachment says it was not. > Anyway, attachment 7

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #13 from Roland Scheidegger --- (In reply to comment #11) > Created attachment 72051 [details] [review] > attachment 72047 [details] as patch for r200/radeon > > @comment 9: your own attachment says it was not. > Anyway, attachment 7

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #12 from smoki --- Yeah i tried your patch and it works, thanks Raphal. Someone could pushed it in git if it's in good looking now ;). -- You are receiving this mail because: You are the assignee for the bug. -- next p

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #11 from Rafa? Mu?y?o --- Created attachment 72051 --> https://bugs.freedesktop.org/attachment.cgi?id=72051&action=edit attachment 72047 as patch for r200/radeon @comment 9: your own attachment says it was not. Anyway, attachment 7

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 smoki changed: What|Removed |Added Attachment #72050|text/plain |image/png mime type|

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #10 from smoki --- Created attachment 72050 --> https://bugs.freedesktop.org/attachment.cgi?id=72050&action=edit STK minimap icon He, he, i'am not programmer at all ;) but i managed to fix fogcoords, lighting and culling on rv280

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #9 from smoki --- That D?nzer's commit is good, it inverts winding properly and it works good but for swtcl only. My tries to make it work but for both swtcl and tcl, and for Stefan's test case also. And it works for me both swtcl

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #8 from Rafa? Mu?y?o --- ...minor correction: that r300 was for the non-galium driver (that was removed awhile ago), but it seems that the logic in that commit was incorrect, so the "hack" from that attachement seems to be a logic fix

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #7 from Rafa? Mu?y?o --- Perhaps the message in this commit (http://cgit.freedesktop.org/mesa/mesa/commit/src/mesa/drivers/dri/r200/r200_state.c?id=60e60bb3026a269fefe1cfd3312fdf3a7e4c595f) is of note: Tested with r300, radeon and r2

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #6 from Stefan D?singer --- I'll give the patch a try after the holidays. My I'm currently 100 miles away from my r200-equipped laptop and won't have access to it until Wednesday or Thursday. -- You are receiving this mail because:

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #5 from smoki --- Created attachment 72047 --> https://bugs.freedesktop.org/attachment.cgi?id=72047&action=edit Myr200FrontFace Seems like i managed to fix it, but with dirty hack... see function in attachment. tcl somehow is not

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #12 from smoki --- Yeah i tried your patch and it works, thanks Raphal. Someone could pushed it in git if it's in good looking now ;). -- You are receiving this mail because: You are the assignee for the bug. _

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #11 from Rafał Mużyło --- Created attachment 72051 --> https://bugs.freedesktop.org/attachment.cgi?id=72051&action=edit attachment 72047 as patch for r200/radeon @comment 9: your own attachment says it was not. Anyway, attachment 7

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 smoki changed: What|Removed |Added Attachment #72050|text/plain |image/png mime type|

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #10 from smoki --- Created attachment 72050 --> https://bugs.freedesktop.org/attachment.cgi?id=72050&action=edit STK minimap icon He, he, i'am not programmer at all ;) but i managed to fix fogcoords, lighting and culling on rv280

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #9 from smoki --- That Dänzer's commit is good, it inverts winding properly and it works good but for swtcl only. My tries to make it work but for both swtcl and tcl, and for Stefan's test case also. And it works for me both swtcl

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #8 from Rafał Mużyło --- ...minor correction: that r300 was for the non-galium driver (that was removed awhile ago), but it seems that the logic in that commit was incorrect, so the "hack" from that attachement seems to be a logic fix

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #7 from Rafał Mużyło --- Perhaps the message in this commit (http://cgit.freedesktop.org/mesa/mesa/commit/src/mesa/drivers/dri/r200/r200_state.c?id=60e60bb3026a269fefe1cfd3312fdf3a7e4c595f) is of note: Tested with r300, radeon and r2

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #6 from Stefan Dösinger --- I'll give the patch a try after the holidays. My I'm currently 100 miles away from my r200-equipped laptop and won't have access to it until Wednesday or Thursday. -- You are receiving this mail because:

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #5 from smoki --- Created attachment 72047 --> https://bugs.freedesktop.org/attachment.cgi?id=72047&action=edit Myr200FrontFace Seems like i managed to fix it, but with dirty hack... see function in attachment. tcl somehow is not

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #4 from Stefan D?singer --- (In reply to comment #3) > Clipping is still broken. Sorry, this should read "culling is still broken". -- You are receiving this mail because: You are the assignee for the bug. -- next part -

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #3 from Stefan D?singer --- Created attachment 71022 --> https://bugs.freedesktop.org/attachment.cgi?id=71022&action=edit Fix for attachment 71014 The patch needed this small fix to compile. It seems that my gcc doesn't like logica

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #4 from Stefan Dösinger --- (In reply to comment #3) > Clipping is still broken. Sorry, this should read "culling is still broken". -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #3 from Stefan Dösinger --- Created attachment 71022 --> https://bugs.freedesktop.org/attachment.cgi?id=71022&action=edit Fix for attachment 71014 The patch needed this small fix to compile. It seems that my gcc doesn't like logica

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #2 from Roland Scheidegger --- Created attachment 71014 --> https://bugs.freedesktop.org/attachment.cgi?id=71014&action=edit potential fixes for viewport trouble I had something like this in mind. Untested though and all that viewp

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #1 from Roland Scheidegger --- Hmm this is odd I can't see anything wrong with the culling setup wrt fbos. The viewport, window handling though seems somewhat bogus. First, r200UpdateViewportOffset() has no callers (it is used in rade

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #2 from Roland Scheidegger --- Created attachment 71014 --> https://bugs.freedesktop.org/attachment.cgi?id=71014&action=edit potential fixes for viewport trouble I had something like this in mind. Untested though and all that viewp

[Bug 57842] r200: Culling is broken when rendering to an FBO

2012-12-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57842 --- Comment #1 from Roland Scheidegger --- Hmm this is odd I can't see anything wrong with the culling setup wrt fbos. The viewport, window handling though seems somewhat bogus. First, r200UpdateViewportOffset() has no callers (it is used in rade