<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - War Thunder game has visual errors, missing textures"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100387#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - War Thunder game has visual errors, missing textures"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100387">bug 100387</a>
from <span class="vcard"><a class="email" href="mailto:Hi-Angel@yandex.ru" title="Hi-Angel <Hi-Angel@yandex.ru>"> <span class="fn">Hi-Angel</span></a>
</span></b>
<pre>Sorry for long time not answering. The error is because one instruction is
using more than 2 cfiles which check_and_set_bank_swizzle() doesn't allow,
though acc. to docs it can handle up to 4 distinct cfiles in a group.
I was trying to fix it be rewriting the bank_swizzle scheduler into smarter
version, but had to abandon it because it turned out to be pointless (the
effeciency is about the same, but more importantly, for some reason r600g have
2 schedulers, and this one simply does validation). FTR, unfinished code is
here <a href="https://github.com/Hi-Angel/mesa/tree/wip-bank_swizzle-scheduler">https://github.com/Hi-Angel/mesa/tree/wip-bank_swizzle-scheduler</a>
I am not sure if I'll have a motivation to look into modifying the current
scheduler, the more that there's some oddness in documentation (you can say
"pun intended" because it is that docs don't allow odd number of distinct
cfiles in a group, however a group with 1 cfile works just fine).
But fixing this bug won't help to the game anyway, because the next problem it
runs into is a very old one of requiring too many GPRs
<a href="https://bugs.freedesktop.org/buglist.cgi?quicksearch=Shader%20GPR%20limit%20exceeded&list_id=619399">https://bugs.freedesktop.org/buglist.cgi?quicksearch=Shader%20GPR%20limit%20exceeded&list_id=619399</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>