summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Use correct enums for program output variables. FixesKeith Whitwell2005-11-221-2/+2
| | | | fp/tri-depthwrite.
* bit 31 of this inserts a nop after the current instructionDave Airlie2005-11-211-1/+1
|
* get rid of some of those unknowns figured out from reg dumperDave Airlie2005-11-212-5/+20
|
* s/Saturate/SaturateMode/Brian Paul2005-11-201-1/+1
|
* Make Saturate a 2-bit field again, renamed to SaturateMode with threeBrian Paul2005-11-202-2/+2
| | | | possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE.
* in run_texnorm_stage() check if the texture unit is really enabled before ↵Brian Paul2005-11-191-50/+52
| | | | trying to normalize the texcoords
* update some varsBrian Paul2005-11-191-5/+5
|
* No longer derive 'ati_fragment_shader' from 'program' class. Only theBrian Paul2005-11-191-0/+3
| | | | | program->Id and program->RefCount fields were used and ATI fragment shaders didn't have too much in common with ARB/NV vertex/fragment programs anyway.
* remove #include arbfragparse.hBrian Paul2005-11-191-1/+0
|
* remove #include arbfragparse.h, s/PI/M_PI/Brian Paul2005-11-191-9/+4
|
* Try to detect when native support to given texture width is not available.Aapo Tahkola2005-11-181-0/+8
|
* Fixes for x86_64 Unichrome.Thomas Hellström2005-11-165-19/+26
|
* Bring in last minute 6_4 branch changes to the unichrome driverThomas Hellström2005-11-1611-256/+95
| | | | to the trunk.
* Added OSMesaColorClamp(), bug 4917Brian Paul2005-11-121-0/+16
|
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-128-98/+48
| | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
* Bug 4996.Brian Paul2005-11-092-2/+2
| | | | | Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc.
* Move COPY_FLOAT() macro down into glide driver.Brian Paul2005-11-091-0/+2
| | | | | Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended.
* s/_mesa_debug_fp_inst/_mesa_print_program/Brian Paul2005-11-071-3/+3
|
* s/Negate/NegateBase/Brian Paul2005-11-051-20/+20
|
* s/TexSrcIdx/TexSrcTarget/Brian Paul2005-11-051-2/+2
|
* Unify vertex/fragment program instuctions.Brian Paul2005-11-056-130/+128
| | | | Based on patch by Ian (#4967) but also unify instruction opcodes.
* Fix broken build.Aapo Tahkola2005-11-051-10/+14
|
* MESA_GLX_ALPHA_BITS env var to force visual with alpha channelBrian Paul2005-11-041-2/+19
|
* 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
|
* 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.
* Fix broken tnl stage.Aapo Tahkola2005-11-011-0/+3
|
* 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)
* Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul2005-11-013-25/+42
| | | | | | | 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
|
* 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
* TNL module needs to implement ctx->Driver.ProgramStringNotify() functionBrian Paul2005-10-281-0/+2
| | | | | so that calls to glProgramStringARB() to specify a new program causes the TNL-attached data to get recomputed.
* Silence gcc-4 warnings.Aapo Tahkola2005-10-281-3/+3
|
* Fix texture mixup when two or more contexts.Aapo Tahkola2005-10-281-4/+5
|
* fix missing commit for span changesDave Airlie2005-10-281-0/+1
|
* fix up radeon span functions using latest r200 code from Brian,Dave Airlie2005-10-282-177/+178
| | | | tested with reflect on 32-bit.. not sure why depthHasSurface isn't needed
* Compiled arrays for vtxfmt_a path.Aapo Tahkola2005-10-285-28/+85
|
* GC a bit of dead code I noticed while looking at texwrap.Eric Anholt2005-10-281-7/+0
|
* Correct the ordering of the blend constant color.Eric Anholt2005-10-282-3/+4
|
* Add support for GL_EXT_stencil_wrap, from hearing that the windows drivers didEric Anholt2005-10-273-17/+25
| | | | | | | it, and guessing that the two remaining entries in the 3-bit values were the new funcs. Tested with modified stencilwrap test. Also, remove the commented fallback stuff -- more modification to stencilwrap suggests that those issues were just from span readback, not stencil implementation.
* Bug #1028: Add hardware-accelerated stencil support to r128. Testing withEric Anholt2005-10-276-16/+367
| | | | | | | | | | | | stencilwrap reported many issues with various modes. Some of these were complicated by the fact that spans are broken (Bug #1615), but some appear to be real bugs. However, while spans remain broken, I found that visual results were better by avoiding fallbacks rather than avoiding just a broken stencil implementation. Note that this required changing the depth spans at 24+8bpp into read-modify-write cycles. It would be nicer as a single write with a mask, but the kernel span blits turn off masking. Reviewed by: ajax
* Bug #4900: Fix the non-fogcoord fog test on r100 (and rv200) at tcl_mode=1 byEric Anholt2005-10-271-2/+8
| | | | | flipping the signs on two factors. While this contradicts the DDK, it matches what r200 does, and it fixes the test.
* Add support for HW stencil spans, mirroring the depth spans support. Used forEric Anholt2005-10-271-2/+51
| | | | Rage 128 stencil support.
* Bump driver date for recent extension adds.Eric Anholt2005-10-271-1/+1
|
* Cover my arse.Aapo Tahkola2005-10-261-1/+1
|
* Reduce stderr noise and fix some compiler warnings.Aapo Tahkola2005-10-267-345/+33
|
* Remove few outdated r200 files.Aapo Tahkola2005-10-265-108/+4
|
* Sync with my local tree.Aapo Tahkola2005-10-2616-156/+1898
| | | | | | Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
* Fix invalid vsf temp count for rv350.Aapo Tahkola2005-10-261-3/+3
|