[Bug 83380] Linking fails when not writing gl_Position.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 3 06:52:12 PDT 2014


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

--- Comment #6 from kalyank <kondapallykalyancontribute at gmail.com> ---
Thanks for the feedback Ian and Tapani.

Ya, Spec ES 1.0 spec (1, 2) Section 7.1 says "The variable gl_Position is
available only in the vertex language and is intended for writing the
homogeneous vertex position. All executions of a well-formed vertex shader
should write a value into
this variable. It can be written at any time during shader execution. It may
also be read back by the
shader after being written. This value will be used by primitive assembly,
clipping, culling, and other
fixed functionality operations that operate on primitives after vertex
processing has occurred. Compilers
may generate a diagnostic message if they detect gl_Position is not written, or
read before being written,
but not all such cases are detectable. The value of gl_Position is undefined if
a vertex shader is executed
and does not write gl_Position.
The variable gl_PointSize is available only in the vertex language and is
intended for a vertex shader to
write the size of the point to be rasterized. It is measured in pixels.
"

1) http://www.khronos.org/files/opengles_shading_language.pdf
2)https://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.14.pdf

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140903/8f225fe8/attachment.html>


More information about the intel-3d-bugs mailing list