[Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 26 19:56:16 UTC 2016


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

Nicolai Hähnle <nhaehnle at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTOURBUG
             Status|NEW                         |RESOLVED

--- Comment #8 from Nicolai Hähnle <nhaehnle at gmail.com> ---
I believe that this is a game bug.

Some of the black objects are rendered in draw calls between 526669 and 526714
of the provided trace. They're using program 2823, which contains fragment
shader 2811, which uses a shadow sampling instruction on sampler 15, but the
texture bound to texture 15 is a 1x1 GL_SRGB texture.

The GLSL 4.50 spec in the section on Texture Functions says: "If a shadow
texture call is made to a sampler that does not represent a depth texture, then
results are undefined." -- that is, the game is invoking undefined behaviour,
hence this is not our bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160726/d6632b0d/attachment.html>


More information about the dri-devel mailing list