summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix the RGB order of the specular color emit, and turn GL_EXT_secondary_colorEric Anholt2005-10-263-17/+6
| | | | | | | 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.
* Add support for GL_EXT_fog_coord, tested using tests/fog.c. (Also, matches theEric Anholt2005-10-261-0/+2
| | | | output from indirect rendering).
* Add built programs to .cvsignore.Eric Anholt2005-10-261-0/+52
|
* Add a fog mode (normal and fog_coord, leaner/exp/exp2 mode) testing program IEric Anholt2005-10-262-0/+200
| | | | wrote for sis, which has also exposed a few bugs elsewhere.
* Add disabled support for GL_EXT_fog_coord. While it seems correct to me, it'sEric Anholt2005-10-264-17/+35
| | | | | | | | 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.
* Move the front.offset setting above a check to shortcut reallocating buffers ifEric Anholt2005-10-252-5/+6
| | | | | | | | 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.
* Initial add of some (disabled) SiS 6326 drawing code integrated from Alan Cox'sEric Anholt2005-10-2511-58/+1894
| | | | | | | | 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.
* updates from 6.4 branchBrian Paul2005-10-245-30/+155
|
* Cut a bunch of code by not trying to precompute the blit commands and insteadEric Anholt2005-10-249-289/+83
| | | | | just do it per blit. No noticable performance difference (or behavior difference, in my tests), and a significant difference in sanity.
* In the last commit I added in a fatal error on unknown base formats so IEric Anholt2005-10-241-0/+14
| | | | | | 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.
* Fix and enable GL_MESA_ycbcr_texture. Looks fine with yuvrect. I'm slightlyEric Anholt2005-10-243-3/+33
| | | | | concerned that TEXEL_YUV422 looks like TEXEL_YVU422 and TEXEL_VUY422 looks like TEXEL_VYU422 in yuvrect, but I'm happy enough for now.
* Add support for GL_EXT_secondary_color, tested with seccolor test.Eric Anholt2005-10-245-17/+50
|
* Turn off the AGP dispatch path yet again, as it seems to be broken (found withEric Anholt2005-10-241-1/+1
| | | | tuxracer and the upcoming support for secondary color).
* fragment program writing to result.depth.z was brokenBrian Paul2005-10-242-15/+31
|
* Add RV350 AQ chip. (popolon at popolon dot org)Adam Jackson2005-10-241-0/+2
|
* Since we memcpy texture data synchronously to the card, idle the engine beforeEric Anholt2005-10-241-0/+4
| | | | | we start copying. I haven't seen it go wrong before, but I'm pretty sure this fix is correct.
* - Add a few more hardware internal formats that are supported. Some remainingEric Anholt2005-10-244-41/+135
| | | | | | | | 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.
* Fix the GL_BLEND case (and remove the fallback associated with it) by convertingEric Anholt2005-10-242-27/+16
| | | | the float values to bytes before packing them. Tested with texenv.
* Fix texenv by moving a misplaced check for being in fallback (should cover onlyEric Anholt2005-10-241-2/+5
| | | | | render state, not texture state). While here, move a SIS_FIREVERTICES to a more appropriate location, though it was harmless.
* Add support for GL_ARB_texture_border_clamp and GL_ARB_texture_mirrored_repeat,Eric Anholt2005-10-242-24/+29
| | | | | | | 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).
* Fix a typo in a fallback string.Eric Anholt2005-10-241-1/+1
|
* Add support for GL_EXT_stencil_wrap by guessing that the skip of two values inEric Anholt2005-10-244-7/+32
| | | | | | | | 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.
* disable yuv textures (GL_MESA_ycbcr_texture) on rv250 (hw bug, #2078). ↵Roland Scheidegger2005-10-221-48/+55
| | | | Change the initialization to fail if an unknown pci id is detected, instead of accepting all values which are not r100-based radeons.
* Fix FreeBSD build by building libGL in the order desired, and doing a fix to myEric Anholt2005-10-222-2/+3
| | | | mklib changes.
* fix GLX server resize/crash when resizing windowsBrian Paul2005-10-213-2/+4
|
* check span.y >=0 (bug 4842)Brian Paul2005-10-211-1/+4
|
* new depth testsKeith Whitwell2005-10-214-0/+441
|
* simplify, remove sgi messagesKeith Whitwell2005-10-2138-1966/+111
|
* Darwin version fix (SF bug 1334274)Brian Paul2005-10-211-1/+1
|
* fix broken SWZ instructionBrian Paul2005-10-212-12/+13
|
* fix broken KILBrian Paul2005-10-211-2/+4
|
* better looking testsKeith Whitwell2005-10-212-2/+7
|
* Make test visibleKeith Whitwell2005-10-211-1/+2
|
* Better looking test.Keith Whitwell2005-10-211-1/+1
|
* add the tile bits for offset, and unk bit 31 of sizeDave Airlie2005-10-211-0/+3
|
* restore FASTCALL stuffBrian Paul2005-10-205-7/+25
|
* fix bad loops in TransposeMatrix[fd]()Brian Paul2005-10-201-2/+2
|
* A bunch of little tests which exercise each ARB_fp instruction plusKeith Whitwell2005-10-2038-0/+6031
| | | | a couple of other interesting cases.
* added mm.c mm.h execmem.cBrian Paul2005-10-201-0/+12
|
* fix another renderbuffer wrapping bugBrian Paul2005-10-201-4/+3
|
* Disable the FASTCALL optimization because it still breaks server-side GLX.Brian Paul2005-10-205-25/+7
|
* Bump driver dates for the crasher fixes yesterday.Eric Anholt2005-10-202-2/+2
|
* descrip.mms syntax correctionJouk Jansen2005-10-201-1/+1
|