<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Distorted output in obs-studio where other vendors "work""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79783">bug 79783</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>idr@freedesktop.org
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Distorted output in obs-studio where other vendors "work""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79783#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Distorted output in obs-studio where other vendors "work""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79783">bug 79783</a>
              from <span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span></b>
        <pre>apitrace dump-images shows that misrendering happens on the very first draw
call (#55762 in the trace).  The misrendering looks like a texture coordinate
problem: the correct image (in the upper right quadrant) is upside-down, and
the edge pixels are extended infinitely (due to GL_CLAMP_TO_EDGE).

INTEL_DEBUG=vs shows that the vertex shader outputs are being qualified as
"flat", even though the "flat" keyword never appears in the shader source code.

I believe this is a bug in our separate shader objects (SSO) implementation. 
I've observed that link_varyings.cpp:809 is kicking in, marking outputs as flat
because they aren't "being consumed by the fragment shader".  Indeed,
consumer_var is NULL in all cases.

CC'ing Ian.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>