summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-02-01New SWspanarrays attribs[] array.Brian
Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups.
2007-02-01silence uninitialized var warningBrian
2007-02-01silence uninitialized var warningBrian
2007-02-01move span-related types/tokens into s_span.hBrian
2007-02-01additional assertions, bump up MAX_EXECBrian
2007-01-31disable all x86 code, broken and will eventually be removedBrian
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-31New asm instruction and IR_CLAMP node type to allow clamping to [0,1] with ↵Brian
instruction saturate-write option. Not finished yet.
2007-01-31allow fragment-only and vertex-only programsBrian
2007-01-30fix _mesa_get_uniform_location() so it uses the given program handleBrian
2007-01-28noise functionsBrian
2007-01-28combine emit_unop(), emit_binop(), emit_triop() into emit_arith()Brian
2007-01-28implement mix() with LRP instructionBrian
2007-01-28Lots of vartable clean-ups, fixes. Report an error message when we run outBrian
of registers, rather than crash.
2007-01-28minor clean-upsBrian
2007-01-27Clean-up of var/temp allocation function parameters.Brian
2007-01-27Improved register allocation: allow four 'float' vars or temporaries to ↵Brian
share a single register. Clean-up needed.
2007-01-25asst fixes, tranpose span->varying array indexesBrian
2007-01-25fixes, clean-ups, transpose span->varying array indexingBrian
2007-01-25new comments, ideasBrian
2007-01-24remove some parenthesisBrian
2007-01-24use FRAG_BIT_TEX()Brian
2007-01-24fix varying interpolationBrian
2007-01-24only setup varying vars that will be usedBrian
2007-01-24added FRAG_BIT_TEX() and FRAG_BIT_VAR() macrosBrian
2007-01-23updated commentBrian
2007-01-23indicate which opcodes are used by Mesa GLSL, updated commentsBrian
2007-01-23fix g++ warnings/errorsBrian
2007-01-20Add a simple mechanism for annotating instructions for easier debugging.Brian
2007-01-20optimization: emit MAD instructions when possibleBrian
2007-01-20remove unused swizzle parameter to -storage_to_src_reg()Brian
2007-01-20Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.Brian
2007-01-20Reimplement && and || to do short-circuit evaluation.Brian
Improved shader error handling.
2007-01-20rewrite more __postIncr functionsBrian
2007-01-19Implement do/while loops. Replace IR_CJUMP with IR_CJUMP0 and IR_CJUMP1 soBrian
we can either jump on zero, or non-zero predicate.
2007-01-19Rewrite normalize(vec3/vec4) to use one less register.Brian
2007-01-19report error message when something failsBrian
2007-01-19print error msg when there's a problemBrian
2007-01-19remove stray tabBrian
2007-01-19Implement fragment discard/kill.Brian
2007-01-19change while-loop to create new scope for loop body, per specBrian
2007-01-18Implement constant sharing so that 4 float constants can share a singleBrian
float[4] register slot.
2007-01-18_mesa_add_unnamed_constant() now tries to re-use constants already inBrian
the parameter list.
2007-01-18Reimplement code for swizzling so that expressions like (p+q).x for vectors ↵Brian
p and q works correctly.
2007-01-18rewrite a bunch of assignment operators (like +=)Brian
2007-01-18remove swizzle param from new_var()Brian
2007-01-17rewrite additional matrix-related functions to reduce register needsBrian
2007-01-17rewrite mat4 * mat4 operator to use fewer tempsBrian
2007-01-17do bounds check in _slang_push_var_table(), added commentBrian
2007-01-17rewrite matrix constructorsBrian