Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Overhaul of GLSL API functions, dispatching, etc. | Brian | 2006-12-19 | 2 | -2/+2 |
| | |||||
* | Added instruction counter to catch infinite loops (temporary). | Brian | 2006-12-18 | 1 | -1/+11 |
| | |||||
* | fix comment, handle NOP | Brian | 2006-12-16 | 1 | -1/+3 |
| | |||||
* | varying var changes | Brian | 2006-12-15 | 3 | -17/+17 |
| | |||||
* | Renamed s_nvfragprog.[ch] to s_fragprog.[ch] | Brian | 2006-12-15 | 3 | -17/+9 |
| | |||||
* | Renamed s_nvfragprog.[ch] to s_fragprog.[ch], program_instruction.h to ↵ | Brian | 2006-12-15 | 2 | -1729/+0 |
| | | | | prog_instruction.h | ||||
* | Renamed from s_nvfragprog.[ch] | Brian | 2006-12-14 | 2 | -0/+1729 |
| | |||||
* | Updated includes. | Brian | 2006-12-14 | 2 | -2/+4 |
| | |||||
* | Remove include of s_arbshader.h | Brian | 2006-12-14 | 1 | -1/+0 |
| | |||||
* | Retire old GLSL shader code. | Brian | 2006-12-13 | 2 | -162/+0 |
| | |||||
* | Checkpoint for GLSL compiler changes. | Brian | 2006-12-13 | 6 | -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 Paul | 2006-11-21 | 1 | -1/+34 |
| | |||||
* | Initial implementation work for CAL, RET, and BRA instructions for fragment | Brian Paul | 2006-11-16 | 1 | -0/+53 |
| | | | | programs. | ||||
* | Make sure RENDER_FINISH is called on the zero pixel case. Reported by | Keith Whitwell | 2006-11-14 | 1 | -1/+1 |
| | | | | Haihao Xiang. | ||||
* | always load frag prog state params for now (see comments) | Brian Paul | 2006-11-02 | 1 | -0/+5 |
| | |||||
* | Remove x/y/width/height parameters from Clear functions. | Brian Paul | 2006-11-01 | 2 | -14/+10 |
| | |||||
* | Write back gl_FragDepth to span->array->z. | Michal Krol | 2006-11-01 | 1 | -1/+10 |
| | |||||
* | Merge texmem-0-3-branch. | Keith Whitwell | 2006-11-01 | 1 | -5/+5 |
| | |||||
* | change DEBUG_FRAG conditions | Brian Paul | 2006-11-01 | 1 | -79/+82 |
| | |||||
* | fix some bugs in interpolate_specular() | Brian Paul | 2006-11-01 | 1 | -23/+29 |
| | |||||
* | make use of Parameters->StateFlags in _swrast_update_fragment_program() | Brian Paul | 2006-10-31 | 1 | -7/+4 |
| | |||||
* | We need to call _mesa_load_state_parameters() whenever a fragment program | Brian Paul | 2006-10-31 | 2 | -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 Paul | 2006-10-31 | 1 | -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 we | Brian Paul | 2006-10-31 | 1 | -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() text | Brian Paul | 2006-10-30 | 1 | -2/+2 |
| | |||||
* | Added PROGRAM_CONSTANT to get_register_pointer(). | Brian Paul | 2006-10-28 | 1 | -0/+15 |
| | | | | More DEBUG_FRAG code. | ||||
* | assorted clean-ups | Brian Paul | 2006-10-22 | 1 | -30/+24 |
| | |||||
* | don't save color/z if fragment is killed | Brian Paul | 2006-10-22 | 1 | -18/+20 |
| | |||||
* | minor tweaks good for about 12% faster execution | Brian Paul | 2006-10-22 | 1 | -66/+71 |
| | |||||
* | silence used var warnings | Brian Paul | 2006-10-22 | 1 | -1/+2 |
| | |||||
* | Color clamping fixes. | Brian Paul | 2006-10-22 | 2 | -6/+12 |
| | |||||
* | move/improve comments, clean up code in a few places | Brian Paul | 2006-10-21 | 1 | -21/+16 |
| | |||||
* | fix another logic error in computing deferredTexture | Brian Paul | 2006-10-21 | 1 | -5/+9 |
| | |||||
* | For deferredTexture, need to check if the fragment program/shader writes | Brian Paul | 2006-10-21 | 1 | -6/+31 |
| | | | | the fragment Z. | ||||
* | move interpolate_varying() call | Brian Paul | 2006-10-21 | 1 | -4/+2 |
| | |||||
* | Move interpolate_texcoords() and interpolate_varying() calls into ↵ | Brian Paul | 2006-10-21 | 1 | -21/+18 |
| | | | | | | shade_texture_span(). Added some INLINE hints. | ||||
* | Consolidate some code into shade_texture_span(). | Brian Paul | 2006-10-19 | 1 | -84/+81 |
| | | | | Clean up logic for deferred texturing/shading. | ||||
* | fixed Fixed/Int bug | Brian Paul | 2006-10-19 | 1 | -2/+2 |
| | |||||
* | remove temp code | Brian Paul | 2006-10-19 | 1 | -22/+15 |
| | |||||
* | fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertion | Brian Paul | 2006-10-19 | 1 | -1/+4 |
| | |||||
* | added clamp_colors(), updated assertions | Brian Paul | 2006-10-18 | 1 | -21/+33 |
| | |||||
* | Don't pass x/y/width/height to ctx->Driver.Accum(). | Brian Paul | 2006-10-18 | 2 | -7/+11 |
| | | | | | Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear(). | ||||
* | Always convert colors to float before running a fragment shader/program. | Brian Paul | 2006-10-17 | 4 | -145/+61 |
| | |||||
* | fix fog color bug | Brian Paul | 2006-10-17 | 1 | -3/+18 |
| | |||||
* | Move struct atifs_machine into s_atifragshader.c | Brian Paul | 2006-10-17 | 2 | -43/+129 |
| | | | | Add support for runtime colorbuffer types. | ||||
* | Seperate interpolate_colors() and interpolate_specular(). | Brian Paul | 2006-10-17 | 1 | -174/+192 |
| | | | | Fix bugs in apply_aa_coverage(). | ||||
* | apply_aa_coverage() for ubyte/ushort/float | Brian Paul | 2006-10-17 | 1 | -6/+32 |
| | |||||
* | Fix CHAN_BITS=32 issues. | Brian Paul | 2006-10-17 | 1 | -0/+7 |
| | | | | Save/restore array->ChanType in case colors are converted. | ||||
* | cut and paste error: s/Width/Height/ | Brian Paul | 2006-10-14 | 1 | -1/+1 |
| | |||||
* | Consolidate, move, fix code related to color index and stencil image transfer | Brian Paul | 2006-10-13 | 3 | -39/+13 |
| | | | | operations (shift, offset, table lookup, etc). |