[Nouveau] [Bug 91247] Tomb Raider: Underworld renders lots of artefacts on models and objects

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 6 10:22:45 PDT 2015


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

--- Comment #1 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Early analysis makes it seem like the issue is with face culling or depth
tests. The colors you see on the model are the background color on which the
model is drawn (Or not drawn, as the case might be.) Both depth test and
front-face culling are enabled.

The frag shaders being used to draw it are *crazy* long, they're all like

if (bool) { bunch o' code }
if (other bool) { bunch o' code }
if (third bool) { bunch o' code }

and so on. I guess they were written with the assumption that the programs
would be compiled with the bools known ahead of time and only have one or two
of the bunches o' code. Oh well. But they're generally simple... Could still be
an error in the frag shaders though, should try replacing them with just
writing a solid color. Hopefully qapitrace makes that possible.

This issue reproduces on both nvc0 and nv50.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20150706/a73993e4/attachment-0001.html>


More information about the Nouveau mailing list