[Mesa-dev] GLSL error

Ilia Mirkin imirkin at alum.mit.edu
Thu Feb 18 23:26:29 UTC 2016


On Thu, Feb 18, 2016 at 5:01 PM, Fu, Sheng <sheng.fu at intel.com> 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


More information about the mesa-dev mailing list