[Mesa-dev] [Bug 80183] [llvmpipe] triangles with vertices that map to raster positions > viewport width/height are not displayed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 8 10:01:04 PDT 2014


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

--- Comment #7 from Roland Scheidegger <sroland at vmware.com> ---
(In reply to comment #2)
> I found out that the problem is the line:
> 
> gl_ClipVertex = gl_ModelViewMatrix * gl_Vertex;
> 
> in the fragment shader. If I remove that line, it works as expected.
> 
> Since the rendering is ok on ATI/NVidia and on softpipe, I suspect that
> gl_ClipVertex support is broken in LLVM pipe.

Actually I suspect gl_ClipVertex is mostly ok, but you're writing garbage to it
and relying on the fact that user plane clipping is disabled so the output
isn't actually used. Or something like that. This is where we failed (using the
clipvertex output for ordinary clipping even if user plane clipping is
disabled). Patch coming...

-- 
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/mesa-dev/attachments/20140808/2da6fa31/attachment.html>


More information about the mesa-dev mailing list