Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-28 | glsl: Enable GL_OES_texture_3D extension for ES2. | Kenneth Graunke | |
2011-02-21 | Use C-style system headers in C++ code to avoid issues with std:: namespace | Ian Romanick | |
2011-01-31 | Convert everything from the talloc API to the ralloc API. | Kenneth Graunke | |
2010-12-17 | glsl: 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-15 | glsl: 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-15 | glsl: 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-11 | glsl: Add glsl_type::uvecN_type for N=2,3 | Chad Versace | |
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-09-07 | glsl: Split out types that are in 1.10 but not GLSL ES 1.00. | Kenneth Graunke | |
2010-09-01 | glsl2: Remove unused method glsl_type::generate_constructor | Ian Romanick | |
2010-08-26 | glsl: 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-14 | glsl: Standardize a few more uses of struct vs class keyword. | José Fonseca | |
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-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: 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-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-25 | glsl2: Associate the GLenum for the type with builtin GLSL types. | Eric Anholt | |
2010-06-24 | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | |