summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-06redo IR_IF node, removing IR_ELSE, IR_ENDIFBrian
2007-02-05additional comments for BranchTargetBrian
2007-02-05BRK instruction's BranchTarget field now used for efficiently breaking out ↵Brian
of loops. BRK's BranchTarget field actually points to the top of the loop, not the bottom, since we don't know the later's location yet. In the interpreter, basically do an indirect jump to update the PC.
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-05set UseHighLevelInstructions = false for nowBrian
2007-02-05Initial implementation of high-level flow-control instructions.Brian
IF/ELSE/ENDIF and BEGIN_LOOP/END_LOOP/BREAK instructions seem to work. Disabled by default though until better tested. Implemented IR_NOT, but needs optimization.
2007-02-05indentation for program instructions (if/else, loops)Brian
2007-02-05Initial support of loop and subroutine instructions.Brian
New high-level flow-control instructions, both at IR level and GPU instructions for looping and subroutines.
2007-02-05Merge SWvertex texcoord and varying fields into attrib[] array field.Brian
Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
2007-02-03Add literal_size field to slang_operation.Brian
Used to track the number of components in a float/int/bool literal. Helps with some typechecking things. Fixes problems with calls such as "distance(v2, vec2(1.0, 2.0))"
2007-02-03minor tweaks to distance() funcsBrian
2007-02-03remove unused slang_operation fieldsBrian
2007-02-03shading language texture demo/testBrian
2007-02-03added FLUSH_VERTICES() in _mesa_use_program()Brian
2007-02-03added texdemo1Brian
2007-02-03Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS.Brian
This fixes a segfault in the texgen code that can occur after we've disabled a vertex program.
2007-02-02Only glUniform1i() can be used to set sampler uniforms. Generate error ↵Brian
otherwise.
2007-02-02add vec4_texcube to AsmInfo[]Brian
2007-02-02add _slang_multiply_swizzles()Brian
2007-02-02clean-upsBrian
2007-02-02clean-upsBrian
2007-02-02clean-upsBrian
2007-02-02remove slang_builtin_vec4.gcBrian
2007-02-02remove slang_builtin_vec4.gcBrian
2007-02-02remove slang_export.[ch]Brian
2007-02-02reformat, clean-up commentsBrian
2007-02-02move _slang_locate_function()Brian
2007-02-02remove multibyte charsBrian
2007-02-02remove unused fieldBrian
2007-02-02remove slang_asm_string()Brian
2007-02-02s/SLANG_ASSEMBLE_TYPEINFO_H/SLANG_TYPEINFO_H/Brian
2007-02-02s/slang_assembly_typeinfo/slang_typeinfo/Brian
2007-02-02s/slang_assembly_name_space/slang_name_space/Brian
2007-02-02remove slang_library_texsample.[ch]Brian
2007-02-02remove slang_library_texsample.[ch]Brian
2007-02-02rename slang_link2.c slang_link.cBrian
2007-02-02rename slang_link2.c slang_link.cBrian
2007-02-02rename slang_assemble_typeinfo.[ch] to slang_typeinfo.[ch]Brian
2007-02-02rename slang_assemble_typeinfo.[ch] to slang_typeinfo.[ch]Brian
2007-02-02remove more slang assembly-related codeBrian
2007-02-02remove more slang assembly-related files, codeeBrian
2007-02-02removed obsolete shader assembly filesBrian
2007-02-02remove more assembly-related codeBrian
2007-02-02remove slang_assemble*.c filesBrian
2007-02-02move some functions, disable some code in preparation for removing assembly codeBrian
2007-02-02fix emit_tex() breakageBrian
2007-02-02remove slang_export.c and related codeBrian
2007-02-02Remove old slang linker code.Brian
2007-02-02remove slang_link.c and slang_analyse.cBrian