From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 66331] New: WebGL water demo crashes LLVM
Date: Fri, 28 Jun 2013 16:18:55 +0000
Message-ID:
Priority
medium
Bug ID
66331
Assignee
dri-devel@lists.freedesktop.org
Summary
WebGL water demo crashes LLVM
Severity
normal
Classification
Unclassified
OS
Linux (All)
Reporter
greg@chown.ath.cx
Hardware
x86-64 (AMD64)
Status
NEW
Version
git
Component
Drivers/DRI/R600
Product
Mesa
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.