<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [HSW] DOTA world lighting has no effect"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76749#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [HSW] DOTA world lighting has no effect"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76749">bug 76749</a>
              from <span class="vcard"><a class="email" href="mailto:olvaffe@gmail.com" title="Chia-I Wu <olvaffe@gmail.com>"> <span class="fn">Chia-I Wu</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=76749#c4">comment #4</a>)
<span class="quote">> Moved to HSW.  Noticed another rendering issue introduced by

> commit 9cd51bb0c4608258199c69bc7738e72f055799d2
> Author: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
> Date:   Tue Mar 11 13:16:37 2014 -0700

>     i965/vec4: Eliminate writes that are never read.

> It does not seem to be related to this bug either.

> But I can confirm that the deferred_simple_light shader is the source of the
> bug.  I had a look at the FS part of the shader.  The lighting effect can be
> observed when I replaced "oT1", which is the varying for the light direction
> AFAICT, by a fixed value.  It is possible that the VS part is miscompiled,
> giving FS wrong light direction.  I will dig more tomorrow.</span >
It looks like the vertex shader is miscompiled.  I was deciphering the vertex
shader by giving variables meaningful names instead of (re)using r0, r1, r2 for
all kinds of different purposes, and suddenly the lighting is correctly
rendered.  Could be a bug in the VS instruction scheduler or somewhere else.</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>