Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Add parser support for GL_ARB_explicit_attrib_location layouts | Ian Romanick | 2010-10-08 | 1 | -0/+14 |
| | | | | | Only layout(location=#) is supported. Setting the index requires GLSL 1.30 and GL_ARB_blend_func_extended. | ||||
* | glsl: Wrap ast_type_qualifier contents in a struct in a union | Ian Romanick | 2010-10-08 | 1 | -17/+22 |
| | | | | This will ease adding non-bit fields in the near future. | ||||
* | glsl: Add doxygen comments | Ian Romanick | 2010-09-20 | 1 | -4/+38 |
| | |||||
* | glsl2: Remove unnecessary use of 'struct' before type names | Ian Romanick | 2010-08-13 | 1 | -3/+2 |
| | | | | | | | | In C++ you don't have to say 'struct' or 'class' if the declaration of the type has been seen. Some compilers will complain if you use 'struct' when 'class' should have been used and vice versa. Fixes bugzilla #29539. | ||||
* | glsl2: Use talloc_zero_size instead of talloc_size to allocate ast_node objects. | Carl Worth | 2010-08-02 | 1 | -1/+1 |
| | | | | | | This is a zero-ing function, (like calloc), to avoid bugs due to accessing uninitialized values. Thanks to valgrind for noticing the use of uninitialized values. | ||||
* | glsl2: Also initialize the identifier field of parameter_declarator. | Eric Anholt | 2010-08-02 | 1 | -0/+1 |
| | | | | | | The non-named parameter grammar understandably doesn't set the identifier field. Fixes intermittent failures about void main(void) {} having a named void parameter. | ||||
* | glsl2: initialize is_array and array_size of ast_parameter_declarator | Aras Pranckevicius | 2010-08-02 | 1 | -0/+6 |
| | | | | The non-array path of glsl_parser.ypp wasn't setting is_array to false. | ||||
* | glsl2: Parser support for GL_ARB_fragment_coord_conventions | Ian Romanick | 2010-07-28 | 1 | -0/+6 |
| | |||||
* | glsl2: Add a method for querying if an AST type has any qualifiers. | Kenneth Graunke | 2010-06-29 | 1 | -0/+1 |
| | |||||
* | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | 2010-06-24 | 1 | -0/+651 |