summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* remove commentBrian2007-02-241-2/+0
|
* Fix assertion in get_register_pointer(), fix EXP case.Brian2007-02-241-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 indexingBrian2007-02-231-4/+115
|
* add some missing cases in _mesa_program_state_string()Brian2007-02-231-0/+8
|
* fix fog breakageBrian2007-02-231-4/+2
|
* reindentBrian2007-02-231-928/+924
|
* don't pass program ptr to fetch_vector[14]()Brian2007-02-231-84/+82
|
* re-expose _mesa_print_alu_instruction()Brian2007-02-232-1/+13
|
* remove dead codeBrian2007-02-231-8/+0
|
* replace GLint with gl_state_indexBrian2007-02-238-20/+24
|
* comments, clean-upBrian2007-02-231-5/+11
|
* remove unused slang_atom_pool_gen()Brian2007-02-232-24/+0
|
* comments, clean-upBrian2007-02-231-4/+11
|
* Replace slang_ir_node::Target w/ Field. Remove Comment field. Clean-up.Brian2007-02-234-11/+11
|
* remove old _slang_gen_if()Brian2007-02-231-52/+0
|
* Re-implement branching with slang_labels.Brian2007-02-236-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, jumpsBrian2007-02-232-0/+119
|
* debug code for emitting variable allocation commentsBrian2007-02-221-1/+16
|
* expose _mesa_swizzle_string()Brian2007-02-222-14/+23
|
* Remove obsolete files.Brian2007-02-222-1100/+0
|
* New, unified interpretor/executor for vertex and fragment programs.Brian2007-02-222-0/+1662
| | | | | This replaces the code formerly in nvvertexec.c and s_fragprog.c. Currently, DDX, DDY don't work.
* fix assertionBrian2007-02-221-1/+1
|
* emit high-level IF/ELSE/ENDIF for vertex progs nowBrian2007-02-221-7/+3
|
* _mesa_ExecuteProgramNV is now a no-opBrian2007-02-221-2/+1
|
* added CallStack, StackDepthBrian2007-02-221-0/+3
|
* remove unneeded #includes, misc clean-upBrian2007-02-221-21/+13
|
* reorg/clean-up/indentBrian2007-02-221-413/+471
|
* start implementing conditions, branchingBrian2007-02-222-2/+123
|
* get rid of some unused slang_variable fieldsBrian2007-02-224-12/+3
|
* Replace slang_allocate_storage() with simpler _slang_attach_storage()Brian2007-02-221-73/+31
|
* updated debug codeBrian2007-02-221-210/+18
|
* Undo some STATE_POINT/FOG changes. Max length of state token array is now 5.Brian2007-02-226-64/+46
|
* merge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZEDBrian2007-02-221-0/+2
|
* fix negative indentation problemBrian2007-02-221-2/+1
|
* Merge branch 'origin' into glsl-compiler-1Brian2007-02-222-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 programRoland Scheidegger2007-02-092-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 bitRoland Scheidegger2007-02-093-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/errorsBrian2007-01-233-4/+4
| |
| * mesa: Update _Current along Current on fragment program bound.Jerome Glisse2007-01-151-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 Glisse2007-01-141-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.Brian2006-12-141-1/+1
| |
* | disable debugBrian2007-02-211-1/+1
| |
* | remove unneeded #includesBrian2007-02-211-5/+0
| |
* | fix copy&paste errorsBrian2007-02-211-4/+5
| |
* | more minor changes to STATE_ indexingBrian2007-02-213-46/+69
| |
* | remove dead codeBrian2007-02-211-18/+2
| |
* | Reimplement the _slang_alloc_statevar() function.Brian2007-02-212-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 indexBrian2007-02-216-111/+151
| |
* | checkpoint overhaul of pre-defined uniform codeBrian2007-02-214-12/+217
| |
* | clean-up, move IR_ELEMENT codeBrian2007-02-201-30/+36
| |