[Bug 93546] Civilization 5 - Leaders in the diplomatic interactions screen appear completely black

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 5 on bug 93546 from
Thanks Nicolai. I've been able to produce a trace file but it is huge and the
replay gives some weird geometry rendering. However I've been able to get to
the point where the character is drawn. The geometry is still incorrect but at
least the pixels are black like during the live run of the game. It allowed me
to perform step-by-step debugging into the r600 Mesa code after I rebuilt it
from source with debugging options.

The TGSI program looks a bit different than when I output it with the
environment variable but I get the same error than with the original mesa
libraries released with Ubuntu.

What it looks like is that the temporary variables of the TGSI program are
nearly directly mapped to registers, but the rv770 "only" have 128 registers.
The TGSI program I dumped uses nearly 400 temporary variables. This might
explain the error.

Maybe some registers could be reused to keep below the limit? I've been
browsing a bit about this kind of problem and it seems to be a typical
computer-science compilation problem. A recurring solution I've read about is a
graph coloring algorithm. However I do not know where any of the register
allocation optimization should occur. In the r600 code or when the TGSI program
is generated so all GPU specific code could benefit of it? In any case it looks
like a tough problem.


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux