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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 4 12:20:18 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=57842

--- Comment #1 from Roland Scheidegger <sroland at vmware.com> ---
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
radeon->vtbl.update_viewport_offset but that one seems to have no callers
neither). This function would not take the y flip into account but since it
isn't used... I'd just get rid of it but it's the only thing handling stippling
that probably needs to move somewhere else.
Also, both r200UpdateViewportOffset() and r200UpdateWindow() use the
driDrawable height for the yoffset in the viewport. I don't think that will
work for fbos, should just use the ctx->DrawBuffer height instead?
I can't see though why that would just cause failures with culling.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121204/ca254407/attachment.html>


More information about the dri-devel mailing list