Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl2: Give the path within src/mesa/ for headers instead of relying on -I. | Aras Pranckevicius | 2010-08-02 | 1 | -1/+1 |
| | |||||
* | glsl2: Add support for the .length() method on arrays. | Kenneth Graunke | 2010-07-20 | 1 | -0/+22 |
| | | | | | | Fixes piglit test glsl-array-length, and provides proper error messages for negative piglit tests array-length-110.frag, array-length-unsized.frag, and array-length-args.frag. | ||||
* | glsl2: Use _mesa_glsl_parse_state as the talloc parent, not glsl_shader. | Kenneth Graunke | 2010-06-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | _mesa_glsl_parse_state should be the parent for all temporary allocation done while compiling a shader. glsl_shader should only be used as the parent for the shader's final IR---the _result_ of compilation. Since many IR instructions may be added or discarded during optimization passes, IR should not ever be allocated to glsl_shader directly. Done via sed -i s/talloc_parent(state)/state/g and s/talloc_parent(st)/st/g. This also removes a ton of talloc_parent calls, which may help performance. | ||||
* | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | 2010-06-24 | 1 | -0/+81 |