On Thu, Feb 18, 2016 at 5:01 PM, Fu, Sheng <[email protected]> wrote: > Hi all, > > > > I ran into a GLSL error when run my GLSL shader. I use Mesa llvm driver. > > The following is the error message I got: > > > >> src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2194: virtual void > >> glsl_to_tgsi_visitor::visit(ir_expression*): Assertion `!"Invalid ir > >> opcode in glsl_to_tgsi_visitor::visit()"' failed. > >> > > > > Any idea how to track down the problem? Is it possible to generate TGSI IR > code with Mesa glsl_compiler?
Run the application with MESA_GLSL=dump which should dump out the program causing the unexpected condition. -ilia _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
