<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - [i965] [bisected] [VMware Workstation] 514fd1c commit breaks some Piglit tests in Windows VMs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89293">bug 89293</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;">Resolution</td>
           <td>DUPLICATE
           </td>
           <td>NOTOURBUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - [i965] [bisected] [VMware Workstation] 514fd1c commit breaks some Piglit tests in Windows VMs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89293#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - [i965] [bisected] [VMware Workstation] 514fd1c commit breaks some Piglit tests in Windows VMs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89293">bug 89293</a>
              from <span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span></b>
        <pre>The offending fragment shader in the attached apitrace has the following GLSL
source:

<span class="quote">> #version 150
> #extension GL_ARB_shader_bit_encoding : enable
> #extension GL_ARB_texture_query_levels : enable
> vec4 O[1];
> uniform uint enableGammaDecodes;
> void shader_fn(ivec2 aL);
> out vec4 fragColor0;
> layout(pixel_center_integer) in vec4 gl_FragCoord;
> #define CONVERTOUTPUT0(v) (v)</span >
>
<span class="quote">> void main(){
>    shader_fn(ivec2(0));
>    fragColor0 =CONVERTOUTPUT0(O[0]);
> }</span >
>
<span class="quote">> void shader_fn(ivec2 aL) {
>    O[0] = vec4(1, 0, 0, 1);
> }</span >

As you can see, this only writes to the first color attachment, not all 4.  If
you don't write to one of the color attachments, you get undefined values which
is exactly what you're getting.  The only reason why this worked before the
change was that, due to a fluke in the way the compiler was implemented, the
color from the first write was getting propagated to the other 3.  I don't know
what the code looked like before going through VMWare's shader translator so it
could be a bug there.  However, we are doing the right thing.</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>