summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 built programs to .cvsignore.Eric Anholt
2005-10-26Add a fog mode (normal and fog_coord, leaner/exp/exp2 mode) testing program IEric Anholt
wrote for sis, which has also exposed a few bugs elsewhere.
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.
2005-10-25Initial add of some (disabled) SiS 6326 drawing code integrated from Alan Cox'sEric Anholt
last drop I saw, which was in turn based on a code drop of mine. Texturing, culling, and several extensions are unimplemented, and some features could probably be improved. It's untested, but there don't appear to be regressions on the 300-series code, so I'd like to get these bits in now so that it can be worked on as not a huge diff.
2005-10-24updates from 6.4 branchBrian Paul
2005-10-24Cut a bunch of code by not trying to precompute the blit commands and insteadEric Anholt
just do it per blit. No noticable performance difference (or behavior difference, in my tests), and a significant difference in sanity.
2005-10-24In the last commit I added in a fatal error on unknown base formats so IEric Anholt
wouldn't get confused when adding support for new formats. However, it resulted in dying in texenv instead of drawing something undefined for GL_DECAL. Do what GLcore apparently does and just pass the fragment through.
2005-10-24Fix and enable GL_MESA_ycbcr_texture. Looks fine with yuvrect. I'm slightlyEric Anholt
concerned that TEXEL_YUV422 looks like TEXEL_YVU422 and TEXEL_VUY422 looks like TEXEL_VYU422 in yuvrect, but I'm happy enough for now.
2005-10-24Add support for GL_EXT_secondary_color, tested with seccolor test.Eric Anholt
2005-10-24Turn off the AGP dispatch path yet again, as it seems to be broken (found withEric Anholt
tuxracer and the upcoming support for secondary color).
2005-10-24fragment program writing to result.depth.z was brokenBrian Paul
2005-10-24Add RV350 AQ chip. (popolon at popolon dot org)Adam Jackson
2005-10-24Since we memcpy texture data synchronously to the card, idle the engine beforeEric Anholt
we start copying. I haven't seen it go wrong before, but I'm pretty sure this fix is correct.
2005-10-24- Add a few more hardware internal formats that are supported. Some remainingEric Anholt
ones require custom texstore, so they aren't done yet. - Add YCBCR support commented out, since the yuvsquare test didn't work with just the bits I've added. - Add the no-compression GL_ARB_texture_compression support. - Add the driconf texture depth option and try to respect it.
2005-10-24Fix the GL_BLEND case (and remove the fallback associated with it) by convertingEric Anholt
the float values to bytes before packing them. Tested with texenv.
2005-10-24Fix texenv by moving a misplaced check for being in fallback (should cover onlyEric Anholt
render state, not texture state). While here, move a SIS_FIREVERTICES to a more appropriate location, though it was harmless.
2005-10-24Add support for GL_ARB_texture_border_clamp and GL_ARB_texture_mirrored_repeat,Eric Anholt
tested using texwrap, fixing the sourcing of border constant values (use the bytes, not the floats!). Remove the fallback on GL_CLAMP_TO_EDGE, which acts properly, and add a note to GL_CLAMP about nonconformance (whcih is what the fallback for CLAMP_TO_EDGE was probably targeting).
2005-10-24Fix a typo in a fallback string.Eric Anholt
2005-10-24Add support for GL_EXT_stencil_wrap by guessing that the skip of two values inEric Anholt
the register header was meaningful. It turns out those were the proper values for the plain INCR/DECR ops, while what we were using as INCR/DECR were the _WRAP versions. Tested with stencil_wrap (didn't expose normal/_WRAP swapping) and stencilwrap (exposed it nicely) tests. Props to idr for poking me about adding this.
2005-10-22disable yuv textures (GL_MESA_ycbcr_texture) on rv250 (hw bug, #2078). ↵Roland Scheidegger
Change the initialization to fail if an unknown pci id is detected, instead of accepting all values which are not r100-based radeons.
2005-10-22Fix FreeBSD build by building libGL in the order desired, and doing a fix to myEric Anholt
mklib changes.
2005-10-21fix GLX server resize/crash when resizing windowsBrian Paul
2005-10-21check span.y >=0 (bug 4842)Brian Paul
2005-10-21new depth testsKeith Whitwell
2005-10-21simplify, remove sgi messagesKeith Whitwell
2005-10-21Darwin version fix (SF bug 1334274)Brian Paul
2005-10-21fix broken SWZ instructionBrian Paul
2005-10-21fix broken KILBrian Paul
2005-10-21better looking testsKeith Whitwell
2005-10-21Make test visibleKeith Whitwell
2005-10-21Better looking test.Keith Whitwell
2005-10-21add the tile bits for offset, and unk bit 31 of sizeDave Airlie
2005-10-20restore FASTCALL stuffBrian Paul
2005-10-20fix bad loops in TransposeMatrix[fd]()Brian Paul
2005-10-20A bunch of little tests which exercise each ARB_fp instruction plusKeith Whitwell
a couple of other interesting cases.
2005-10-20added mm.c mm.h execmem.cBrian Paul
2005-10-20fix another renderbuffer wrapping bugBrian Paul
2005-10-20Disable the FASTCALL optimization because it still breaks server-side GLX.Brian Paul
2005-10-20Bump driver dates for the crasher fixes yesterday.Eric Anholt