Re: [Mesa-dev] glslcompiler build failure

2010-08-20 Thread tom fogal
Kenneth Graunke writes: > Hi Tom! > > We built a new standalone compiler as part of glsl2 - it should be > built as src/glsl/glsl_compiler. You might want to take a look at > that. Ahh, okay, I see it. > If you want to run piglit's glslparsertest using the standalone > compiler, [snip] Thanks

Re: [Mesa-dev] glslcompiler build failure

2010-08-20 Thread Kenneth Graunke
Hi Tom! We built a new standalone compiler as part of glsl2 - it should be built as src/glsl/glsl_compiler. You might want to take a look at that. It takes a few options: --dump-ast...prints out the abstract syntax tree (GLSL source) --dump-hir...prints out high level IR (before lo

Re: [Mesa-dev] glslcompiler build failure

2010-08-19 Thread tom fogal
tom fogal writes: > I'm trying to build the compiler standalone for use with piglit, but > getting a slew of undefined references. [snip] Attached diff fixes them. .. Just needed to look at the actual errors. I guess I was just surprised I had to at all, because I would have thought the glslcom