[Mesa-dev] [Bug 42930] [r300g, bisected] EVE online only shows black screen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 15 11:19:51 PST 2011


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

--- Comment #5 from Marek Olšák <maraeo at gmail.com> 2011-11-15 11:19:51 PST ---
The r300 compiler looks for the constants which are used and allocates new
locations for them.

For example this:

DCL CONST[0..2000]
  0: MAD OUT[0], CONST[3], CONST[550], CONST[1300]
  1: END

is transformed into:

DCL CONST[0..2]
  0: MAD OUT[0], CONST[0], CONST[1], CONST[2]
  1: END

and a table for the new mapping is created:

0 -> 3
1 -> 550
2 -> 1300

which is used when uploading constants. This optimization is disabled if there
is indirect addressing to the constant file.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list