Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s/Negate/NegateBase/ | Brian Paul | 2005-11-05 | 1 | -20/+20 |
| | |||||
* | s/TexSrcIdx/TexSrcTarget/ | Brian Paul | 2005-11-05 | 1 | -2/+2 |
| | |||||
* | Unify vertex/fragment program instuctions. | Brian Paul | 2005-11-05 | 31 | -1067/+1170 |
| | | | | Based on patch by Ian (#4967) but also unify instruction opcodes. | ||||
* | remove unneeded #includes | Brian Paul | 2005-11-05 | 4 | -8/+0 |
| | |||||
* | remove unneeded #include | Brian Paul | 2005-11-05 | 3 | -5/+0 |
| | |||||
* | Fix broken build. | Aapo Tahkola | 2005-11-05 | 1 | -10/+14 |
| | |||||
* | don't need MAKE_SWIZZLE() macro | Brian Paul | 2005-11-05 | 2 | -7/+6 |
| | |||||
* | Replace parameter_type enum in program.[ch], use register_file enums instead. | Brian Paul | 2005-11-05 | 4 | -34/+28 |
| | |||||
* | minor improvements in _mesa_init_teximage_fields() | Brian Paul | 2005-11-05 | 1 | -9/+9 |
| | |||||
* | use VERT_RESULT_HPOS, VERT_BIT_POS tokens | Brian Paul | 2005-11-04 | 1 | -5/+5 |
| | |||||
* | better ffs() function (bug 4956) | Brian Paul | 2005-11-04 | 1 | -6/+20 |
| | |||||
* | just pass ctx to do_ndc_cliptest() rather than stuffing it in the ↵ | Brian Paul | 2005-11-04 | 2 | -8/+6 |
| | | | | arb_vp_machine struct | ||||
* | MESA_GLX_ALPHA_BITS env var to force visual with alpha channel | Brian Paul | 2005-11-04 | 1 | -2/+19 |
| | |||||
* | remove unneeded HIDDEN definition (bug 4956) | Brian Paul | 2005-11-04 | 2 | -28/+0 |
| | |||||
* | fix MinGW problems (bug 4956) | Brian Paul | 2005-11-04 | 3 | -8/+18 |
| | |||||
* | Streamline code generation by using a fixed size instruction buffer in | Brian Paul | 2005-11-03 | 4 | -79/+54 |
| | | | | arb_program struct. | ||||
* | use WRITEMASK_* tokens | Brian Paul | 2005-11-03 | 2 | -12/+12 |
| | |||||
* | s/15/VERT_RESULT_MAX/ | Brian Paul | 2005-11-03 | 2 | -3/+4 |
| | |||||
* | added a const, clean-up | Brian Paul | 2005-11-03 | 2 | -12/+16 |
| | |||||
* | fix typo, minor clean-ups | Brian Paul | 2005-11-03 | 1 | -5/+5 |
| | |||||
* | implement USE_MGL_NAMESPACE for x86-64 dispatch code (Mark Bolstad) | Brian Paul | 2005-11-02 | 2 | -3448/+3466 |
| | |||||
* | Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention | Brian Paul | 2005-11-02 | 7 | -27/+30 |
| | |||||
* | Committing in . | Jouk Jansen | 2005-11-02 | 1 | -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 Tahkola | 2005-11-02 | 1 | -1/+1 |
| | |||||
* | Remove some ghost code and adjust things a bit. | Aapo Tahkola | 2005-11-02 | 1 | -11/+2 |
| | |||||
* | First step of Radeon DRI unification: | Eric Anholt | 2005-11-02 | 30 | -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. | ||||
* | Fix broken tnl stage. | Aapo Tahkola | 2005-11-01 | 1 | -0/+3 |
| | |||||
* | Add a NotifyInputChanges() callback so that drivers (particularly tnl | Keith Whitwell | 2005-11-01 | 2 | -0/+9 |
| | | | | | drivers) can track when the sizes or strides of incoming VB->AttribPtr arrays have changed. | ||||
* | Several fp and vp tweaks: | Keith Whitwell | 2005-11-01 | 7 | -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 Tahkola | 2005-11-01 | 4 | -78/+40 |
| | |||||
* | -Fix first frame -bug | Aapo Tahkola | 2005-11-01 | 6 | -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 Tahkola | 2005-11-01 | 2 | -13/+13 |
| | |||||
* | Re-org and clean-up of vertx/fragment program limits (instructions, | Brian Paul | 2005-11-01 | 14 | -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 Paul | 2005-10-31 | 7 | -21/+55 |
| | |||||
* | check swrast->_FogEnabled instead of ctx->Fog.Enabled | Brian Paul | 2005-10-31 | 6 | -16/+24 |
| | |||||
* | Need more than 200 instructions. | Aapo Tahkola | 2005-10-31 | 1 | -1/+1 |
| | |||||
* | Improve tnl program searching performance. | Aapo Tahkola | 2005-10-31 | 2 | -17/+62 |
| | |||||
* | Simplify parse_attrib_binding(). | Brian Paul | 2005-10-30 | 1 | -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 Paul | 2005-10-30 | 5 | -231/+250 |
| | | | | Use new _mesa_init_fp/vp_instruction() function to initialize instructions. | ||||
* | need to use absolute value for RSQ | Brian Paul | 2005-10-30 | 1 | -1/+2 |
| | |||||
* | added some assertions to catch unexpected swizzle values in cvp_emit_arg(), ↵ | Brian Paul | 2005-10-29 | 1 | -0/+7 |
| | | | | currently fails sometimes | ||||
* | Use MAKE_SWIZZLE4() macro in a few more places. | Brian Paul | 2005-10-29 | 1 | -119/+98 |
| | | | | Clean up the parse_extended_swizzle_mask() and parse_swizzle_mask() functions. | ||||
* | reduced swizzle comment | Brian Paul | 2005-10-29 | 1 | -0/+4 |
| | |||||
* | Free old parameter list before assigning new one. FIxes memory leak. | Brian Paul | 2005-10-29 | 2 | -3/+13 |
| | |||||
* | added warning about use of REG_SCRATCH | Brian Paul | 2005-10-29 | 1 | -1/+1 |
| | |||||
* | clean-up comments | Brian Paul | 2005-10-29 | 1 | -6/+9 |
| | |||||
* | s/lenght/length/ | Brian Paul | 2005-10-29 | 1 | -2/+2 |
| | |||||
* | fix LIT bug | Brian Paul | 2005-10-29 | 1 | -1/+9 |
| | |||||
* | fix a few bugs in SWZ execution | Brian Paul | 2005-10-29 | 1 | -5/+5 |
| | |||||
* | fix errors in RoughApproxPower(), do_LIT(), _tnl_program_string() | Brian Paul | 2005-10-29 | 1 | -11/+12 |
| |