summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* remove more assembly-related codeBrian2007-02-027-294/+19
|
* move some functions, disable some code in preparation for removing assembly codeBrian2007-02-023-5/+177
|
* fix emit_tex() breakageBrian2007-02-021-0/+2
|
* remove slang_export.c and related codeBrian2007-02-029-211/+1
|
* Remove old slang linker code.Brian2007-02-023-1021/+0
|
* remove old linker stuffBrian2007-02-021-329/+6
|
* Remove obsolete files.Brian2007-02-023-1669/+0
|
* Remove all dependencies on the old slang interpreter/executor.Brian2007-02-0211-52/+17
|
* reindentBrian2007-02-021-154/+175
|
* _slang_evaluate_int() no longer usedBrian2007-02-022-58/+0
|
* use _slang_simplify() to evaluate array sizesBrian2007-02-021-2/+6
|
* Move guts of slang_lookup_constant() into a new function in slang_simplify.cBrian2007-02-023-34/+73
|
* replace abort() with _mesa_problem()Brian2007-02-021-2/+5
|
* try to simplify variable initializersBrian2007-02-021-3/+1
|
* Fix logic in _slang_simplify(): vec2() constructor case wasn't getting used.Brian2007-02-013-23/+47
|
* silence uninitialized var warningBrian2007-02-011-0/+1
|
* silence uninitialized var warningBrian2007-02-011-2/+2
|
* disable all x86 code, broken and will eventually be removedBrian2007-01-318-16/+17
|
* Overhaul handling of writemasks/swizzling. This fixes two problem cases:Brian2007-01-316-96/+197
| | | | | vec2 v; v.x = v.y = 1.0; // chained assignment vec4 v; v.zx = vec2(a,b); // swizzled writemask
* New asm instruction and IR_CLAMP node type to allow clamping to [0,1] with ↵Brian2007-01-315-284/+356
| | | | instruction saturate-write option. Not finished yet.
* allow fragment-only and vertex-only programsBrian2007-01-311-35/+76
|
* fix _mesa_get_uniform_location() so it uses the given program handleBrian2007-01-301-2/+3
|
* noise functionsBrian2007-01-287-139/+165
|
* combine emit_unop(), emit_binop(), emit_triop() into emit_arith()Brian2007-01-281-109/+52
|
* implement mix() with LRP instructionBrian2007-01-286-294/+335
|
* Lots of vartable clean-ups, fixes. Report an error message when we run outBrian2007-01-285-96/+168
| | | | of registers, rather than crash.
* minor clean-upsBrian2007-01-281-8/+1
|
* Clean-up of var/temp allocation function parameters.Brian2007-01-274-74/+67
|
* Improved register allocation: allow four 'float' vars or temporaries to ↵Brian2007-01-273-64/+137
| | | | share a single register. Clean-up needed.
* updated commentBrian2007-01-231-2/+1
|
* indicate which opcodes are used by Mesa GLSL, updated commentsBrian2007-01-231-92/+102
|
* fix g++ warnings/errorsBrian2007-01-238-42/+47
|
* Add a simple mechanism for annotating instructions for easier debugging.Brian2007-01-201-4/+148
|
* optimization: emit MAD instructions when possibleBrian2007-01-201-10/+50
|
* remove unused swizzle parameter to -storage_to_src_reg()Brian2007-01-201-18/+9
|
* Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.Brian2007-01-206-2/+111
|
* Reimplement && and || to do short-circuit evaluation.Brian2007-01-204-117/+159
| | | | Improved shader error handling.
* rewrite more __postIncr functionsBrian2007-01-202-105/+137
|
* Implement do/while loops. Replace IR_CJUMP with IR_CJUMP0 and IR_CJUMP1 soBrian2007-01-193-16/+79
| | | | we can either jump on zero, or non-zero predicate.
* Rewrite normalize(vec3/vec4) to use one less register.Brian2007-01-192-335/+346
|
* report error message when something failsBrian2007-01-191-2/+23
|
* print error msg when there's a problemBrian2007-01-191-1/+4
|
* remove stray tabBrian2007-01-191-1/+1
|
* Implement fragment discard/kill.Brian2007-01-193-1/+24
|
* change while-loop to create new scope for loop body, per specBrian2007-01-192-3/+3
|
* Implement constant sharing so that 4 float constants can share a singleBrian2007-01-182-12/+19
| | | | float[4] register slot.
* _mesa_add_unnamed_constant() now tries to re-use constants already inBrian2007-01-181-30/+57
| | | | the parameter list.
* Reimplement code for swizzling so that expressions like (p+q).x for vectors ↵Brian2007-01-184-91/+129
| | | | p and q works correctly.
* rewrite a bunch of assignment operators (like +=)Brian2007-01-182-488/+495
|
* remove swizzle param from new_var()Brian2007-01-181-5/+5
|