Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-07 | glsl2: Actually add the declaration of _post_incdec_temp. | Eric Anholt | |
2010-07-07 | glsl2: Put the initializer in the instruction stream after the declaration | Ian Romanick | |
2010-07-07 | Revert "glsl2: Put the declaration in the instruction stream before its ↵ | Ian Romanick | |
initializer." This change causes segfaults in other tests. A fix for both sets of segfaults is coming. This reverts commit d4d630b72c7b7f38074addda0f1b819608247d93. | |||
2010-07-06 | glsl2: Put the declaration in the instruction stream before its initializer. | Eric Anholt | |
This fixes a regression in the generated code from when I did the ir_validate.cpp-driven rework of assignments. | |||
2010-07-06 | glsl2: Clone methods return the type of the thing being cloned | Ian Romanick | |
This is as opposed to returning the type of the base class of the hierarchy. | |||
2010-07-01 | glsl2: Support AST-to-IR translation of invariant keyword | Ian Romanick | |
2010-07-01 | glsl2: Don't bounds check unsize array redeclarations | Ian Romanick | |
This along with several previous commits fix test CorrectUnsizedArray.frag. | |||
2010-07-01 | glsl2: Add gl_MaxTextureCoords | Ian Romanick | |
2010-07-01 | glsl2: Default delcaration of gl_TexCoord is unsized | Ian Romanick | |
2010-07-01 | glsl2: Change order of semaintic checks on variable declarations | Ian Romanick | |
This will make it easier to support more (valid) kinds of redeclarations. | |||
2010-06-30 | glsl2: Implement AST->HIR support for the "discard" instruction. | Kenneth Graunke | |
2010-06-30 | glsl2: Fix storing of dead memory in the symbol table. | Kenneth Graunke | |
decl->identifier is part of the AST, so it doesn't live very long. Instead, add var->name which is owned by var. | |||
2010-06-30 | glsl2: Use _mesa_glsl_parse_state as the talloc parent, not glsl_shader. | Kenneth Graunke | |
_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. | |||
2010-06-29 | glsl2: Keep the same number of components in implicit conversions. | Kenneth Graunke | |
Fixes piglit test glsl-implicit-conversion-01. | |||
2010-06-29 | glsl_type: Add get_record_instance method | Ian Romanick | |
2010-06-29 | glsl_type: Remove vector and matrix constructor generators | Ian Romanick | |
All scalar, vector, and matrix constructors are generated in-line during AST-to-HIR translation. There is no longer any need to generate function versions of the constructors. | |||
2010-06-29 | glsl2: Check for non-void functions that don't have a return statement. | Kenneth Graunke | |
This doesn't do any control flow analysis to ensure that the return statements are actually reached. Fixes piglit tests function5.frag and function-07.vert. | |||
2010-06-29 | glsl2: Reject return types with qualifiers. | Kenneth Graunke | |
Fixes piglit test return-qualifier.frag. | |||
2010-06-29 | glsl2: Check that returned expressions match the function return type. | Kenneth Graunke | |
From my reading of the specification, implicit conversions are not allowed. ATI seems to agree, though nVidia allows it without warning. | |||
2010-06-24 | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | |