cbdc1d53542b3ecca0085399c4bb3b3371f94809 |
|
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
swrast: Support sampler object for texture fetching state swrast needs to pass sampler object into all texture fetching functions to use correct sampling state when sampler object is bound to the unit. The changes were made using half manual regular expression replace. v2: Fix NULL deref in _swrast_choose_triangle(), because the _Current values aren't set yet, so we need to look at our texObj2D. (anholt) Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
4bbab2275f792553f8ed6bcebfe6acc4cb4179c2 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
tnl: remove ctx->Driver.Map/UnmapTexture() calls ctx->Driver.MapTexture() always points to _swrast_map_texture(). We're already reaching into swrast from t_vb_program.c anyway. This will let us remove the ctx->Driver.Map/UnmapTexture() functions.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
dca6a28a14f22d77273d79d44f57b0d853c0242d |
|
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Make gl_program::InputsRead 64 bits. Make gl_program::InputsRead a 64 bits bitfield. Adapt the intel and radeon driver to handle a 64 bits InputsRead value. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
68da4b50e9b6aa72a9b155f650952620063e1b94 |
|
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add swrast_texture_image::Buffer In the past, swrast_texture_image::Data has been overloaded. It could either point to malloc'd memory storing texture data, or it could point to a current mapping of GPU memory. Now, Buffer always points to malloc'd memory (if we're not using GPU memory) and Data always points to mapped memory. The next step would be to rename Data -> Map. This change also involves adding swrast functions for mapping textures and renderbuffers prior to rendering to setup the Data pointer. Plus, corresponding functions to unmap texures and renderbuffers. This is very much like similar code in the dri drivers.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
793d29d6d3fd0df72aabe4648bf6814ec2d4aecd |
|
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
tnl: fix result vector allocation regression We need to allocate all the output vectors. Fixes a regression from commit f7f678331d5e95d2266fe6b3ea1cfa47d6421065 Fixes fd.o bugs 41441 and 41492.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
f7f678331d5e95d2266fe6b3ea1cfa47d6421065 |
|
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
tnl: Delay results allocation until we actually need them. Decreases i965 peak memory allocation for a trivial shader program from 23,483,048B to 21,932,128B, since we never actually use tnl for rendering.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
9520f483b8f1e45fa474674b415554988de5d8d3 |
|
01-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/INLINE/inline/ INLINE is still seen in some files (some generated files, etc) but this is a good start. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
652901e95b4ed406293d0e1fabee857c054119b1 |
|
15-Jan-2011 |
Brian Paul <brianp@vmware.com> |
Merge branch 'draw-instanced' Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
|
6577f753b278878eeb965964b381812c7b950083 |
|
13-Dec-2010 |
Brian Paul <brianp@vmware.com> |
tnl: a better way to initialize the gl_program_machine memory This improves commit ef3f7e61b314236cbb7ed2cf24d34c6f90d9cfca NOTE: This is a candidate for the 7.9 and 7.10 branches.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
ef3f7e61b314236cbb7ed2cf24d34c6f90d9cfca |
|
10-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Initialize gl_program_machine memory in run_vp. Fixes piglit valgrind glsl-array-bounds-04 failure (FDO bug 29946). NOTE: This is a candidate for the 7.10 branch. This is a candidate for the 7.9 branch.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
a63486ac680acc0bfb895037aca130a457caa01a |
|
10-Dec-2010 |
Brian Paul <brianp@vmware.com> |
tnl: implement instanced drawing
/external/mesa3d/src/mesa/tnl/t_vb_program.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_vb_program.c
|
f4511c4835879090ce7e6afe3ac26b98fb91899a |
|
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Reduce header file inclusion in t_context.h. t_context.h Remove m_matrix.h and m_xform.h. t_vb_program.c Include m_xform.h. t_vb_render.c Include m_xform.h.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
3cc471e429675e82fcc37c6efa2c5e880d811b84 |
|
31-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Remove unnecessary headers.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
ec2b92f98c2e7f161521b447cc1d9a36bce3707c |
|
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
99ae9e8d7d57ae37629754edd5b1e3716611827f |
|
19-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop macro wrappers for the aligned memory functions
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
e197de56cdb86835f1437688a9161cd909792d80 |
|
19-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace old MEMCPY macro with memcpy
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
4ac9c80e5beea26e13ccf12ce6bd9ee051c229f5 |
|
05-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: change ctx->Driver.ProgramStringNotify() to return GLboolean GL_TRUE indicates that the driver accepts the program. GL_FALSE indicates the program can't be compiled/translated by the driver for some reason (too many resources used, etc). Propogate this result up to the GL API: set GL_INVALID_OPERATION error if glProgramString() was called. Set shader program link status to GL_FALSE if glLinkProgram() was called. At this point, drivers still don't do any program checking and always return GL_TRUE.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
b01ffb12ed82dcf435b186e2aff35e344a8a6ebe |
|
14-Jan-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
|
264f4101cd52ad5b22a85f8f4709bd7b38b8d8e2 |
|
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Remove unnecessary header from t_vb_program.c.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
fd70841121475d7aad98812d6bf9c9c67567b89a |
|
08-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
|
8485811f10142f54756d876ebe91193bfc8f8a0e |
|
07-Jan-2010 |
Brian Paul <brianp@vmware.com> |
tnl: set FOGC result to (f,0,0,1) Fixed FDO bug 23397.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
37c79d4d765b10a79e0cf217cc1e70d3fbb7a0c5 |
|
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
0a9187801505130738ae947c69cafa8a1dd118d1 |
|
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
df582ca767a38f185f9b4c449e7ed4266c414ae2 |
|
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
5606dfb572bf4b89b4882265924705bacc8c182b |
|
18-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'outputswritten64' Add a GLbitfield64 type and several macros to operate on 64-bit fields. The OutputsWritten field of gl_program is changed to use that type. This results in a fair amount of fallout in drivers that use programs. No changes are strictly necessary at this point as all bits used are below the 32-bit boundary. Fairly soon several bits will be added for clip distances written by a vertex shader. This will cause several bits used for varyings to be pushed above the 32-bit boundary. This will affect any drivers that support GLSL. At this point, only the i965 driver has been modified to support this eventuality. I did this as a "squash" merge. There were several places through the outputswritten64 branch where things were broken. I foresee this causing difficulties later for bisecting. The history is still available in the branch. Conflicts: src/mesa/drivers/dri/i965/brw_wm.h
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
286611d99060c38c4cc12f18fde5448213e2a44b |
|
23-Oct-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Revert "Store clipping distance for user clip planes as part of vertex processing" This reverts commit f058b25881e08c9d89a33345e5c84e1357396932. This change is completely wrong in so many ways. When clip distances are generated as part of vertex processing, they must be interpolated to perform clipping. Geometric clipping goes right out the window.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
f058b25881e08c9d89a33345e5c84e1357396932 |
|
09-Oct-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Store clipping distance for user clip planes as part of vertex processing Once the clipping distance is calculated and stored per vertex, the distances can be re-used when clipping is actually performed. This doesn't have any immediate benefit, but it paves the way for implementing gl_ClipDistance in vertex shaders and result.clip[] in vertex programs. This has not produces any oglconform regressions on my G31 system which uses software TNL. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
3fed69eb168774d2303e4efb9149f34e55d91b58 |
|
09-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move call to init_c_cliptest() from enable.c to tnl module. Fixed gallium build breakage.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
b4922b533155cc139ebafb111502bb55d2ad2ccf |
|
26-Aug-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for ARB_depth_clamp. This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
53dfd5d87074cefb9258fbe4dbc916fd18597116 |
|
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
tnl: if NAN_CHECK is enabled, also assert that pos.x != 0
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
4f4280b4356210e503aa5756db0a13dfb8253661 |
|
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
tnl: add some floating point sanity checks (disabled)
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
882cd6c839e56a3eceb8edf62f83893f6b531d35 |
|
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove MAX_VERTEX_PROGRAM_ATTRIBS Use MAX_VERTEX_GENERIC_ATTRIBS instead. No need for two #defines for the same quantity.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
de2afd8688ceb45013d15be7c6e0995199b80e5a |
|
08-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: do texture sampling/combining in floating point The code's cleaner and a step toward supporting float-valued texture sampling. Some optimizations for common cases can be added and re-enabled...
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
634d2af2b01f4e7ce8fa3ff65f64a446f859821a |
|
01-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
init machine->Samplers (fixes vertex program texture fetches)
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
61fbc816570820757afdbc3cd04cd475b337ad4f |
|
29-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
New ctx->Driver.Map/UnmapTexture() functions for accessing textures from t_vb_program.c
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
a2ab143b751b85ecb6b9807982ef6dab254f4b93 |
|
28-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
cleanups, comments
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
a7e1b4456a08d84c976bd260d018ca88f35867e4 |
|
28-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.c
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
dab7c810e99e8fd2a7c8ba5cdbdc2fb6502647b3 |
|
15-Nov-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix position invariant vertex programs for sw-tnl do the same math as for fixed function pipe, including user clip planes. (mostly resurrected from the dead t_vb_arbprogram.c code)
/external/mesa3d/src/mesa/tnl/t_vb_program.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_vb_program.c
|
60d136f63c5a5a18b12952ec8e8532cbce086a4d |
|
03-May-2007 |
Brian <brian@yutani.localnet.net> |
changes to get DDX/DDY working again
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
04bda46739beb0dab7c8820bdbe67136470d42be |
|
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Enable texture sampling for vertex programs/shaders. This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
36949abec763e56a5356b65e2f2570cfed11d853 |
|
17-Apr-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
cleanups for t_vb_program.c use VertexProgram._Current instead of VertexProgram.Current in a few more places. Only fixup fogc and psiz in case this is really a nv program (others are fine if undefined), and fix this case up so the values actually get written.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
4b3835dadf37267ad5fba8ffd675e826d3691f9a |
|
16-Apr-2007 |
Brian <brian@yutani.localnet.net> |
unhook t_vb_arbprogram.c code - it's going away
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
d6d6d20b137b23c1c28ca64f7781213f7df36e9a |
|
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
init machine->StackDepth=0
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
8b34b7da4131d2b07037ce062c522fddd614f127 |
|
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
remove 'maxInst' parameter from _mesa_execute_program()
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
085d7d59f0e167bb546c4a1675e09631b14fc9f7 |
|
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
remove unused 'element' parameter from _mesa_execute_program()
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
12fd8faa5dd10457b2360493e9a56ab12659f282 |
|
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
s/attribs/results/
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
e71a33bbf87649150bc748b85ca7213af7c737f4 |
|
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Optimize the loop for copying output results.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
9854a17f292193c9720cf25ab00818ecc210f911 |
|
25-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
only copy used outputs
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
197af3dc3242af4cac5213e095ac6639f6c782cd |
|
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Use prog_execute.c to run vertex programs until t_vb_arbprogram.c is updated to handle branch instructions, etc.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
36a0ee199ddc5f29273f9761eeed8e18ad5c874f |
|
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
expose _mesa_load_tracked_matrices()
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
e382efc85d02ee5a0c582e1a9d9bc35ad262e70b |
|
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
use new _mesa_execute_program() function
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
60a7200c0de7fc2925430b466739b4021087d14c |
|
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
updated includes
/external/mesa3d/src/mesa/tnl/t_vb_program.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_vb_program.c
|
a23e668d40b10236fcf5ca83fdbda93ab36fa86f |
|
30-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h. Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
81968ec49d9e06be0e095fa0084aa61b68b23d75 |
|
11-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
a step toward moving run-time vertex program state out of GLcontext
/external/mesa3d/src/mesa/tnl/t_vb_program.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_vb_program.c
|
62e1fae858509615c6e54e0b9388cfa2691a5919 |
|
14-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
A number of vertex buffer fields like NormalPtr, FogCoordPtr, etc are really just aliases for members of the VB->AttribPtr[] array. Begin replacing FogCoordPtr with VB->AttribPtr[_TNL_ATTRIB_FOG], and similarly for NormalPtr, TexCoordPtr, PointSizePtr, etc.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
bd1e587ebe053b5a6d3b8cc3597b226d670f4667 |
|
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some unneeded #includes
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
ee4e75bd6f768b7210436feeb32b4545ed62e025 |
|
14-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units in various places. Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image limits when referenced, not just in glActiveTexture().
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
51faca127005c41277df76bc8eafc8fd64ca0673 |
|
07-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rename CLIP_ALL_BITS to CLIP_FRUSTUM_BITS to reflect the fact that the value only includes the 6 frustum bits, not the user-clip plane bit, nor the vertex cull bit.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
071357096e682e9af59ad45ea5abc444ab431837 |
|
21-Mar-2006 |
Michal Krol <mjkrol@gmail.org> |
GLSL fixes: - generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
a2ea606377ed5679dc513eabcf2d398216b47d61 |
|
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Add ARB_vertex_shader stage just before render stage. If enabled, all other stages, except render, are disabled.
/external/mesa3d/src/mesa/tnl/t_vb_program.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_vb_program.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_vb_program.c
|
81032030ff42dd78133d85f7cabab5fb4c9aaf1e |
|
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Store compiled vertex program representations in a pointer in the vertex_program struct. Allow switching between regular and vertex_program implementations of fixed function TNL with the MESA_TNL_PROG environment var (previously this required recompilation). Ensure program compilation only references program data, not the wider context. This means that compiled programs only need to be invalidated when the program string changes, not on other state changes.
/external/mesa3d/src/mesa/tnl/t_vb_program.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_vb_program.c
|
fff3b2f318a1d05228d0128f59fe556652c70dda |
|
02-Mar-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
use COPY_CLEAN_4V macro to replace using both ASSIGN_4V & COPY_SZ_4V
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
b97e478fe90f612041e27852eb8c95f45467bde8 |
|
10-Feb-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa-tnl-0-to-NULL.patch from Jeff Muizelaar
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
6d460af6af77a0d5a5b568bcd6094b98e249ba93 |
|
23-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
05a6f2fd484bab59c6e6a381f58808adc26619f1 |
|
21-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix up some assorted issues with initialization of vertex program registers. Some need to be set per-vertex, other per-primitive. Cleared that up. Only need to init temp/result registers if executing an NV vertex program.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
588225770c60834dfd2a95850435cc549167dc05 |
|
05-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Beef up t_vertex.c: - cope with input vectors with size less than that of the emitted attribute. - cope with vertices with 'holes' inside and between vertices. Fix calculation of tnl->render_inputs to work with fp programs. Mirror VB->PointSizePtr in VB->AttribPtr so that it can work with t_vertex.c. Transition swrast_setup/ to use t_vertex.c to build swrast vertices.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
790734045b69c47b1525fbf9106a7ca5a8eb7416 |
|
05-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Re-commit t_vertex.[ch] changes to fd.o server.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
ae0eaf93e092ac8e8b1c98f3e986de96940663fa |
|
24-Nov-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge vtx-0-2-branch
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
148a2847a105ce9d9189ad3081091de60f803a33 |
|
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
More work on ARB_vertex_buffer_object. Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
f2dd273322cc9ec0cfe80a609f9a1e5db5931e2e |
|
17-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Re-org of register files for vertex/fragment programs. Will be easier to hook in global state references, etc. for ARB programs.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
071a4ddd92229b102b0b67410303505681114cd7 |
|
08-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize attribute vectors to 4 components
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
0e7f2952fe6cb3fb61cd734b184c39b42fe104af |
|
07-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix color array mixup
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
b0e90cc839c6b7fcd3bd76759862eb3bc423e50a |
|
03-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
more memory-related fixes
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
27558a160a9fe91745728d7626995cd88f8fe339 |
|
01-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
610d59981a9f43fefe29b34ef19c184d28e2bef5 |
|
14-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
First batch of code for GL_NV_fragment_program. Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
e0e6bd7ae11c40e5141b2fb700a3e4bc186e1357 |
|
31-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix the occasional missing triangle bug
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
3c63452e64df7e10aa073c6c3b9492b1d7dabbb8 |
|
25-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Header file clean-up: 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
3efe5beefc9f9665c565f1ec5e74287b12c117e9 |
|
08-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix up resulting FOGC and PSIZ when needed
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
d65e0beb688210a74a9814dd86c896262c5f03de |
|
23-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
set stage->inputs properly (I think), plus debug/comment updates
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
12bab63f09975504c20a5dc9b9831a8072c43506 |
|
21-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Vertex program attribute arrays seem to work now. This includes fallbacks to the conventional arrays when attribute arrays aren't enabled.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
4d030ba65177842dbc022160ba18d5451dc140e4 |
|
04-Apr-2002 |
Karl Schultz <kschultz@freedesktop.org> |
casts to silence compiler warnings
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
4c8fadc6d996c8c433826c4c763104b7d69cf7e5 |
|
22-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Clean-up/renaming of the per-vertex attribute bits, specifically, the VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
166718f7499b41f5fbab2c5d69b75174ef9fe66b |
|
12-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated some comments
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
571a1ac6eead573777b990b31fce16987d894adb |
|
06-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
implemented vertex program point size control
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
363049160da54f4aafe88f99bb2140a9bfed142b |
|
06-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Another vertex program checkpoint: clean-up of vertex attribute storage in vertex_buffer. Improved vertex program pipeline stage such that output registers can be processed in a loop. Getting closer to where we need to be in order to implement performance optimizations...
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
bd1a9dacf6a45e6aa6954eeb490d55ebcc80ace8 |
|
05-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Vertex program checkpoint commit: converted all vertex attributes (color, normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
30f51ae067379c2b3573c06b707d25a9704df7be |
|
18-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace old matrix stacks with new code based on struct matrix_stack. Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
e3a0f3982421aa8773735e9727b12bba8af6610a |
|
15-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
divide by W and clipping now work - in pretty good shape now
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
56790ced1a1896244afcfeceb77f25b7c5b8991a |
|
15-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
temporary hack for divide by W
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
c3d90f3211d3214722a60c46ec5cef7c65836b39 |
|
15-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable debug printf's, fix a crash
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|
86b842790b720cd6b1499ce8edca8a4e9c8dc029 |
|
14-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
vertex program check-in
/external/mesa3d/src/mesa/tnl/t_vb_program.c
|