176a8359b93badfff3b6f6e78df974f870fbf7aa |
|
30-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Clean up header file inclusion in t_vp_build.h.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
a255472ee789d13c07174e385c7d40f965916e7b |
|
04-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: include main/dd.h in t_vb_points.c and t_vp_build.c For some reason makedepend doesn't seem to find the dependency on this header in these two files. Directly including the header is a work-around.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
32ef6e75839d6be283e034436e5dd34eabb67958 |
|
20-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: move fixed function vertex program builder from tnl to core mesa Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
bbd287103dad776d8a45c87c4e51fbc26d9b80d5 |
|
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: prefix a bunch of #include lines with "main/". This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
6138ee9de0330b9a2bf300bc0d52b471191dd1ed |
|
28-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: bump MAX_INSN to 350
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
96adcc2e214e2fdc2ad15ecac20b1066c6cdd1ca |
|
01-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
[t_vp_build] Fix refcounting-related memory leak This memory leak is identical to the earlier one in texenvprogram. Fixed by not creating an additional reference to new programs in cache_item. On top of that, remove some duplicated state setting.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
f27c6f313955b737888ce80752ee9cd895562d40 |
|
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix merge collision
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
e291cf6f8d3423c2f1e123ec2a42f0568019da80 |
|
16-May-2008 |
Shunichi Fuji <palglowr@gmail.com> |
free(key) in _tnl_UpdateFixedFunctionProgram()
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
e6cd9d88d345b998f8623f0f92c3c4cea8e66f54 |
|
16-May-2008 |
Shunichi Fuji <palglowr@gmail.com> |
Fix memory leak in _tnl_UpdateFixedFunctionProgram
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
5b5c9315275752add1215dba0f86d5f5068d856b |
|
08-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix refcounting bugs in tnl/tex program caches
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
df43fb661b2030d9b833a42dd47b8d7bf58d73aa |
|
07-May-2008 |
Brian <brian.paul@tungstengraphics.com> |
implement full reference counting for vertex/fragment programs Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
d3033cad7c8a077b093fc5b0c423950473aed9e7 |
|
01-Jan-2008 |
Hans de Goede <j.w..r..degoede@hhs.nl> |
t_vp_build: fix temporary register allocation to minimise the allocations
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
c9d495c6f064aacd1e072033b9c17a83b8c37fa1 |
|
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
properly init dst reg's CondMask/Swizzle fields
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
cab0dce6766c9ac728bc9f88dc94b8651fc257fb |
|
16-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix fog, rescale_normals bugs (from gallium branch)
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
6dd98e9853a6984150aa47467112e016c40a4ab4 |
|
01-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix problem introduced in previous commit in which a state variable (uniform) is written to. (see bug 12239) Also, added some assertions to the emit_arg() and emit_dst() functions to catch this kind of error in the future.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
214347fdb4c30dc8bac5d4b9a823458709bc53ea |
|
31-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Calculate the positional light in homogeneous coordinates. fix bug#11009
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
c223c6b663cd5db39ba19c2be74b88cc3b8f53f3 |
|
04-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
74a30c351fe98f41150dfe81a6aba05087997206 |
|
22-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fog: fix potential issues with generated vp using fog Change the generated vertex programs (tnl/brw) to follow the same logic as the tnl fog wrt using absolute value, and sync them up a bit (untested).
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
dba21ed913da2222e3b55fc8ba724ca93acbabf1 |
|
02-Apr-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
Fix in t_vp_build: Missed necessary updates sometimes _mesa_update_state doesn't always reset VertexProgram._Current to NULL. This caused us to skip a necessary update of the fixed function vertex program sometimes. Change the logic such that we check for updates whenever the _Current program is either NULL or the program generated by t_vp_build.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
d619cceea47dc3070ebb7f7ea4f8b6b31a672d38 |
|
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
merge of glsl-compiler-1 branch
|
002762b13aa58ca569a564bb64672e343611c9ed |
|
22-Mar-2007 |
Brian <brian@yutani.localnet.net> |
use _mesa_alloc_instructions()
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
23d31efc167f09d47635352f697ffcb087d3ebbd |
|
21-Mar-2007 |
Brian <brian@yutani.localnet.net> |
merge from master
|
a6cc9ab493a2efa9a0ea91cddba0e85c8c8c83f1 |
|
13-Mar-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
sync up t_vp_build.c brw_vs_tnl.c a bit 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).
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
61ec23cc63a040a2edf1bc466917e85362514c89 |
|
11-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
fix for bug#10196 Compute half if LOCAL_VIEWER is enabled and the light is a directional source.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
fce8409cbbe6aa5309163f3d63894233b8833308 |
|
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
s/GLint/gl_state_index/, length is now 5 not 6
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
776bc9cf55b116e17dddde4d097985b51879c83f |
|
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Undo some STATE_POINT/FOG changes. Max length of state token array is now 5.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
29c471aafc6a3fef23d553e31a555d1782854a77 |
|
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'origin' into glsl-compiler-1 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
|
f958aabdf3e3dc82827628cab97b159bd5089651 |
|
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
more minor changes to STATE_ indexing
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
6531952b3c979be0dc95704beb3c3b9dad1dc37b |
|
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
adjustments to STATE_ token layout/format so token[1] is always the array index
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
501ee87180047dd04afc69103c31e1eae5374bf1 |
|
17-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Lots of changes to prog_print.c code. Mainly, allow printing programs in either ARB, NV or "debug" formats.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
99dfca1e7fb32157135511bded07376ebb25acb3 |
|
14-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix stupid bug in the optimized per-vertex fog generation code
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
54dac2c84310536cce962101de29546d3eb80175 |
|
09-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
optimize generated vertex programs a bit 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...
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
cf92c727979e434d148b23d20f2e4e0f4bc4de61 |
|
05-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Initial implementation of high-level flow-control instructions. 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.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
e713c21bd09468887faceebcba9a62a406321c07 |
|
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
remove some parenthesis
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
ff917003f6ed35b9ef966397a58c80dc7df98bff |
|
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
use FRAG_BIT_TEX()
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
60a7200c0de7fc2925430b466739b4021087d14c |
|
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
updated includes
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
a328e469d328f8b6fd5afdfc21d576fa1a2c43fc |
|
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Checkpoint work for new GLSL compiler back-end. Among changes: Remove ctx->FragmentProgram._Active Remove _UseTexEnvProgram Move _MaintainTnlProgram, _MaintainTexEnvProgram, _TexEnvProgram and _TnlProgram fields. Remove/disable old GLSL interpreter code.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
0c6723aee564a7b320ca122c3c9b003c863cc714 |
|
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add a size parameter to _mesa_add_unnamed_constant() and _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
a89b099c74c0129c975d3f7ba1cdccc6a8d6b6be |
|
10-Aug-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fixup more PROGRAM_UNDEFINED problems.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
122629f27925a9dc50029bebc5079f87f416a7e1 |
|
20-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some structure renaming. Prefix vertex/fragment-related structs with "gl_" to match other structs.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
16d1024f27695bd9ceb86ffcdda960396a23ed2c |
|
18-Jun-2006 |
Aapo Tahkola <aet@rasterburn.org> |
fix broken negate
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
9248882ca27b289180a76262aa3d9b26c0cb0e8b |
|
07-Jun-2006 |
Aapo Tahkola <aet@rasterburn.org> |
prevent run_arb_vertex_program from running tnl programs unless ctx->_MaintainTnlProgram is set
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
d9736db6676948e06712d4bcba46b7040452f870 |
|
23-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add const qualifiers in a number of places.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
ab377ce414ba5ca286bab0ddc8e80769bcb88656 |
|
05-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Release temporary
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
94b30dc390f1fdd526c080080830016fad3e2ee2 |
|
25-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Put color index attribute into the 6th attribute slot. Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
564b2aa2ef8d5b859bb51d39024373a4865e93e9 |
|
13-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence minor warnings
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
9580179dfb42d5b81ff6ec9704b82a556c7f1229 |
|
06-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
C++ fixes, mostly casts (Stephane Conversy)
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
b4ebb682027e42c1f6525d0f8cee9ccd41e15ca0 |
|
05-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add guard before calling ctx->Driver.BindProgram
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
c9515bf1aec3a3d934535a9d2893e90e8b903043 |
|
01-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Call ProgramStringNotify after creating tnl programs.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
8c41a14c5ef0b8d2b0f1a1cd094f5abc41fa48f8 |
|
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove the _mesa_parse_arb_vertex/fragment_program() functions into arbprogparse.c and remove arbvertparse.[ch] and arbfragparse.[ch]. Clean up quite a bit of the arb parsing code. Rewrite parser extension code to avoid a mess of string operations every time the parser was used.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
f31448f3c86697275bffe5363d473dd128cbd2ac |
|
18-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix typo causing secondary color not to work properly.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
de99760bf3511d05185799c4fb4347f9e5f420f4 |
|
12-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move stuff common to vertex/fragment_program into the base class, including: Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
c657d8e3e4c2b14fa419c0902413fb9219e34ea0 |
|
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/_mesa_debug_vp_inst/_mesa_print_program/
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
7e807510d8c3e88ee7ae6c697393201cf08f992f |
|
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Unify vertex/fragment program instuctions. Based on patch by Ian (#4967) but also unify instruction opcodes.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
26b1c97a9dfba05334ecbe7ac312c7ee5b3a554e |
|
02-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Remove some ghost code and adjust things a bit.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
c3626a91cee5034528f3f92c802a8e5947ea5f92 |
|
01-Nov-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Several fp and vp tweaks: - Renumber VERT_RESULT_* values so that they match the numbers of the corresponding FRAG_ATTRIB_ values. - Add ctx->VertexProgram._Current and FragmentProgram._Current values which point to either the current client-supplied program if enabled, or otherwise to the current mesa-internal program. Thus this program is always the correct one for the current state, providing that the mesa flags to turn on automatic generation are enabled. - Add callbacks to ctx->Driver.BindProgram() in texenvprogram.c and t_vp_build.c so that the driver knows when the generated program changes. This is cleaner than trying to code all the possible _NEW_* flags into the driver, and more precise as well. - Add a UsesKill flag to identify fragment programs with that instruction, as these can require special treatment. - Move the FRAG_OUTPUT values to mtypes.h, near to similar defn's.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
3cf156df2b5561d52f3bdddf857fcc176e4134b5 |
|
01-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix segmentation fault in _tnl_ProgramCacheDestroy().
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
05051037101dfa053798cf5ad91d1975fd1aa6a7 |
|
01-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Re-org and clean-up of vertx/fragment program limits (instructions, temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
821b3dd562c0ec4560e50f29084c32653cf18c9d |
|
31-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Need more than 200 instructions.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
37f2eaa316d507b729ca392b651ae18ef92efcac |
|
31-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Improve tnl program searching performance.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
b3aefd1cfb6aacd1695c52911dd39da50d893ece |
|
19-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional wrapper updates, bug 4468
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
aa2069586d434dd0487b0daa2b583efe801a0d51 |
|
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use mesa import wrappers, bug 4468
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
94a4eb1e7806bfcb52f6cd48f8071238da7e2cf8 |
|
06-Aug-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Follow suggestion by Aapo Tahkola to fix giant memory leak from forgetting to free the key when entry was already found (presumably a common case).
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
60a6a0eb51a6cafc9f65bff8028510e0788cf311 |
|
22-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
some GLuint idx -> GLint idx changes
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
61e694f270d8a4a03a3245b5e6eea805915ed74b |
|
22-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Make the vertex program source register Index field a signed int since relative addressing can be negative. Change some GLuint indexes to GLint in the t_vp_build.c file. Added PROGRAM_UNDEFINED token for initializing the register File field to avoid a gcc 4.0 warning.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
c43f03e38dd4bfbcbc0cc8414e2bacfbffad08a1 |
|
27-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make create_new_program() static
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
38332a6d94d4f9541bff939522230731f1705e04 |
|
19-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Define __FUNCTION__ as a preprocessor symbol in glheader.h if we're not using GCC or VMS.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
fb818a0b115afaf43a5a3a32e649c86165ccc366 |
|
14-Jun-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . OpenVMS updates Modified Files: Mesa/src/mesa/tnl/descrip.mms Mesa/src/mesa/tnl/t_vp_build.c ----------------------------------------------------------------------
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
447697885634a92ffc3b9da2a23407406406af97 |
|
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
remove debug prints
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
6c1948d593e0be6ddd49f73cb3966e679eb83c37 |
|
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo in spot attenuation
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
729cccba5d20e3b34e7168ffff7515f52c72c26e |
|
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Correct test for attenuation. DISSASEM changes.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
f6e7cfb60d3c4ceb2242cbc57c7e87c3c8e362fe |
|
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix colormaterial flag calculations. Fix lighting alpha result.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
1c48986e540f573c63b98470f52338dba6353cea |
|
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix a couple of buglets
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
a8534885efb13ec7f071192c1504513cd90d07de |
|
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Build vertex programs using state from a 'state key' struct which is distilled from the current state. Maintain a list of vertex programs for various different tnl states indexed by these state keys. This cuts down the number of vertex programs generated and means that time spent optimizing vertex programs for execution isn't wasted each time the state changes.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
96582f4f28851f55f6726d1bba8a7f2616c327a4 |
|
18-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Eliminate a couple of swizzles.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
ae818ed1da5ba8bbe06fe35b916a851750ef9080 |
|
17-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't include strings.h
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
5f430c9976c71d7167f9327623e1df5fce53a970 |
|
12-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Turn disassem off (oops).
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
10432bcc0a2c89916bc98921bcf01e0fbb422dc5 |
|
12-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
When lighting is enabled, but no lights are enabled, the scenecolor becomes the result of lighting. When lighting is disabled, pass-through incoming color value. Likewise, pass through incoming texture values. (Based on patch by Aapo Tahkola) Add compile-time configuration to switch between DP4 and MUL/MAD for matrix-vector multiplications.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
49d8cbe8d110e5c0a23300b5b82d110286bc3609 |
|
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Use _mesa_memset rather than memset
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
3509fd8c1b38d955a066a2bad429dbfba162fa30 |
|
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename temp_flag to temp_in_use. Use ctx->Const.MaxVertexProgramTemps rather than MAX_NV_VERTEX_PROGRAM_TEMPS and deal with this possibly being greater than 32.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
2fcaf7a529f1e8bbdfbea6c8d9d6703adf5f17ba |
|
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Ensure programs don't overflow allocated instruction store.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
5a5b4436cb71575884f76bc079156f77e30d72a7 |
|
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Improved detection of program changes.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
dbeea25bb834479a29712100888c862348112018 |
|
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Double-buffer generated instructions and only notify driver when the generated program differs from the previous one.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
d9fdb6c2bb52b4909265f504287ee8e4bc2d919f |
|
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Missing from previous commit
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
47b29f511a8e917c65536fde90397d54d2ad23d3 |
|
04-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a facility to route all rasterization through a fragment program which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
5f534aa1e2c53360bb1ae42fb196e41aa29d0d3d |
|
29-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Format for 80 columns. Add alternate matrix mul based on MAD rather than DP4.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
6f973f33679e034b7cb63806f1ddfabdbdd70123 |
|
22-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify the pipeline_stage structure - remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|
f069e5e412eebabe64286d35598173caac5c132e |
|
21-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Facility to construct a vertex program which executes the current fixed function t&l pipeline. Currently runs most of the Mesa demos OK, but still needs debugging & polishing.
/external/mesa3d/src/mesa/tnl/t_vp_build.c
|