Created attachment 81647 [details]
Dump with R600_DEBUG=ps,vs,fs
The WebGL demo http://madebyevan.com/webgl-water/ crashes r600g with LLVM
enabled:
firefox: /home/greg/build/llvm-3.3.src/include/llvm/CodeGen/MachineInstr.h:272:
llvm::MachineOperand& llvm::MachineInstr::getOperand(unsigned int): Assertion
`i < getNumOperands() && "getOperand() out of range!"' failed.
Stack dump:
0. Running pass 'Function Pass Manager' on module 'tgsi'.
1. Running pass 'R600 Emit Clause Markers Pass' on function '@main'
Aborted (core dumped)
This happens both with LLVM 3.3 and latest code from SVN. I tried to dump a
detailed log, but it actually crashes in a different place when dumping the
shaders - might be related though. Log is attached.