Skip to content
Snippets Groups Projects
Commit 9bcb0a85 authored by Anuj Phogat's avatar Anuj Phogat
Browse files

glsl: Apply the link error conditions to GL_ARB_fragment_coord_conventions


Link error conditions added in previous patch are equally applicable
to GL_ARB_fragment_coord_conventions implementation. Extension's spec
says:
   "If gl_FragCoord is redeclared in any fragment shader in a program,
    it must be redeclared in all the fragment shaders in that program
    that have a static use of gl_FragCoord. All redeclarations of
    gl_FragCoord in all fragment shaders in a single program must have
    the same set of qualifiers."

Signed-off-by: default avatarAnuj Phogat <anuj.phogat@gmail.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
parent 35f11e85
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment