Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-04 | glsl2: Remove uses of deprecated TALLOC_CTX type. | Kenneth Graunke | |
2010-08-02 | glsl_type: Use string key for array type hash | Ian Romanick | |
2010-08-02 | glsl2: Make glsl_types::ctx private again | Ian Romanick | |
2010-08-02 | glsl2: Give the path within src/mesa/ for headers instead of relying on -I. | Aras Pranckevicius | |
2010-07-27 | glsl2: Talloc type names. | Eric Anholt | |
Otherwise, we end up losing structure names after compile time, and dumping IR often ends up reporting some other mysterious string. | |||
2010-07-20 | glsl2: glsl_type has its own talloc context, don't pass one in | Ian Romanick | |
2010-07-20 | glsl2: Add and use new variable mode ir_var_temporary | Ian Romanick | |
This is quite a large patch because breaking it into smaller pieces would result in the tree being intermitently broken. The big changes are: * Add the ir_var_temporary variable mode * Change the ir_variable constructor to take the mode as a parameter and correctly specify the mode for all ir_varables. * Change the linker to not cross validate ir_var_temporary variables. * Change the linker to pull all ir_var_temporary variables from global scope into 'main'. | |||
2010-07-20 | glsl2: talloc the glsl_struct_field[] we use to look up structure types. | Eric Anholt | |
Since the types are singletons across the lifetime of the compiler, repeatedly compiling a program with the same structure type defined would drop a copy of the array on the floor per compile. This is a bit tricky because the static GLSL types are not called with the talloc-based new, so we have to use the global type context, which may not be initialized yet. | |||
2010-07-20 | glsl2: Don't claim a match on structure types with different field names. | Eric Anholt | |
We regularly do lookups on the field names of the structure to find the types within the struct, so returning a structure type with bad names will lead to lots of error types being found. | |||
2010-07-12 | glsl2: Store the gl_type of the array's element type in the array. | Eric Anholt | |
Fixes glsl-fs-uniform-array-1, glsl-vs-uniform-array-1, and the -2 tests on software. | |||
2010-06-29 | glsl_type: Add _mesa_glsl_release_types to release all type related storage | Ian Romanick | |
2010-06-29 | glsl_type: All glsl_type objects live in their own talloc context | Ian Romanick | |
2010-06-29 | glsl_type: Record type constructors are private | Ian Romanick | |
2010-06-29 | glsl_type: Add get_record_instance method | Ian Romanick | |
2010-06-29 | glsl_type: Vector, matrix, and sampler type constructors are private | Ian Romanick | |
2010-06-29 | glsl_type: Make all static objects be class private | 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-24 | glsl2: Wrap includes of C interfaces with extern "C". | Eric Anholt | |
2010-06-24 | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | |