[Nouveau] [Bug 91551] DXTn compressed normal maps produce severe artifacts on all NV5x and NVDx chipsets
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Sep 10 01:51:43 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91551
--- Comment #10 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Ah, I suspect the remaining issues are due to the fact that we're encoding
things like
119: mad f32 $r75 $r4 2.000000 $r75 (8)
as
e000092d 04000003 add sat f32 $r11 (mul $r4 0x40000000) $r11
Which... might not be *exactly* the same thing. Unfortunately there *is* no
encoding for that instruction, the nv50 emitter isn't smart enough not to emit
it. Shaders with > 64 regs are sufficiently rare :(
I guess we need to add a post-RA fixup to load these immediates for
non-encodable instructions. Of course the question is *where* to load it...
ugh. Could try to reserve a special register at RA time for it...
--
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/20150910/6fd4a840/attachment.html>
More information about the Nouveau
mailing list