summaryrefslogtreecommitdiff
path: root/src/glsl/glsl_types.h
AgeCommit message (Collapse)Author
2011-03-12glsl: Document glsl_type::sampler_dimensionalityChad Versace
2011-02-28glsl: Enable GL_OES_texture_3D extension for ES2.Kenneth Graunke
2011-02-21Use C-style system headers in C++ code to avoid issues with std:: namespaceIan Romanick
2011-01-31Convert everything from the talloc API to the ralloc API.Kenneth Graunke
2010-12-17glsl: Expose a public glsl_type::void_type const pointer.Kenneth Graunke
This is analogous to glsl_type::int_type and all the others.
2010-11-15glsl: Convert glsl_type::base_type from #define'd constants to an enum.Kenneth Graunke
This is nice because printing type->base_type in GDB will now give you a readable name instead of a number.
2010-11-15glsl: Remove GLSL_TYPE_FUNCTION define.Kenneth Graunke
Functions are not first class objects in GLSL, so there is never a value of function type. No code actually used this except for one function which asserted it shouldn't occur. One comment mentioned it, but was incorrect. So we may as well remove it entirely.
2010-10-11glsl: Add glsl_type::uvecN_type for N=2,3Chad Versace
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-09-07glsl: Split out types that are in 1.10 but not GLSL ES 1.00.Kenneth Graunke
2010-09-01glsl2: Remove unused method glsl_type::generate_constructorIan Romanick
2010-08-26glsl: Use a single shared namespace in the symbol table.Kenneth Graunke
As of 1.20, variable names, function names, and structure type names all share a single namespace, and should conflict with one another in the same scope, or hide each other in nested scopes. However, in 1.10, variables and functions can share the same name in the same scope. Structure types, however, conflict with/hide both. Fixes piglit tests redeclaration-06.vert, redeclaration-11.vert, redeclaration-19.vert, and struct-05.vert.
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