<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - "invariant" qualifier on outputs of GLSL ES fragment shader causes compilation error."
href="https://bugs.freedesktop.org/show_bug.cgi?id=107842#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - "invariant" qualifier on outputs of GLSL ES fragment shader causes compilation error."
href="https://bugs.freedesktop.org/show_bug.cgi?id=107842">bug 107842</a>
from <span class="vcard"><a class="email" href="mailto:sergii.romantsov@globallogic.com" title="Sergii Romantsov <sergii.romantsov@globallogic.com>"> <span class="fn">Sergii Romantsov</span></a>
</span></b>
<pre>Piglit-test:
commit 41b01e6b8c4a8e4c8949a13743125458100ff152
Author: Danylo Piliaiev <<a href="mailto:danylo.piliaiev@gmail.com">danylo.piliaiev@gmail.com</a>>
Date: Thu Jan 10 12:13:52 2019 +0200
Test that ES frag shader with invariant outputs compiles
In all GLSL ES versions output variables in fragment shader are allowed
to be invariant.
From Section 4.6.1 ("The Invariant Qualifier") GLSL ES 1.00 spec:
"Only the following variables may be declared as invariant:
...
- Built-in special variables output from the fragment shader."
From Section 4.6.1 ("The Invariant Qualifier") GLSL ES 3.00 spec:
"Only variables output from a shader can be candidates for invariance."
v2: moved new tests to tests/spec/glsl-es folders
Signed-off-by: Danylo Piliaiev <<a href="mailto:danylo.piliaiev@globallogic.com">danylo.piliaiev@globallogic.com</a>>
Reviewed-by: Timothy Arceri <<a href="mailto:tarceri@itsqueeze.com">tarceri@itsqueeze.com</a>>
Bugzilla: <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - "invariant" qualifier on outputs of GLSL ES fragment shader causes compilation error."
href="show_bug.cgi?id=107842">https://bugs.freedesktop.org/show_bug.cgi?id=107842</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>