Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-21 | Merge Carl's preprocessor into the glcpp subdirectory. | Kenneth Graunke | |
2010-06-19 | Print out the info log if compilation fails. | Kenneth Graunke | |
2010-06-19 | Change error/warning functions to print to the info log. | Kenneth Graunke | |
2010-06-19 | Initialize the shader info log | Ian Romanick | |
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> | |||
2010-06-19 | Make shader a talloc context. | Kenneth Graunke | |
2010-06-19 | Link against talloc. We're going to be using it. | Kenneth Graunke | |
2010-06-19 | Fix crash when running glsl on a signle fragment shader. | Kenneth Graunke | |
2010-06-19 | Rename prog to shader. Less confusing. | Kenneth Graunke | |
2010-06-19 | Fix compile on 64-bit. | Kenneth Graunke | |
2010-06-18 | Ensure that shader_in and shader_out are correctly set in declarations | Ian Romanick | |
2010-06-18 | glsl_lexer: centroid and invariant are not reserved words in GLSL 1.10 | Ian Romanick | |
2010-06-18 | glsl_lexer: Handle interpolation qualifiers | Ian Romanick | |
2010-06-17 | linker: Add some function header comments | Ian Romanick | |
2010-06-17 | TODO: Add note about initializers for constants | Ian Romanick | |
2010-06-17 | Allow initializers for uniforms | Ian Romanick | |
2010-06-17 | Don't link shaders by default | Ian Romanick | |
Add a command line option to trigger linking. This "fixes" all the failing test cases. Oops. | |||
2010-06-17 | linker: Initial bits of the linker | Ian Romanick | |
No linking is done yet, but some of the semantic checking is done. | |||
2010-06-17 | Use glsl_program instead of an open-coded vector of shaders | Ian Romanick | |
2010-06-17 | Add glsl_program that is similar to Mesa's gl_shader_program | Ian Romanick | |
2010-06-17 | Change glsl_program to glsl_shader | Ian Romanick | |
2010-06-17 | Compile multiple shaders listed on the command line | Ian Romanick | |
2010-06-17 | Extract compilation to a separate routine | Ian Romanick | |
Pull all of the code that actually compiles shaders into a separate function. Use a glsl_program to track data about the compiled shader. | |||
2010-06-17 | Add glsl_program that is similar to Mesa's gl_program | Ian Romanick | |
This will be used as the header for individual compilation units. | |||
2010-06-15 | Add TODO list | Ian Romanick | |
Don't want to forget anything, no do we? | |||
2010-06-15 | Printing LIR is optional | Ian Romanick | |
2010-06-15 | Printing the AST is optional | Ian Romanick | |
2010-06-15 | Minor bits of code rearranging | Ian Romanick | |
2010-06-15 | Infer shader type from suffix on filename | Ian Romanick | |
2010-06-14 | Remove ability to read "IR shaders" from stand-alone compiler | Ian Romanick | |
2010-06-14 | Move stand-alone compiler main routine to main.cpp | Ian Romanick | |
2010-06-11 | ir_constant: Eliminate 'void *' constructor | Ian Romanick | |
All of the places that had been using the (glsl_type *, void *) constructor were actually passing an ir_constant_data for the 'void *'. The code can be greatly simplified by replacing this constructor with a (glsl_type *, ir_constant_data *) constructor. This should also help prevent one class of invalid uses of the old constructor. | |||
2010-06-11 | Use statically typed ir_constant constructors wherever possible | Ian Romanick | |
2010-06-11 | ir_reader: Use 'union ir_constant_data' in read_constant | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Type of constant result is same as original expression | Ian Romanick | |
The type of the resulting constant must be the same as the type of the original expression. The changes to the code require that the case where an unhandled expression is received, and there really shouldn't be any of these, must be an exit point. | |||
2010-06-11 | ir_constant_visitor: Types of ir_binop_{equal,nequal} must match | Ian Romanick | |
The types must match exactly, so there is no reason to check the types here. | |||
2010-06-11 | ir_constant_visitor: Use 'union ir_constant_data' in expression handler | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Use 'union ir_constant_data' instead of open-coded version | Ian Romanick | |
2010-06-11 | Matrix and vector constructors with a single constant scalar are constant | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Handle bool-to-int and int-to-bool | Ian Romanick | |
2010-06-11 | Treat ?: with all constant subexpressions as a constant expression | Ian Romanick | |
2010-06-11 | Rearrange code in HIR conversion of ?: operator | Ian Romanick | |
There are no functional changes. Code is just moved arround. This prepares for the next set of changes that do change the functionality. | |||
2010-06-11 | ir_constant_visitor: Handle constant swizzles | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Handle array access of constant vectors and matrices | Ian Romanick | |
2010-06-11 | Remove redundant type checks for constant constructors | Ian Romanick | |
All of the cases (e.g., arrays and structures) that were being filtered by these tests were already filtered by the earlier is_numeric and is_boolean tests. | |||
2010-06-11 | Do simple constant folding while processing function call parameters | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Handle dereferences of constant records | Ian Romanick | |
2010-06-11 | ir_constant: Add get_record_field query | Ian Romanick | |
2010-06-11 | Add glsl_types::field_index to get the location of a record field | Ian Romanick | |
2010-06-11 | Detect and process constant record constructors | Ian Romanick | |
2010-06-11 | Move parameter processing out of match_function_by_name | Ian Romanick | |
Eventually code that processes constant structure constructors will need to use the processed list of parameters. |