<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [advocacy] Make Anomaly Warzone Earth work with Mesa"
href="https://bugs.freedesktop.org/show_bug.cgi?id=47607#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [advocacy] Make Anomaly Warzone Earth work with Mesa"
href="https://bugs.freedesktop.org/show_bug.cgi?id=47607">bug 47607</a>
from <span class="vcard"><a class="email" href="mailto:amonakov@gmail.com" title="Alexander Monakov <amonakov@gmail.com>"> <span class="fn">Alexander Monakov</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=77166" name="attach_77166" title="LD_PRELOAD hack to renumber uniform locations in a dense manner">attachment 77166</a> <a href="attachment.cgi?id=77166&action=edit" title="LD_PRELOAD hack to renumber uniform locations in a dense manner">[details]</a></span>
LD_PRELOAD hack to renumber uniform locations in a dense manner
To follow up to my previous comment, attaching a quick'n'dirty LD_PRELOAD
interposer that avoids exposing uniform locations such as 655360 to the game.
With this, the game doesn't segfault, but I think I'm getting rendering errors
in map view (IVB, Mesa-9.0).
(if anyone wants to try: compile command is at the first line of the .cpp file,
to use: export LD_PRELOAD=/path/to/compiled/anomalyhack.so
./AnomalyWarzoneEarth)</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>