Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-11 | glsl2: added casts to silence warnings | Brian Paul | |
2010-08-04 | glsl2: Add ir_assignment::write_mask and associated methods | Ian Romanick | |
Replace swizzles on the LHS with additional swizzles on the RHS and a write mask in the assignment instruction. As part of this add ir_assignment::set_lhs. Ideally we'd make ir_assignment::lhs private to prevent erroneous writes, but that would require a lot of code butchery at this point. Add ir_assignment constructor that takes an explicit write mask. This is required for ir_assignment::clone, but it can also be used in other places. Without this, ir_assignment clones lose their write masks, and incorrect IR is generated in optimization passes. Add ir_assignment::whole_variable_written method. This method gets the variable on the LHS if the whole variable is written or NULL otherwise. This is different from ir->lhs->whole_variable_referenced() because the latter has no knowledge of the write mask stored in the ir_assignment. Gut all code from ir_to_mesa that handled swizzles on the LHS of assignments. There is probably some other refactoring that could be done here, but that can be left for another day. | |||
2010-07-29 | glsl2: Allow use of _mesa_print_ir without a parse state on hand. | Eric Anholt | |
2010-07-29 | glsl2: When dumping IR for debug, indent nested blocks. | Eric Anholt | |
No more trying to match parens in my head when looking at the body of a short function containing an if statement. | |||
2010-07-29 | glsl2: When dumping IR for debug, skip all the empty builtin prototypes. | Eric Anholt | |
2010-07-22 | ir_print_visitor: Add "temporary" to mode string printing. | Kenneth Graunke | |
Variables with mode ir_var_temporary were causing an out of bounds array access and filling my screen with rubbish. I'm not sure if "temporary" is the right thing to print. | |||
2010-07-21 | ir_print_visitor: Print out constant arrays. | Kenneth Graunke | |
2010-07-21 | ir_print_visitor: Remove commas between ir_constant's components. | Kenneth Graunke | |
The IR reader does not expect commas. | |||
2010-06-30 | glsl2: Define new ir_discard instruction. | Kenneth Graunke | |
2010-06-24 | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | |