aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* fix maxInst argumentBrian2007-02-021-1/+2
|
* unroll inner loop of interpolate_varying()Brian2007-02-021-13/+22
|
* simplify derivative-related codeBrian2007-02-021-90/+41
|
* simplify interpolate_texcoords()Brian2007-02-021-262/+126
|
* Replace color, z, w, texture interpolants with new generic attrib interpolants.Brian2007-02-028-277/+280
|
* New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵Brian2007-02-028-115/+118
| | | | fields. More to come.
* get rid of unused span->start fieldBrian2007-02-022-5/+2
|
* commentsBrian2007-02-012-2/+7
|
* New SWspanarrays attribs[] array.Brian2007-02-0116-171/+140
| | | | | | | 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.
* move span-related types/tokens into s_span.hBrian2007-02-012-200/+204
|
* additional assertions, bump up MAX_EXECBrian2007-02-011-1/+6
|
* noise functionsBrian2007-01-281-0/+45
|
* asst fixes, tranpose span->varying array indexesBrian2007-01-251-38/+54
|
* fixes, clean-ups, transpose span->varying array indexingBrian2007-01-251-21/+29
|
* new comments, ideasBrian2007-01-251-21/+22
|
* fix varying interpolationBrian2007-01-241-2/+5
|
* only setup varying vars that will be usedBrian2007-01-242-25/+35
|
* fix g++ warnings/errorsBrian2007-01-231-4/+3
|
* Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.Brian2007-01-201-0/+67
|
* Added OPCODE_INT to convert 4 floats to 4 ints.Brian2007-01-171-0/+11
|
* more debug code (disabled)Brian2007-01-091-1/+5
|
* check if _Current == NULL for TXBBrian2007-01-081-3/+5
|
* Remove if (tObj) conditional so that texture units without a texture imageBrian2007-01-081-5/+6
| | | | return black (0,0,0,1) when sampled.
* added INTERP_VARYING codeBrian2006-12-211-0/+29
|
* s/attribute/varying/Brian2006-12-212-5/+6
|
* Overhaul of GLSL API functions, dispatching, etc.Brian2006-12-192-2/+2
|
* Added instruction counter to catch infinite loops (temporary).Brian2006-12-181-1/+11
|
* fix comment, handle NOPBrian2006-12-161-1/+3
|
* varying var changesBrian2006-12-153-17/+17
|
* Renamed s_nvfragprog.[ch] to s_fragprog.[ch]Brian2006-12-153-17/+9
|
* Renamed s_nvfragprog.[ch] to s_fragprog.[ch], program_instruction.h to ↵Brian2006-12-152-1729/+0
| | | | prog_instruction.h
* Renamed from s_nvfragprog.[ch]Brian2006-12-142-0/+1729
|
* Updated includes.Brian2006-12-142-2/+4
|
* Remove include of s_arbshader.hBrian2006-12-141-1/+0
|
* Retire old GLSL shader code.Brian2006-12-132-162/+0
|
* Checkpoint for GLSL compiler changes.Brian2006-12-136-61/+76
| | | | | | In brief: Check for enabled fragment program by looking at ctx->FragmentProgram._Current. New code for varying variables.
* list header files in sources files (Dan Nicholson)Brian Paul2006-11-211-1/+34
|
* Initial implementation work for CAL, RET, and BRA instructions for fragmentBrian Paul2006-11-161-0/+53
| | | | programs.
* Make sure RENDER_FINISH is called on the zero pixel case. Reported byKeith Whitwell2006-11-141-1/+1
| | | | Haihao Xiang.
* always load frag prog state params for now (see comments)Brian Paul2006-11-021-0/+5
|
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-012-14/+10
|
* Write back gl_FragDepth to span->array->z.Michal Krol2006-11-011-1/+10
|
* Merge texmem-0-3-branch.Keith Whitwell2006-11-011-5/+5
|
* change DEBUG_FRAG conditionsBrian Paul2006-11-011-79/+82
|
* fix some bugs in interpolate_specular()Brian Paul2006-11-011-23/+29
|
* make use of Parameters->StateFlags in _swrast_update_fragment_program()Brian Paul2006-10-311-7/+4
|
* We need to call _mesa_load_state_parameters() whenever a fragment programBrian Paul2006-10-312-6/+15
| | | | | | is enabled and we've changed any GL state that might be referenced by a fragment program (such as state.fog.params). Do this during swrast validation, not in _swrast_exec_fragment_program().
* In TEX instructions, use precomputed lambda only if using fragment.texcoord[k]Brian Paul2006-10-311-34/+33
| | | | | to sample texture[k]. Use zero otherwise. Not foolproof, but a good compromise.
* For TEX instructions use lambda=0. When sampling from texture unit K weBrian Paul2006-10-311-44/+71
| | | | | | | | | | were using the partial derivatives of texcoord[K] but the coordinate used for texture sampling may be something totally different (and texcoord[K] might not be a real texture coord at all). Net result was a bogus LOD is sometimes used, often resulting in using the smallest mipmap level (a constant color). Just use zero for now (undef LAMBDA_ZERO to override). Plus, some additional debug code.
* fix _mesa_problem() textBrian Paul2006-10-301-2/+2
|