summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s/dri.sourceforge.net/dri.freedesktop.org/Adam Jackson2005-11-033-5/+5
|
* Streamline code generation by using a fixed size instruction buffer inBrian Paul2005-11-034-79/+54
| | | | arb_program struct.
* use WRITEMASK_* tokensBrian Paul2005-11-032-12/+12
|
* s/15/VERT_RESULT_MAX/Brian Paul2005-11-032-3/+4
|
* added a const, clean-upBrian Paul2005-11-032-12/+16
|
* fix typo, minor clean-upsBrian Paul2005-11-031-5/+5
|
* added osdemos/ dir to DEMO_FILESBrian Paul2005-11-021-0/+2
|
* implement USE_MGL_NAMESPACE for x86-64 dispatch code (Mark Bolstad)Brian Paul2005-11-022-3448/+3466
|
* Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program conventionBrian Paul2005-11-027-27/+30
|
* Committing in .Jouk Jansen2005-11-021-2/+3
| | | | | | | Updated OpenVMS compile support (define tnl for include files) Modified Files: Mesa/src/mesa/drivers/common/descrip.mms ----------------------------------------------------------------------
* Use ctx->VertexProgram._Current .Aapo Tahkola2005-11-021-1/+1
|
* Remove some ghost code and adjust things a bit.Aapo Tahkola2005-11-021-11/+2
|
* More useful ARL testKeith Whitwell2005-11-021-3/+3
|
* First step of Radeon DRI unification:Eric Anholt2005-11-0230-1990/+608
| | | | | | | | | | | | - Makes all three drivers use the same screen structure and setup code, with a few ifdefs for the separate compilation to deal with symbols not being available to all drivers and the fact that we have no mechanism for dealing with different config options for different chip families in the same driver. These issues should be dealt with later. - Introduces IS_R[123]00_CLASS(radeonScreenPtr) macro for code for taking different paths depending on the general class of chipset. - Adds many new R300-class PCI IDs, though not all those listed in radeon_driver.c.
* add an arl testKeith Whitwell2005-11-012-1/+10
|
* Fix broken tnl stage.Aapo Tahkola2005-11-011-0/+3
|
* Add a NotifyInputChanges() callback so that drivers (particularly tnlKeith Whitwell2005-11-012-0/+9
| | | | | drivers) can track when the sizes or strides of incoming VB->AttribPtr arrays have changed.
* Several fp and vp tweaks:Keith Whitwell2005-11-017-100/+156
| | | | | | | | | | | | | | | | | | | | | | - 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.
* Re-enable fallbacks.Aapo Tahkola2005-11-014-78/+40
|
* -Fix first frame -bugAapo Tahkola2005-11-016-81/+109
| | | | | | | -Use 16-bit elts in vtxfmt_a path if possible -Optimize VSF param uploading -return in r300DepthMask looks suspicious, use r300Enable instead -Dont use r300ResetHwState in invalidate state(disabled, missing hooks, possible instabilities)
* Fix segmentation fault in _tnl_ProgramCacheDestroy().Aapo Tahkola2005-11-012-13/+13
|
* Make colors match the fp tests (really)Keith Whitwell2005-11-011-2/+2
|
* Make colors match the fp testsKeith Whitwell2005-11-011-2/+2
|
* standalone tests for vp instructionsKeith Whitwell2005-11-0127-0/+408
|
* Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul2005-11-0114-238/+283
| | | | | | | 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.
* fix problems found with gcc 2.96 (bug 4934)Brian Paul2005-10-317-21/+55
|
* check swrast->_FogEnabled instead of ctx->Fog.EnabledBrian Paul2005-10-316-16/+24
|
* Need more than 200 instructions.Aapo Tahkola2005-10-311-1/+1
|
* Improve tnl program searching performance.Aapo Tahkola2005-10-312-17/+62
|
* Simplify parse_attrib_binding().Brian Paul2005-10-301-98/+49
| | | | | | Now only use VERT_ATTRIB_* and FRAG_ATTRIB_* tokens instead of hard-coded numbers. Note: previous check-in did similarly for output register parsing.
* Lots of clean-up in arb program parser.Brian Paul2005-10-305-231/+250
| | | | Use new _mesa_init_fp/vp_instruction() function to initialize instructions.
* need to use absolute value for RSQBrian Paul2005-10-301-1/+2
|
* added some assertions to catch unexpected swizzle values in cvp_emit_arg(), ↵Brian Paul2005-10-291-0/+7
| | | | currently fails sometimes
* Use MAKE_SWIZZLE4() macro in a few more places.Brian Paul2005-10-291-119/+98
| | | | Clean up the parse_extended_swizzle_mask() and parse_swizzle_mask() functions.
* reduced swizzle commentBrian Paul2005-10-291-0/+4
|
* Free old parameter list before assigning new one. FIxes memory leak.Brian Paul2005-10-292-3/+13
|
* added warning about use of REG_SCRATCHBrian Paul2005-10-291-1/+1
|
* clean-up commentsBrian Paul2005-10-291-6/+9
|
* s/lenght/length/Brian Paul2005-10-291-2/+2
|
* fix LIT bugBrian Paul2005-10-291-1/+9
|
* fix a few bugs in SWZ executionBrian Paul2005-10-291-5/+5
|
* fix errors in RoughApproxPower(), do_LIT(), _tnl_program_string()Brian Paul2005-10-291-11/+12
|
* If parsing a program fails, don't change the vertex/fragment program object.Brian Paul2005-10-294-54/+52
| | | | | | Specifically, don't attach a dummy program. This change also fixes an occasional segfault. Some code clean-ups. Use GLboolean instead of GLuint to return pass/fail.
* Bug #4901: Correct secondary color emission when lighting is turned off, testedEric Anholt2005-10-292-6/+8
| | | | | | with seccolor on rv200 and r200. Submitted by: sroland
* Add new test "texfilt". This test is a cousin to texwrap. Instead ofIan Romanick2005-10-282-3/+402
| | | | | | | | testing various texture wrap modes, this test examines various texture filter modes, including anisotropic. Add CFLAGS to a couple places in Makefile so that 32-bit builds on 64-bit archs will work correctly.
* Keith's fixes for RSW and XPD (need temporaries)Brian Paul2005-10-281-9/+22
|
* include tnl.h to silence warningBrian Paul2005-10-281-1/+2
|
* Added assert that result != arg0 in do_RSW. This currently fails and needs ↵Brian Paul2005-10-281-0/+2
| | | | fixing.
* TNL module needs to implement ctx->Driver.ProgramStringNotify() functionBrian Paul2005-10-283-0/+22
| | | | | so that calls to glProgramStringARB() to specify a new program causes the TNL-attached data to get recomputed.
* add newline at end of fileBrian Paul2005-10-283-3/+3
|