Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove comment | Brian | 2007-02-24 | 1 | -2/+0 |
| | |||||
* | Fix assertion in get_register_pointer(), fix EXP case. | Brian | 2007-02-24 | 1 | -14/+8 |
| | | | | | Note that GL_ARB_v_p and GL_NV_v_p define the z component of the EXP instruction differently. We follow the ARB extension. | ||||
* | added ARL, EXP, LOG, relative indexing | Brian | 2007-02-23 | 1 | -4/+115 |
| | |||||
* | add some missing cases in _mesa_program_state_string() | Brian | 2007-02-23 | 1 | -0/+8 |
| | |||||
* | fix fog breakage | Brian | 2007-02-23 | 1 | -4/+2 |
| | |||||
* | reindent | Brian | 2007-02-23 | 1 | -928/+924 |
| | |||||
* | don't pass program ptr to fetch_vector[14]() | Brian | 2007-02-23 | 1 | -84/+82 |
| | |||||
* | re-expose _mesa_print_alu_instruction() | Brian | 2007-02-23 | 2 | -1/+13 |
| | |||||
* | remove dead code | Brian | 2007-02-23 | 1 | -8/+0 |
| | |||||
* | replace GLint with gl_state_index | Brian | 2007-02-23 | 8 | -20/+24 |
| | |||||
* | comments, clean-up | Brian | 2007-02-23 | 1 | -5/+11 |
| | |||||
* | remove unused slang_atom_pool_gen() | Brian | 2007-02-23 | 2 | -24/+0 |
| | |||||
* | comments, clean-up | Brian | 2007-02-23 | 1 | -4/+11 |
| | |||||
* | Replace slang_ir_node::Target w/ Field. Remove Comment field. Clean-up. | Brian | 2007-02-23 | 4 | -11/+11 |
| | |||||
* | remove old _slang_gen_if() | Brian | 2007-02-23 | 1 | -52/+0 |
| | |||||
* | Re-implement branching with slang_labels. | Brian | 2007-02-23 | 6 | -123/+76 |
| | | | | | | This eliminates the NOP instructions that had been used as placeholders for branch targets. Also, fix "return" statement bug. | ||||
* | label routines for implementing branches, jumps | Brian | 2007-02-23 | 2 | -0/+119 |
| | |||||
* | debug code for emitting variable allocation comments | Brian | 2007-02-22 | 1 | -1/+16 |
| | |||||
* | expose _mesa_swizzle_string() | Brian | 2007-02-22 | 2 | -14/+23 |
| | |||||
* | Remove obsolete files. | Brian | 2007-02-22 | 2 | -1100/+0 |
| | |||||
* | New, unified interpretor/executor for vertex and fragment programs. | Brian | 2007-02-22 | 2 | -0/+1662 |
| | | | | | This replaces the code formerly in nvvertexec.c and s_fragprog.c. Currently, DDX, DDY don't work. | ||||
* | fix assertion | Brian | 2007-02-22 | 1 | -1/+1 |
| | |||||
* | emit high-level IF/ELSE/ENDIF for vertex progs now | Brian | 2007-02-22 | 1 | -7/+3 |
| | |||||
* | _mesa_ExecuteProgramNV is now a no-op | Brian | 2007-02-22 | 1 | -2/+1 |
| | |||||
* | added CallStack, StackDepth | Brian | 2007-02-22 | 1 | -0/+3 |
| | |||||
* | remove unneeded #includes, misc clean-up | Brian | 2007-02-22 | 1 | -21/+13 |
| | |||||
* | reorg/clean-up/indent | Brian | 2007-02-22 | 1 | -413/+471 |
| | |||||
* | start implementing conditions, branching | Brian | 2007-02-22 | 2 | -2/+123 |
| | |||||
* | get rid of some unused slang_variable fields | Brian | 2007-02-22 | 4 | -12/+3 |
| | |||||
* | Replace slang_allocate_storage() with simpler _slang_attach_storage() | Brian | 2007-02-22 | 1 | -73/+31 |
| | |||||
* | updated debug code | Brian | 2007-02-22 | 1 | -210/+18 |
| | |||||
* | Undo some STATE_POINT/FOG changes. Max length of state token array is now 5. | Brian | 2007-02-22 | 6 | -64/+46 |
| | |||||
* | merge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZED | Brian | 2007-02-22 | 1 | -0/+2 |
| | |||||
* | fix negative indentation problem | Brian | 2007-02-22 | 1 | -2/+1 |
| | |||||
* | Merge branch 'origin' into glsl-compiler-1 | Brian | 2007-02-22 | 2 | -57/+33 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c | ||||
| * | optimize per-pixel fog program | Roland Scheidegger | 2007-02-09 | 2 | -50/+31 |
| | | | | | | | | | | | | | | use the same internal state as for vertex fog. From the old implemenentation, this changes a SUB+MUL into a MAD for linear fog, and saves a MUL for EXP/EXP2, plus saves a (constant) parameter. While here, fix the broken (forgotten) swizzling. (untested) | ||||
| * | optimize generated vertex programs a bit | Roland Scheidegger | 2007-02-09 | 3 | -1/+33 |
| | | | | | | | | | | | | | | | | Use new internal state to avoid per-vertex normalization of static spot direction vector. Use internal state for simpler per-vertex fog computations (MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog). Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while there fix it up (RSQ instead of RCP). All untested... | ||||
| * | fixes for C++ warnings/errors | Brian | 2007-01-23 | 3 | -4/+4 |
| | | |||||
| * | mesa: Update _Current along Current on fragment program bound. | Jerome Glisse | 2007-01-15 | 1 | -0/+2 |
| | | | | | | | | | | | | | | Same as a previously committed patch for vertex program, we update fragment program ptr _Current along the Current one so that _Current can't end up pointing to a no more valid program. | ||||
| * | mesa: Update _Current ptr along Current when a new vertex program is bind. | Jerome Glisse | 2007-01-14 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | On new vertex program bind only the Current ptr where updated to point to the new program; this could lead to _Current pointing to and out of date or even a no more existing program which in turn could lead to a segfault in some driver. To avoid this _Current ptr is updated along Current if _Current where previously pointing to the same program. | ||||
| * | Replace __extension__ with LONGSTRING. | Brian | 2006-12-14 | 1 | -1/+1 |
| | | |||||
* | | disable debug | Brian | 2007-02-21 | 1 | -1/+1 |
| | | |||||
* | | remove unneeded #includes | Brian | 2007-02-21 | 1 | -5/+0 |
| | | |||||
* | | fix copy&paste errors | Brian | 2007-02-21 | 1 | -4/+5 |
| | | |||||
* | | more minor changes to STATE_ indexing | Brian | 2007-02-21 | 3 | -46/+69 |
| | | |||||
* | | remove dead code | Brian | 2007-02-21 | 1 | -18/+2 |
| | | |||||
* | | Reimplement the _slang_alloc_statevar() function. | Brian | 2007-02-21 | 2 | -335/+274 |
| | | | | | | | | | | | | After several tries at making a table-based system for examining pre-defined uniforms to find statevar indexes, give up and do it the simple way (lots of strcmp() calls). Not terribly elegant, but perfectly functional. | ||||
* | | adjustments to STATE_ token layout/format so token[1] is always the array index | Brian | 2007-02-21 | 6 | -111/+151 |
| | | |||||
* | | checkpoint overhaul of pre-defined uniform code | Brian | 2007-02-21 | 4 | -12/+217 |
| | | |||||
* | | clean-up, move IR_ELEMENT code | Brian | 2007-02-20 | 1 | -30/+36 |
| | |