Amnesia shader compiler errors on RV350
Submitted by Scott Moreau
Assigned to Default DRI bug account
Created attachment 71005 side-by-side comparison
Running the game Amnesia with minimal graphics settings and resolution causes the following error:
r300 FP: Compiler Error: Too many hardware temporaries used. Using a dummy shader instead.
With all graphics settings highest, this message is output additionally:
r300 FP: Compiler Error: compiler/r300_fragprog_emit.c::emit_alu(): Too many ALU instructions
Here is some additional information:
Distro: Xubuntu 12.04 32bit Kernel: 3.5.0-18-generic Mesa: ec83535c libtxc_dxtn.so installed
The game runs but most of the textures are black, except light sources such as the torches and windows. On Intel Sandybridge, the textures render correctly. I've attached an image to demonstrate the difference. The left is i965, the right is r300g. On intel, there are no errors output.