<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 is not valid for shader inputs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96971#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - invariant qualifier is not valid for shader inputs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96971">bug 96971</a>
              from <span class="vcard"><a class="email" href="mailto:qiankun.miao@intel.com" title="Qiankun Miao <qiankun.miao@intel.com>"> <span class="fn">Qiankun Miao</span></a>
</span></b>
        <pre>(In reply to Kenneth Graunke from <a href="show_bug.cgi?id=96971#c4">comment #4</a>)
<span class="quote">> No.  The wording isn't great, but

> "Only variables output from a shader (including those that are then input to
> a subsequent shader) can be candidates for invariance."

> implies to me that you can only mark outputs as invariant.  This would also
> make it match the GLSL ES 3xx rules.  GLSL ES 3.20 has similar text, but
> also says in the issues section:

> "Do invariance qualifiers for declarations in the vertex and fragment
> shaders need to match?
> Option 1: Only allow invariance declarations on outputs. If a vertex shader
> output is declared as invariant, it implies that the corresponding input to
> the fragment shader is also invariant.
> Option 2: Specify that they must match.
> RESOLUTION: Only allow invariant declarations on outputs."

> The resolution is pretty clear there.  You only get to use 'invariant' on
> outputs with the new rules.

> Are you running into an issue with the new code I implemented?  Or just spec
> reading and wondering if we should have done something else?</span >

I just found some differences between ESSL and GLSL. These differences should
be handled by WebGL since webgl is based on ES 3.0 API, but WebGL also should
run on top of OpenGL driver. WebGL soloved the differences, and run well on
Mesa.</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>