summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_print.c
AgeCommit message (Collapse)Author
2007-02-05Use IR node's BranchNode field for IF/ELSE/ENDIF instructions.Brian
This allows us to back-patch the IF/ELSE instruction's BranchTarget field to point to the location of the ELSE/ENDIF instructions. No longer have to search for ELSE/ENDIF in the interpreter. Also makes it trivial to translate IF/ELSE instructions into conditional/unconditional BRA instructions.
2007-02-05minor formatting changesBrian
2007-02-05indentation for program instructions (if/else, loops)Brian
2007-01-31Overhaul handling of writemasks/swizzling. This fixes two problem cases:Brian
vec2 v; v.x = v.y = 1.0; // chained assignment vec4 v; v.zx = vec2(a,b); // swizzled writemask
2007-01-20Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.Brian
2007-01-05added PROGRAM_SAMPLERBrian
2007-01-04minor formatting fixBrian
2006-12-20added _mesa_print_parameter_list()Brian
2006-12-18Check for inst->CondUpdate, print .C suffix.Brian
2006-12-16print BRA instructionsBrian
2006-12-15fix double-printing of comment infoBrian
2006-12-14remove unneded includesBrian
2006-12-14Move some code from prog_print.c to prog_instruction.cBrian
2006-12-14Split the program.[ch] files into several new files.Brian