aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
Commit message (Collapse)AuthorAgeFilesLines
...
| * | remove unused 'element' parameter from _mesa_execute_program()Brian2007-02-251-1/+1
| | |
| * | s/attribs/results/Brian2007-02-251-17/+17
| | |
| * | remove unused VaryingPtrBrian2007-02-251-1/+0
| | |
| * | Optimize the loop for copying output results.Brian2007-02-251-5/+12
| | |
| * | only copy used outputsBrian2007-02-251-3/+4
| | |
| * | Use prog_execute.c to run vertex programs until t_vb_arbprogram.c is updated toBrian2007-02-242-12/+6
| | | | | | | | | | | | handle branch instructions, etc.
| * | expose _mesa_load_tracked_matrices()Brian2007-02-232-6/+11
| | |
| * | s/GLint/gl_state_index/, length is now 5 not 6Brian2007-02-231-32/+29
| | |
| * | use new _mesa_execute_program() functionBrian2007-02-221-26/+153
| | |
| * | FORCE_PROG_EXECUTE_C cpp flag, misc changesBrian2007-02-221-4/+17
| | |
| * | Undo some STATE_POINT/FOG changes. Max length of state token array is now 5.Brian2007-02-221-2/+2
| | |
| * | Merge branch 'origin' into glsl-compiler-1Brian2007-02-2223-5218/+556
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | more minor changes to STATE_ indexingBrian2007-02-211-3/+3
| | | |
| * | | adjustments to STATE_ token layout/format so token[1] is always the array indexBrian2007-02-211-15/+15
| | | |
| * | | Lots of changes to prog_print.c code.Brian2007-02-171-1/+1
| | | | | | | | | | | | | | | | Mainly, allow printing programs in either ARB, NV or "debug" formats.
| * | | Initial implementation of high-level flow-control instructions.Brian2007-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | IF/ELSE/ENDIF and BEGIN_LOOP/END_LOOP/BREAK instructions seem to work. Disabled by default though until better tested. Implemented IR_NOT, but needs optimization.
| * | | Initial support of loop and subroutine instructions.Brian2007-02-051-0/+6
| | | | | | | | | | | | | | | | | | | | New high-level flow-control instructions, both at IR level and GPU instructions for looping and subroutines.
| * | | noise functionsBrian2007-01-281-0/+4
| | | |
| * | | remove some parenthesisBrian2007-01-241-1/+1
| | | |
| * | | use FRAG_BIT_TEX()Brian2007-01-241-1/+1
| | | |
| * | | Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.Brian2007-01-201-1/+4
| | | |
| * | | Added OPCODE_INT to convert 4 floats to 4 ints.Brian2007-01-171-0/+17
| | | |
| * | | Update _save_VertexAttrib() functions for non-aliasing behaviour.Brian2007-01-101-36/+93
| | | |
| * | | add code for generic attributes 16..31Brian2007-01-091-1/+37
| | | |
| * | | handle PROGRAM_UNIFORM, fix a _mesa_problem() callBrian2006-12-201-1/+2
| | | |
| * | | cases for NOP, BRABrian2006-12-161-0/+7
| | | |
| * | | added assertion to catch use of too many temporariesBrian2006-12-151-0/+1
| | | |
| * | | varying changesBrian2006-12-152-2/+2
| | | |
| * | | updated includesBrian2006-12-151-1/+1
| | | |
| * | | updated includesBrian2006-12-153-4/+10
| | | |
| * | | Obsolete.Brian2006-12-131-332/+0
| | | |
| * | | Checkpoint work for new GLSL compiler back-end.Brian2006-12-1316-316/+346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Among changes: Remove ctx->FragmentProgram._Active Remove _UseTexEnvProgram Move _MaintainTnlProgram, _MaintainTexEnvProgram, _TexEnvProgram and _TnlProgram fields. Remove/disable old GLSL interpreter code.
* | | | use _mesa_alloc_instructions()Brian2007-03-221-3/+2
| |_|/ |/| |
* | | sync up t_vp_build.c brw_vs_tnl.c a bitRoland Scheidegger2007-03-131-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | Bring over the optimizations for fog and normalized spot dir from t_vp_build.c to brw_vs_tnl.c. Likewise, port a fix for point size calc from brw_vs_tnl.c to t_vp_build.c (use ABS(eyez) instead of -eyez). Leave the now differing point size calcs alone though, not sure what's better (it's basically MOV, ABS, MUL, DP3 vs. ABS, MAD, MAD).
* | | fix for bug#10196Xiang, Haihao2007-03-111-1/+8
| |/ |/| | | | | | | Compute half if LOCAL_VIEWER is enabled and the light is a directional source.
* | fix stupid bug in the optimized per-vertex fog generation codeRoland Scheidegger2007-02-141-1/+2
| |
* | optimize generated vertex programs a bitRoland Scheidegger2007-02-091-31/+30
| | | | | | | | | | | | | | | | 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...
* | fix issues when using mixed-mode pos-invariant vp and ff tnl (bug #9856)Roland Scheidegger2007-02-051-19/+32
| | | | | | | | | | | | | | | | | | ARB_vp requires vertex transformation to be invariant to fixed function tnl if the position_invariant option is used. So the same function needs to be used, otherwise z-fighting artifacts may happen with applications which rely on the results being really the same due to precision issues when dealing with floating point values (may not be a problem when using a non-optimizing compiler strictly following IEEE rules).
* | Merge branch 'vbo-0.2'Keith Whitwell2007-02-0222-6907/+484
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
| * | Use new rebase helper. Remove other rebase code.Keith Whitwell2007-01-301-70/+38
| | |
| * | Merge vbo_0_1_branchKeith Whitwell2007-01-164-3296/+0
| | | | | | | | | | | | Hopefully leaving behind the cruft generated by the CVS import.
| * | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Keith Whitwell2007-01-168-8/+3314
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
| * | Remove debug, reenable inplace splitting.keithw2007-01-151-7/+9
| | |
| * | Split too-large draw commands.Keith Whitwell2007-01-151-26/+102
| | | | | | | | | | | | | | | Use the vbo_split_ functionality to split incoming drawing command to fit within the fixed-size buffers used by software t&l module.
| * | Fix compiler warnings.Keith Whitwell2006-11-031-15/+29
| | | | | | | | | | | | Add missing code for translating non-GLuint elements.
| * | Fix type-conversion of incoming vertices.Keith Whitwell2006-11-021-4/+5
| | | | | | | | | | | | Fix mis-application of increment to pointer variable.
| * | merge current trunk into vbo branchAlan Hourihane2006-11-022-9/+10
| | |
| * | Respect array->Normalized flag.Keith Whitwell2006-11-021-15/+55
| | | | | | | | | | | | | | | Import edgeflag attribute to array of GLbooleans as expected by downstream code.
| * | missing fileKeith Whitwell2006-11-021-0/+305
| | |
| * | pickup structs from vbo.hKeith Whitwell2006-10-312-2/+2
| | |