summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_ir.c
AgeCommit message (Collapse)Author
2008-08-05mesa: glsl: re-org of intermediate/temp storageBrian Paul
Simplify the code for allocating storage for intermediate results. Use fewer temps in some cases. Also, use new asm vec4_move intrinsic instead of regular assigments in various constructors. For example: float f; vec3 v; v.xyz = f; is not legal GLSL, so do this instead: __asm vec4_move v.xyz, f; // note: f will auto-expand into f.xxxx Plus, fix assorted bugs in structure comparison.
2008-07-24mesa: Prefix main includes with dir to avoid conflicts.José Fonseca
Some of the headers in src/mesa/main have pretty common names which easily conflict with third-party code, e.g. config.h
2008-07-18mesa: glsl: various writemask/swizzle improvements and clean-upsBrian Paul
2008-07-18mesa: rework array/struct addressing code.Brian Paul
The slang_ir_storage type now has a pointer to parent storage to represent storage of an array element within an array, or a field within a struct. This fixes some problems related to addressing of fields/elements in non- trivial cases. More work to follow.
2008-07-08mesa: add missing VARYING case to storage_string()Brian Paul
2008-07-01mesa: add/fix some IrInfo entries for debugging purposesBrian Paul
cherry-picked from master
2007-07-26Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion.Brian
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-05-02fix some DDX,DDY mix-upsBrian
2007-04-21Remove all the USE_MEMPOOL debug code.Brian
2007-04-21Use new memory pool allocator. Lots of debug code still in place...Brian
2007-03-28remove IR_BREAK_IF_FALSEBrian
2007-03-28Get rid of IR_CONT_IF_FALSEBrian
2007-03-26Get rid of IR_JUMP and related code.Brian
2007-03-26disable free() until other issues can be fixed...Brian
2007-03-24fix mistake in _slang_free_ir()Brian
2007-03-24Properly free the slang_ir_node->Store data (use ref counting).Brian
2007-03-24IR utility functionsBrian