[Mesa-dev] [Bug 47607] [advocacy] Make Anomaly Warzone Earth work with Mesa

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 28 09:45:13 PDT 2013


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

--- Comment #7 from Alexander Monakov <amonakov at gmail.com> ---
Created attachment 77166
  --> https://bugs.freedesktop.org/attachment.cgi?id=77166&action=edit
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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130328/bb74bfa2/attachment.html>


More information about the mesa-dev mailing list