summaryrefslogtreecommitdiff
path: root/src/glsl/glsl_types.h
AgeCommit message (Collapse)Author
2010-08-14glsl: Standardize a few more uses of struct vs class keyword.José Fonseca
2010-08-04glsl2: Remove uses of deprecated TALLOC_CTX type.Kenneth Graunke
2010-08-02glsl_type: Use string key for array type hashIan Romanick
2010-08-02glsl2: Make glsl_types::ctx private againIan Romanick
2010-07-27glsl2: 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-20glsl2: glsl_type has its own talloc context, don't pass one inIan Romanick
2010-07-20glsl2: 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-06-29glsl_type: Add _mesa_glsl_release_types to release all type related storageIan Romanick
2010-06-29glsl_type: All glsl_type objects live in their own talloc contextIan Romanick
2010-06-29glsl_type: Record type constructors are privateIan Romanick
2010-06-29glsl_type: Add get_record_instance methodIan Romanick
2010-06-29glsl_type: Vector, matrix, and sampler type constructors are privateIan Romanick
2010-06-29glsl_type: Make all static objects be class privateIan Romanick
2010-06-29glsl_type: Remove vector and matrix constructor generatorsIan 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-25glsl2: Associate the GLenum for the type with builtin GLSL types.Eric Anholt
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt