[Mesa-dev] Debug GLSL shader in Mesa

2016-07-29 Thread Fu, Sheng
Hi, I am wondering if it is possible to debug GLSL shader in Mesa. I am interested in software based implementation, such as llvmpipe or swr. Is there an option so Mesa will put debug information into GLSL shader? Thanks Sheng ___ mesa-dev mailing l

[Mesa-dev] The background of the x-window is transparent when running glxgears with mesa

2016-07-22 Thread Fu, Sheng
Hi, When I ran glxgears on my CentOS box with Mesa, the background of the x-window looks transparent. When run with NVIDA graphics cad, it is solid. Is there a setting to make the background a solid color? Thanks Sheng ___ mesa-dev mailing list mesa

[Mesa-dev] GLSL error

2016-02-18 Thread Fu, Sheng
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