[Bug 76749] [HSW] DOTA world lighting has no effect

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 1 21:58:44 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76749

--- Comment #9 from Chia-I Wu <olvaffe at gmail.com> ---
(In reply to comment #4)
> Moved to HSW.  Noticed another rendering issue introduced by
> 
> commit 9cd51bb0c4608258199c69bc7738e72f055799d2
> Author: Matt Turner <mattst88 at gmail.com>
> 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.
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140402/3de4bdc9/attachment.html>


More information about the intel-3d-bugs mailing list