program/ir_to_mesa.cpp:2247: prog_src_register mesa_src_reg_from_ir_src_reg(ir_to_mesa_src_reg): Assertion `reg.index < (1 << 11)' failed.
Submitted by Török Edwin
Assigned to Ian Romanick
Description
Created attachment 40803 rt.frag
Running raytracer from here (with some fixes to not be nvidia specific): https://ssl.davidsansome.com/svn/raytracer I get:
raytracer: loop_analysis.cpp:141: virtual ir_visitor_status loop_analysis::visit(ir_loop_jump*): Assertion `!this->state.is_empty()' failed. Aborted
Same with both r600c and r600g, with latest mesa git. This is a regression from 7.8.2, where I don't get the assert (only a syntax error).
To reproduce run this using the attached rt.frag: $ src/glsl/glsl_compiler rt.frag glsl_compiler: loop_analysis.cpp:141: virtual ir_visitor_status loop_analysis::visit(ir_loop_jump*): Assertion `!this->state.is_empty()' failed.
Attachment 40803, "rt.frag":
rt.frag
Version: git