summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2005-11-23fixed wrong return value in radeonShowSurfaceMESA()Brian Paul
2005-11-22Use correct enums for program output variables. FixesKeith Whitwell
fp/tri-depthwrite.
2005-11-21bit 31 of this inserts a nop after the current instructionDave Airlie
2005-11-21get rid of some of those unknowns figured out from reg dumperDave Airlie
2005-11-20s/Saturate/SaturateMode/Brian Paul
2005-11-20Make Saturate a 2-bit field again, renamed to SaturateMode with threeBrian Paul
possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE.
2005-11-19in run_texnorm_stage() check if the texture unit is really enabled before ↵Brian Paul
trying to normalize the texcoords
2005-11-19update some varsBrian Paul
2005-11-19No longer derive 'ati_fragment_shader' from 'program' class. Only theBrian Paul
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.
2005-11-19remove #include arbfragparse.hBrian Paul
2005-11-19remove #include arbfragparse.h, s/PI/M_PI/Brian Paul
2005-11-18Try to detect when native support to given texture width is not available.Aapo Tahkola
2005-11-16Fixes for x86_64 Unichrome.Thomas Hellström
2005-11-16Bring in last minute 6_4 branch changes to the unichrome driverThomas Hellström
to the trunk.
2005-11-12Move stuff common to vertex/fragment_program into the base class, including:Brian Paul
Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
2005-11-09Bug 4996.Brian Paul
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.
2005-11-07s/_mesa_debug_fp_inst/_mesa_print_program/Brian Paul
2005-11-05s/Negate/NegateBase/Brian Paul
2005-11-05s/TexSrcIdx/TexSrcTarget/Brian Paul
2005-11-05Unify vertex/fragment program instuctions.Brian Paul
Based on patch by Ian (#4967) but also unify instruction opcodes.
2005-11-05Fix broken build.Aapo Tahkola
2005-11-02Use ctx->VertexProgram._Current .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-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-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-29Bug #4901: Correct secondary color emission when lighting is turned off, testedEric Anholt
with seccolor on rv200 and r200. Submitted by: sroland
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
2005-10-28GC a bit of dead code I noticed while looking at texwrap.Eric Anholt
2005-10-28Correct the ordering of the blend constant color.Eric Anholt
2005-10-27Add support for GL_EXT_stencil_wrap, from hearing that the windows drivers didEric Anholt
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.
2005-10-27Bug #1028: Add hardware-accelerated stencil support to r128. Testing withEric Anholt
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
2005-10-27Bug #4900: Fix the non-fogcoord fog test on r100 (and rv200) at tcl_mode=1 byEric Anholt
flipping the signs on two factors. While this contradicts the DDK, it matches what r200 does, and it fixes the test.
2005-10-27Add support for HW stencil spans, mirroring the depth spans support. Used forEric Anholt
Rage 128 stencil support.
2005-10-27Bump driver date for recent extension adds.Eric Anholt
2005-10-26Cover my arse.Aapo Tahkola
2005-10-26Reduce stderr noise and fix some compiler warnings.Aapo Tahkola
2005-10-26Remove few outdated r200 files.Aapo Tahkola
2005-10-26Sync with my local tree.Aapo Tahkola
Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
2005-10-26Fix invalid vsf temp count for rv350.Aapo Tahkola
2005-10-26Fix the RGB order of the specular color emit, and turn GL_EXT_secondary_colorEric Anholt
back on. Tested using seccolor modified to use the blue channel instead of green, since green stays in the same place across RGB/BGR mistakes. Also hook in UpdateSpecular on COLOR_EXT change, which might have resulted in missing statechanges before.
2005-10-26Add support for GL_EXT_fog_coord, tested using tests/fog.c. (Also, matches theEric Anholt
output from indirect rendering).
2005-10-26Add disabled support for GL_EXT_fog_coord. While it seems correct to me, it'sEric Anholt
not respecting the coords (or perhaps interpreting them differently?) in my testing. However, in the process it led to a fix of a secondary color handling issue where it would be taken from the wrong offset, I believe, based off of reading the r200 driver. Also add a minor tweak to save time in the fog-but-not-specular case.
2005-10-25Move the front.offset setting above a check to shortcut reallocating buffers ifEric Anholt
width and height stayed the same. Rely on front.offset pointing at the origin in the window (rather than the origin of the front buffer), and fix the coords in swapbuffers, which were wrong. This is different from other drivers because we've got a back buffer with a 0,0 origin at the window's origin, which makes it more convenient to have the front buffer match it.