[Bug 96420] GLES3 doesn't respect gl_PointSize
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 8 06:18:09 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=96420
--- Comment #3 from Kenneth Graunke <kenneth at whitecape.org> ---
Created attachment 124401
--> https://bugs.freedesktop.org/attachment.cgi?id=124401&action=edit
Patch to make the demo explicitly create an ES 3.0 context.
I compiled the demo with the following command:
$ g++ -lGLESv2 -lglfw -Wall -g cpp-tutorial-4-gles3-pointcloud.cpp
and indeed saw that the vertex shader's gl_PointSize output was being ignored.
However, when I looked into it, I was surprised to see that the demo was
actually using a legacy OpenGL context! Then, the behavior makes sense -
OpenGL defaults to using point size from API state, not the shader output.
I patched the demo to make it explicitly create an ES 3.0 context, and then it
appears to work correctly. See the attached patch and images.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160608/649621da/attachment.html>
More information about the intel-3d-bugs
mailing list