[Mesa-dev] [Bug 96853] gl_PrimitiveID is zero when rendering points of size > 1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 11 09:32:09 UTC 2016


--- Comment #5 from denis.fisseler at tu-dortmund.de ---
(In reply to Roland Scheidegger from comment #3) 
> In theory if there already is a user-provided gs (which doesn't output
> points) then the emulation code doesn't really apply. But I don't really
> know this code (other than knowing this is pretty tricky stuff...).

According to my testing, GS with Mesa3d show a kind of strange mixed behavior.
I have a GS, that fakes wide lines by constructing screen aligned quads from
lines. If I use it in VMware with Ubuntu 16.04 LTS and Mesa3d, it does not
construct wide lines, but only lines of width 1. Now if I abort the GS, using a
return statement right at the beginning of the main method and do not output
anything, lines of width 1 are still shown in the viewport. For those lines
however to be colored correctly, I have to output that color from my GS. So it
seems the geometry output part of the GS is somehow overridden, while other
parts of it are not.

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

More information about the mesa-dev mailing list