Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-23 | glsl_type: Add method to get number of slots used by a type | Ian Romanick | |
2010-06-11 | Add glsl_types::field_index to get the location of a record field | Ian Romanick | |
2010-06-11 | Add glsl_type::is_record query | Ian Romanick | |
2010-06-09 | Set the type of ir_texture properly; infer it from the sampler type. | Kenneth Graunke | |
2010-04-28 | glsl_type::generate_constructor_prototype now generates the function too | Ian Romanick | |
Also, change the name of the method to generate_constructor. | |||
2010-04-28 | Add glsl_type::field_type | Ian Romanick | |
Query the type of a structure field | |||
2010-04-26 | Make private glsl_type singletons public | Ian Romanick | |
2010-04-23 | Put static pointers to vec[234]_types along with the static float_type. | Eric Anholt | |
Otherwise you have to type a lot of get_instance. | |||
2010-04-01 | Add glsl_type::element_type and glsl_type::array_size queries | Ian Romanick | |
The former gets the type of elements in an array, and the later gets the declared size, if any, of the array. | |||
2010-03-31 | Add glsl_type::generate_constructor_prototype | Ian Romanick | |
Generates a symbol table entry and the IR approximation of a prototype for a type's constructor. Currently only arrays are supported. | |||
2010-03-31 | Fix big dumbness in glsl_type::get_array_instance | Ian Romanick | |
hash_table_insert needs to keep the key so that it compare keys on a following hash_table_find call. Since key was allocated on the stack, it disappeared out from under the hash table. | |||
2010-03-31 | glsl_type array constructor generate a real name for the type | Ian Romanick | |
2010-03-30 | Implement array type handling | Ian Romanick | |
Since all glsl_type objects are flyweights, support is added to track all known array types. This accounts for most of the changes. | |||
2010-03-29 | Add glsl_type::is_array and glsl_type::is_float queries | Ian Romanick | |
2010-03-26 | Slightly change the representation of numeric types | Ian Romanick | |
For numeric types, vector_elements and matrix_columns must be at least 1. Previously matrix_columns was 0 for vectors, and both were 0 for scalars. This change simplifies things in some places. | |||
2010-03-26 | Add glsl_type::components to query total number of components in a type | Ian Romanick | |
2010-03-26 | Replace remaining use of is_error_type with glsl_type::is_error | Ian Romanick | |
2010-03-26 | Replace remaining uses of is_numeric_base_type with glsl_type::is_numeric | Ian Romanick | |
2010-03-26 | Replace is_integer_base_type macro with glsl_type::is_integer method | Ian Romanick | |
2010-03-26 | Make glsl_*_type glsl_type class static data | Ian Romanick | |
2010-03-25 | Add functions to generate constructors for built-in types. | Ian Romanick | |
Currently only vector and matrix types are supported. Structure types will be added later. | |||
2010-03-25 | Fix matrix dimensioning | Ian Romanick | |
Newb GL mistake: matrices in GL are column-major. This means that vector_elements is the number of rows. Making these changes causes matrix-08.glsl to pass. | |||
2010-03-25 | Add queries to get the glsl_type of a row or column of a matrix | Ian Romanick | |
2010-03-24 | Remove unused _mesa_glsl_get_vector_type | Ian Romanick | |
This function has been completely replaced by glsl_type::get_instance. | |||
2010-03-24 | Add glsl_type::get_instance method | Ian Romanick | |
Gets the singleton corresponding to a particular scalar, vector, or matrix type. | |||
2010-03-24 | Add class-private handles to matrix types in glsl_type | Ian Romanick | |
2010-03-23 | Add glsl_type::get_base_type query | Ian Romanick | |
Retreives the glsl_type that corresponds to the base type of a numeric scalar / vector / matrix type. So vec4 returns float, etc. | |||
2010-03-23 | Add glsl_type::is_numeric and glsl_type::is_boolean queries | Ian Romanick | |
2010-03-23 | Add query to determine whether a type is a sampler | Ian Romanick | |
2010-03-23 | Add is_error and is_void type queries | Ian Romanick | |
2010-03-10 | Tell emacs that C++ .h files are C++ | Ian Romanick | |
2010-03-09 | Convert is_glsl_type_matrix to glsl_type::is_matrix | Ian Romanick | |
2010-03-09 | Convert is_glsl_type_vector to glsl_type::is_vector | Ian Romanick | |
2010-03-09 | Convert is_glsl_type_scalar to glsl_type::is_scalar | Ian Romanick | |
2010-03-09 | Make glsl_type a class | Ian Romanick | |
Among other benefits, this cleans up a the hackery invovled in initializing the union field in builtin_types.h. | |||
2010-02-22 | Initial commit. lol | Ian Romanick | |