[Mesa-dev] [Bug 97231] GL_DEPTH_CLAMP doesn't clamp to the far plane

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 13 01:48:26 UTC 2016


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

--- Comment #21 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(In reply to Roland Scheidegger from comment #20)
> That said, it doesn't do the abs part. Is that really required?

I think the abs was an attempt to avoid the swap

> And don't you need the zmin/zmax swap part too without clip_halfz?

I arrived at a similar conclusion -- seems easier to just avoid cleverness. See
my patch at

https://patchwork.freedesktop.org/patch/104977/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160813/29964d41/attachment.html>


More information about the mesa-dev mailing list