summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2005-11-04MESA_GLX_ALPHA_BITS env var to force visual with alpha channelBrian Paul
2005-11-04remove unneeded HIDDEN definition (bug 4956)Brian Paul
2005-11-04fix MinGW problems (bug 4956)Brian Paul
2005-11-03Streamline code generation by using a fixed size instruction buffer inBrian Paul
arb_program struct.
2005-11-03use WRITEMASK_* tokensBrian Paul
2005-11-03s/15/VERT_RESULT_MAX/Brian Paul
2005-11-03added a const, clean-upBrian Paul
2005-11-03fix typo, minor clean-upsBrian Paul
2005-11-02implement USE_MGL_NAMESPACE for x86-64 dispatch code (Mark Bolstad)Brian Paul
2005-11-02Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program conventionBrian Paul
2005-11-02 Committing in .Jouk Jansen
Updated OpenVMS compile support (define tnl for include files) Modified Files: Mesa/src/mesa/drivers/common/descrip.mms ----------------------------------------------------------------------
2005-11-02Use ctx->VertexProgram._Current .Aapo Tahkola
2005-11-02Remove some ghost code and adjust things a bit.Aapo Tahkola
2005-11-02First step of Radeon DRI unification:Eric Anholt
- 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.
2005-11-01Fix broken tnl stage.Aapo Tahkola
2005-11-01Add a NotifyInputChanges() callback so that drivers (particularly tnlKeith Whitwell
drivers) can track when the sizes or strides of incoming VB->AttribPtr arrays have changed.
2005-11-01Several fp and vp tweaks:Keith Whitwell
- 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.
2005-11-01Re-enable fallbacks.Aapo Tahkola
2005-11-01-Fix first frame -bugAapo Tahkola
-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)
2005-11-01Fix segmentation fault in _tnl_ProgramCacheDestroy().Aapo Tahkola
2005-11-01Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul
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.
2005-10-31fix problems found with gcc 2.96 (bug 4934)Brian Paul
2005-10-31check swrast->_FogEnabled instead of ctx->Fog.EnabledBrian Paul
2005-10-31Need more than 200 instructions.Aapo Tahkola
2005-10-31Improve tnl program searching performance.Aapo Tahkola
2005-10-30Simplify parse_attrib_binding().Brian Paul
Now only use VERT_ATTRIB_* and FRAG_ATTRIB_* tokens instead of hard-coded numbers. Note: previous check-in did similarly for output register parsing.
2005-10-30Lots of clean-up in arb program parser.Brian Paul
Use new _mesa_init_fp/vp_instruction() function to initialize instructions.
2005-10-30need to use absolute value for RSQBrian Paul
2005-10-29added some assertions to catch unexpected swizzle values in cvp_emit_arg(), ↵Brian Paul
currently fails sometimes
2005-10-29Use MAKE_SWIZZLE4() macro in a few more places.Brian Paul
Clean up the parse_extended_swizzle_mask() and parse_swizzle_mask() functions.
2005-10-29reduced swizzle commentBrian Paul
2005-10-29Free old parameter list before assigning new one. FIxes memory leak.Brian Paul
2005-10-29added warning about use of REG_SCRATCHBrian Paul
2005-10-29clean-up commentsBrian Paul
2005-10-29s/lenght/length/Brian Paul
2005-10-29fix LIT bugBrian Paul
2005-10-29fix a few bugs in SWZ executionBrian Paul
2005-10-29fix errors in RoughApproxPower(), do_LIT(), _tnl_program_string()Brian Paul
2005-10-29If parsing a program fails, don't change the vertex/fragment program object.Brian Paul
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.
2005-10-29Bug #4901: Correct secondary color emission when lighting is turned off, testedEric Anholt
with seccolor on rv200 and r200. Submitted by: sroland
2005-10-28Keith's fixes for RSW and XPD (need temporaries)Brian Paul
2005-10-28include tnl.h to silence warningBrian Paul
2005-10-28Added assert that result != arg0 in do_RSW. This currently fails and needs ↵Brian Paul
fixing.
2005-10-28TNL module needs to implement ctx->Driver.ProgramStringNotify() functionBrian Paul
so that calls to glProgramStringARB() to specify a new program causes the TNL-attached data to get recomputed.
2005-10-28add newline at end of fileBrian Paul
2005-10-28Silence gcc-4 warnings.Aapo Tahkola
2005-10-28Fix texture mixup when two or more contexts.Aapo Tahkola
2005-10-28fix missing commit for span changesDave Airlie
2005-10-28fix up radeon span functions using latest r200 code from Brian,Dave Airlie
tested with reflect on 32-bit.. not sure why depthHasSurface isn't needed
2005-10-28Compiled arrays for vtxfmt_a path.Aapo Tahkola