mesa.git
19 years agoGC a bit of dead code I noticed while looking at texwrap.
Eric Anholt [Fri, 28 Oct 2005 07:00:41 +0000 (07:00 +0000)]
GC a bit of dead code I noticed while looking at texwrap.

19 years agoCorrect the ordering of the blend constant color.
Eric Anholt [Fri, 28 Oct 2005 06:15:11 +0000 (06:15 +0000)]
Correct the ordering of the blend constant color.

19 years agoAdd support for GL_EXT_stencil_wrap, from hearing that the windows drivers did
Eric Anholt [Thu, 27 Oct 2005 21:21:05 +0000 (21:21 +0000)]
Add support for GL_EXT_stencil_wrap, from hearing that the windows drivers did
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.

19 years agoBug #1028: Add hardware-accelerated stencil support to r128. Testing with
Eric Anholt [Thu, 27 Oct 2005 20:26:24 +0000 (20:26 +0000)]
Bug #1028: Add hardware-accelerated stencil support to r128.  Testing with
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

19 years agoBug #4900: Fix the non-fogcoord fog test on r100 (and rv200) at tcl_mode=1 by
Eric Anholt [Thu, 27 Oct 2005 19:59:41 +0000 (19:59 +0000)]
Bug #4900: Fix the non-fogcoord fog test on r100 (and rv200) at tcl_mode=1 by
flipping the signs on two factors.  While this contradicts the DDK, it matches
what r200 does, and it fixes the test.

19 years agoAdd support for HW stencil spans, mirroring the depth spans support. Used for
Eric Anholt [Thu, 27 Oct 2005 06:01:50 +0000 (06:01 +0000)]
Add support for HW stencil spans, mirroring the depth spans support.  Used for
Rage 128 stencil support.

19 years agoBump driver date for recent extension adds.
Eric Anholt [Thu, 27 Oct 2005 01:46:39 +0000 (01:46 +0000)]
Bump driver date for recent extension adds.

19 years agoCover my arse.
Aapo Tahkola [Wed, 26 Oct 2005 18:02:37 +0000 (18:02 +0000)]
Cover my arse.

19 years agoReduce stderr noise and fix some compiler warnings.
Aapo Tahkola [Wed, 26 Oct 2005 17:55:28 +0000 (17:55 +0000)]
Reduce stderr noise and fix some compiler warnings.

19 years agoRemove few outdated r200 files.
Aapo Tahkola [Wed, 26 Oct 2005 17:04:15 +0000 (17:04 +0000)]
Remove few outdated r200 files.

19 years agoSync with my local tree.
Aapo Tahkola [Wed, 26 Oct 2005 16:42:06 +0000 (16:42 +0000)]
Sync with my local tree.
Changes to current operation:
-Elts are no longer converted to 16-bit format
-Cube maps

19 years agoFix invalid vsf temp count for rv350.
Aapo Tahkola [Wed, 26 Oct 2005 13:35:41 +0000 (13:35 +0000)]
Fix invalid vsf temp count for rv350.

19 years agoFix the RGB order of the specular color emit, and turn GL_EXT_secondary_color
Eric Anholt [Wed, 26 Oct 2005 10:46:49 +0000 (10:46 +0000)]
Fix the RGB order of the specular color emit, and turn GL_EXT_secondary_color
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.

19 years agoAdd support for GL_EXT_fog_coord, tested using tests/fog.c. (Also, matches the
Eric Anholt [Wed, 26 Oct 2005 10:11:34 +0000 (10:11 +0000)]
Add support for GL_EXT_fog_coord, tested using tests/fog.c.  (Also, matches the
output from indirect rendering).

19 years agoAdd built programs to .cvsignore.
Eric Anholt [Wed, 26 Oct 2005 09:53:38 +0000 (09:53 +0000)]
Add built programs to .cvsignore.

19 years agoAdd a fog mode (normal and fog_coord, leaner/exp/exp2 mode) testing program I
Eric Anholt [Wed, 26 Oct 2005 09:48:03 +0000 (09:48 +0000)]
Add a fog mode (normal and fog_coord, leaner/exp/exp2 mode) testing program I
wrote for sis, which has also exposed a few bugs elsewhere.

19 years agoAdd disabled support for GL_EXT_fog_coord. While it seems correct to me, it's
Eric Anholt [Wed, 26 Oct 2005 09:37:53 +0000 (09:37 +0000)]
Add disabled support for GL_EXT_fog_coord.  While it seems correct to me, it's
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.

19 years agoMove the front.offset setting above a check to shortcut reallocating buffers if
Eric Anholt [Tue, 25 Oct 2005 21:10:28 +0000 (21:10 +0000)]
Move the front.offset setting above a check to shortcut reallocating buffers if
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.

19 years agoInitial add of some (disabled) SiS 6326 drawing code integrated from Alan Cox's
Eric Anholt [Tue, 25 Oct 2005 20:37:01 +0000 (20:37 +0000)]
Initial add of some (disabled) SiS 6326 drawing code integrated from Alan Cox's
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.

19 years agoupdates from 6.4 branch
Brian Paul [Mon, 24 Oct 2005 23:33:27 +0000 (23:33 +0000)]
updates from 6.4 branch

19 years agoCut a bunch of code by not trying to precompute the blit commands and instead
Eric Anholt [Mon, 24 Oct 2005 22:38:11 +0000 (22:38 +0000)]
Cut a bunch of code by not trying to precompute the blit commands and instead
just do it per blit.  No noticable performance difference (or behavior
difference, in my tests), and a significant difference in sanity.

19 years agoIn the last commit I added in a fatal error on unknown base formats so I
Eric Anholt [Mon, 24 Oct 2005 22:23:52 +0000 (22:23 +0000)]
In the last commit I added in a fatal error on unknown base formats so I
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.

19 years agoFix and enable GL_MESA_ycbcr_texture. Looks fine with yuvrect. I'm slightly
Eric Anholt [Mon, 24 Oct 2005 22:01:40 +0000 (22:01 +0000)]
Fix and enable GL_MESA_ycbcr_texture.  Looks fine with yuvrect.  I'm slightly
concerned that TEXEL_YUV422 looks like TEXEL_YVU422 and TEXEL_VUY422 looks like
TEXEL_VYU422 in yuvrect, but I'm happy enough for now.

19 years agoAdd support for GL_EXT_secondary_color, tested with seccolor test.
Eric Anholt [Mon, 24 Oct 2005 21:30:06 +0000 (21:30 +0000)]
Add support for GL_EXT_secondary_color, tested with seccolor test.

19 years agoTurn off the AGP dispatch path yet again, as it seems to be broken (found with
Eric Anholt [Mon, 24 Oct 2005 21:19:06 +0000 (21:19 +0000)]
Turn off the AGP dispatch path yet again, as it seems to be broken (found with
tuxracer and the upcoming support for secondary color).

19 years agofragment program writing to result.depth.z was broken
Brian Paul [Mon, 24 Oct 2005 19:28:36 +0000 (19:28 +0000)]
fragment program writing to result.depth.z was broken

19 years agoAdd RV350 AQ chip. (popolon at popolon dot org)
Adam Jackson [Mon, 24 Oct 2005 17:42:55 +0000 (17:42 +0000)]
Add RV350 AQ chip.  (popolon at popolon dot org)

19 years agoSince we memcpy texture data synchronously to the card, idle the engine before
Eric Anholt [Mon, 24 Oct 2005 10:24:23 +0000 (10:24 +0000)]
Since we memcpy texture data synchronously to the card, idle the engine before
we start copying.  I haven't seen it go wrong before, but I'm pretty sure this
fix is correct.

19 years ago- Add a few more hardware internal formats that are supported. Some remaining
Eric Anholt [Mon, 24 Oct 2005 09:59:43 +0000 (09:59 +0000)]
- Add a few more hardware internal formats that are supported.  Some remaining
  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.

19 years agoFix the GL_BLEND case (and remove the fallback associated with it) by converting
Eric Anholt [Mon, 24 Oct 2005 09:02:07 +0000 (09:02 +0000)]
Fix the GL_BLEND case (and remove the fallback associated with it) by converting
the float values to bytes before packing them.  Tested with texenv.

19 years agoFix texenv by moving a misplaced check for being in fallback (should cover only
Eric Anholt [Mon, 24 Oct 2005 08:27:30 +0000 (08:27 +0000)]
Fix texenv by moving a misplaced check for being in fallback (should cover only
render state, not texture state).  While here, move a SIS_FIREVERTICES to a more
appropriate location, though it was harmless.

19 years agoAdd support for GL_ARB_texture_border_clamp and GL_ARB_texture_mirrored_repeat,
Eric Anholt [Mon, 24 Oct 2005 08:02:44 +0000 (08:02 +0000)]
Add support for GL_ARB_texture_border_clamp and GL_ARB_texture_mirrored_repeat,
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).

19 years agoFix a typo in a fallback string.
Eric Anholt [Mon, 24 Oct 2005 07:21:56 +0000 (07:21 +0000)]
Fix a typo in a fallback string.

19 years agoAdd support for GL_EXT_stencil_wrap by guessing that the skip of two values in
Eric Anholt [Mon, 24 Oct 2005 06:40:56 +0000 (06:40 +0000)]
Add support for GL_EXT_stencil_wrap by guessing that the skip of two values in
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.

19 years agodisable yuv textures (GL_MESA_ycbcr_texture) on rv250 (hw bug, #2078). Change the...
Roland Scheidegger [Sat, 22 Oct 2005 02:03:13 +0000 (02:03 +0000)]
disable yuv textures (GL_MESA_ycbcr_texture) on rv250 (hw bug, #2078). Change the initialization to fail if an unknown pci id is detected, instead of accepting all values which are not r100-based radeons.

19 years agoFix FreeBSD build by building libGL in the order desired, and doing a fix to my
Eric Anholt [Sat, 22 Oct 2005 01:41:40 +0000 (01:41 +0000)]
Fix FreeBSD build by building libGL in the order desired, and doing a fix to my
mklib changes.

19 years agofix GLX server resize/crash when resizing windows
Brian Paul [Fri, 21 Oct 2005 21:39:10 +0000 (21:39 +0000)]
fix GLX server resize/crash when resizing windows

19 years agocheck span.y >=0 (bug 4842)
Brian Paul [Fri, 21 Oct 2005 18:35:35 +0000 (18:35 +0000)]
check span.y >=0 (bug 4842)

19 years agonew depth tests
Keith Whitwell [Fri, 21 Oct 2005 18:34:22 +0000 (18:34 +0000)]
new depth tests

19 years agosimplify, remove sgi messages
Keith Whitwell [Fri, 21 Oct 2005 18:33:53 +0000 (18:33 +0000)]
simplify, remove sgi messages

19 years agoDarwin version fix (SF bug 1334274)
Brian Paul [Fri, 21 Oct 2005 15:39:42 +0000 (15:39 +0000)]
Darwin version fix (SF bug 1334274)

19 years agofix broken SWZ instruction
Brian Paul [Fri, 21 Oct 2005 15:22:36 +0000 (15:22 +0000)]
fix broken SWZ instruction

19 years agofix broken KIL
Brian Paul [Fri, 21 Oct 2005 14:22:38 +0000 (14:22 +0000)]
fix broken KIL

19 years agobetter looking tests
Keith Whitwell [Fri, 21 Oct 2005 10:27:37 +0000 (10:27 +0000)]
better looking tests

19 years agoMake test visible
Keith Whitwell [Fri, 21 Oct 2005 10:07:52 +0000 (10:07 +0000)]
Make test visible

19 years agoBetter looking test.
Keith Whitwell [Fri, 21 Oct 2005 08:34:06 +0000 (08:34 +0000)]
Better looking test.

19 years agoadd the tile bits for offset, and unk bit 31 of size
Dave Airlie [Fri, 21 Oct 2005 06:20:27 +0000 (06:20 +0000)]
add the tile bits for offset, and unk bit 31 of size

19 years agorestore FASTCALL stuff
Brian Paul [Thu, 20 Oct 2005 22:51:50 +0000 (22:51 +0000)]
restore FASTCALL stuff

19 years agofix bad loops in TransposeMatrix[fd]()
Brian Paul [Thu, 20 Oct 2005 22:04:01 +0000 (22:04 +0000)]
fix bad loops in TransposeMatrix[fd]()

19 years agoA bunch of little tests which exercise each ARB_fp instruction plus
Keith Whitwell [Thu, 20 Oct 2005 21:40:23 +0000 (21:40 +0000)]
A bunch of little tests which exercise each ARB_fp instruction plus
a couple of other interesting cases.

19 years agoadded mm.c mm.h execmem.c
Brian Paul [Thu, 20 Oct 2005 21:29:32 +0000 (21:29 +0000)]
added mm.c mm.h execmem.c

19 years agofix another renderbuffer wrapping bug
Brian Paul [Thu, 20 Oct 2005 21:25:41 +0000 (21:25 +0000)]
fix another renderbuffer wrapping bug

19 years agoDisable the FASTCALL optimization because it still breaks server-side GLX.
Brian Paul [Thu, 20 Oct 2005 21:12:35 +0000 (21:12 +0000)]
Disable the FASTCALL optimization because it still breaks server-side GLX.

19 years agoBump driver dates for the crasher fixes yesterday.
Eric Anholt [Thu, 20 Oct 2005 20:11:46 +0000 (20:11 +0000)]
Bump driver dates for the crasher fixes yesterday.

19 years ago descrip.mms syntax correction
Jouk Jansen [Thu, 20 Oct 2005 13:06:03 +0000 (13:06 +0000)]
descrip.mms syntax correction

19 years agofixes for r300_tex.c from Aapo Tahkola
Dave Airlie [Thu, 20 Oct 2005 06:06:18 +0000 (06:06 +0000)]
fixes for r300_tex.c from Aapo Tahkola

19 years agos/glut_gz2/glut_bz2/
Brian Paul [Wed, 19 Oct 2005 20:26:13 +0000 (20:26 +0000)]
s/glut_gz2/glut_bz2/

19 years agoMake SiS a little more like other drivers: Add SIS_DEBUG (only option being
Eric Anholt [Wed, 19 Oct 2005 03:23:29 +0000 (03:23 +0000)]
Make SiS a little more like other drivers: Add SIS_DEBUG (only option being
"fall" so far) and make the fallback_force option be no_rast like other drivers.
Incidentally, makes no_rast not crash (though it still fails to render).

19 years agoRemove some long-dead code.
Eric Anholt [Wed, 19 Oct 2005 03:07:05 +0000 (03:07 +0000)]
Remove some long-dead code.

19 years agoFix a missed merge for idr's dispatch changes: failure to do driInitExtensions
Eric Anholt [Wed, 19 Oct 2005 02:46:42 +0000 (02:46 +0000)]
Fix a missed merge for idr's dispatch changes: failure to do driInitExtensions
in __driCreateNewScreen_20050727 resulted in crashing in dispatch.

19 years agoupdated for new mm.c, execmem.c files
Brian Paul [Wed, 19 Oct 2005 01:28:14 +0000 (01:28 +0000)]
updated for new mm.c, execmem.c files

19 years agos/memcpy/_mesa_memcpy/, s/FREE/_mesa_free/
Brian Paul [Wed, 19 Oct 2005 01:26:48 +0000 (01:26 +0000)]
s/memcpy/_mesa_memcpy/, s/FREE/_mesa_free/

19 years agoBug #4615: Fix the SiS driver for the renderbuffer changes. Previously, all
Eric Anholt [Wed, 19 Oct 2005 00:53:05 +0000 (00:53 +0000)]
Bug #4615: Fix the SiS driver for the renderbuffer changes.  Previously, all
drirenderbuffers pointed at screen offset 0 and NULL.  Instead, set up the front
buffer at startup but leave the others for later, since sis allocates them on
demand rather than using the static method of the other non-sis-descendent
drivers.  Some basic apps work, but fallbacks may be broken still.

19 years agoFix a missed merge for idr's dispatch changes: failure to do driInitExtensions
Eric Anholt [Tue, 18 Oct 2005 23:48:59 +0000 (23:48 +0000)]
Fix a missed merge for idr's dispatch changes: failure to do driInitExtensions
in __driCreateNewScreen_20050727 resulted in crashing in dispatch.  Rendering
remains broken.

19 years agoAttempt to fix libGL on FreeBSD, where the library was being built without any
Eric Anholt [Tue, 18 Oct 2005 23:36:40 +0000 (23:36 +0000)]
Attempt to fix libGL on FreeBSD, where the library was being built without any
dependencies, breaking builds of third-party software.

19 years agomove _mesa_exec_malloc/free() up near other malloc/free prototypes
Brian Paul [Tue, 18 Oct 2005 15:02:45 +0000 (15:02 +0000)]
move _mesa_exec_malloc/free() up near other malloc/free prototypes

19 years agoLots of clean-ups. Replace __inline__ with INLINE macro. Use the
Brian Paul [Tue, 18 Oct 2005 15:01:19 +0000 (15:01 +0000)]
Lots of clean-ups.  Replace __inline__ with INLINE macro.  Use the
_mesa_calloc(), _mesa_free() functions.  Clean-up formatting, doxygen-style
comments.

19 years agoAdd _mesa_exec_malloc() and _mesa_exec_free() for allocating
Keith Whitwell [Tue, 18 Oct 2005 13:29:59 +0000 (13:29 +0000)]
Add _mesa_exec_malloc() and _mesa_exec_free() for allocating
executable memory.  Based on Thomas Hellstrom's patch.
TODO: glapi.c also needs this, but cannot access this code.

19 years agoon r200, don't emit fog coords when fog isn't actually enabled. Fix bug with vtxfmt...
Roland Scheidegger [Tue, 18 Oct 2005 13:09:53 +0000 (13:09 +0000)]
on r200, don't emit fog coords when fog isn't actually enabled. Fix bug with vtxfmt not causing a fallback when fog coords are active.

19 years agoadded some header files to DRI_FILES (Donnie Berkholz)
Brian Paul [Mon, 17 Oct 2005 22:38:44 +0000 (22:38 +0000)]
added some header files to DRI_FILES (Donnie Berkholz)

19 years agoadd GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses fallback...
Roland Scheidegger [Mon, 17 Oct 2005 00:54:12 +0000 (00:54 +0000)]
add GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses fallback) yet. May cause a tcl fallback if fog coord is used together with separate specular lighting. Fog factors are precomputed and then submitted instead of the raw coords (chip limitation, same as on r200).

19 years agofix some obvious typos in radeon_reg.h (only currently unused bits affected)
Roland Scheidegger [Sun, 16 Oct 2005 22:45:59 +0000 (22:45 +0000)]
fix some obvious typos in radeon_reg.h (only currently unused bits affected)

19 years agoenable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just generates...
Roland Scheidegger [Sat, 15 Oct 2005 23:45:53 +0000 (23:45 +0000)]
enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.

19 years agofix two bugs wrt calculating max possible texture sizes for texture rectangles/cube...
Roland Scheidegger [Sat, 15 Oct 2005 01:07:59 +0000 (01:07 +0000)]
fix two bugs wrt calculating max possible texture sizes for texture rectangles/cube maps.

19 years agoenable 3rd texture unit on radeon (default still 2 enabled units). Disable some multi...
Roland Scheidegger [Thu, 13 Oct 2005 14:30:20 +0000 (14:30 +0000)]
enable 3rd texture unit on radeon (default still 2 enabled units). Disable some multitexcoord codegen stuff noone understands to make it work. Replace most code testing explicitly for unit 0 and 1 with loops instead of adding test for unit 2, smaller/more readable code at the cost of maybe some slight performance hit. (Code provided by Andreas Stenglein, some adjustments by me.)

19 years agomake sure texture matrix is updated often enough with texture rectangles
Roland Scheidegger [Thu, 13 Oct 2005 00:35:51 +0000 (00:35 +0000)]
make sure texture matrix is updated often enough with texture rectangles

19 years agofix potential bug when emitting elts with lots of components
Roland Scheidegger [Thu, 13 Oct 2005 00:33:46 +0000 (00:33 +0000)]
fix potential bug when emitting elts with lots of components

19 years agoremove unused _mesa_log2() (bug 4468)
Brian Paul [Wed, 12 Oct 2005 19:46:48 +0000 (19:46 +0000)]
remove unused _mesa_log2() (bug 4468)

19 years agochange includes (bug 4468)
Brian Paul [Wed, 12 Oct 2005 19:46:29 +0000 (19:46 +0000)]
change includes (bug 4468)

19 years agofix GLAPI/extern problem (bug 4757)
Brian Paul [Wed, 12 Oct 2005 19:37:38 +0000 (19:37 +0000)]
fix GLAPI/extern problem (bug 4757)

19 years agoMinor driver cleanup. Remove unnecessery/unneded radeon/r200AllocDmaRegionVerts funct...
Roland Scheidegger [Tue, 11 Oct 2005 17:55:54 +0000 (17:55 +0000)]
Minor driver cleanup. Remove unnecessery/unneded radeon/r200AllocDmaRegionVerts function. No longer compile the radeon_compat stuff which was for drm 1.1 compatibility presumably but unused since about forever into the driver.

19 years agoifdef out some code to make glapi.c linkable in libglx.so (on the
Ian Romanick [Tue, 11 Oct 2005 16:56:39 +0000 (16:56 +0000)]
ifdef out some code to make glapi.c linkable in libglx.so (on the
server).  This isn't strictly needed yet, but it doesn't hurt anything
either.  However, the patches for fd.o bug #2996 require this to build.

19 years agocheck for PIXMAP in clip routine (SF bug 1323215)
Brian Paul [Tue, 11 Oct 2005 01:21:40 +0000 (01:21 +0000)]
check for PIXMAP in clip routine (SF bug 1323215)

19 years agofixed constant fogcoord bug (#4729)
Brian Paul [Mon, 10 Oct 2005 18:39:34 +0000 (18:39 +0000)]
fixed constant fogcoord bug (#4729)

19 years agoAdd 'get' data for glGetFramebufferAttachmentParameterivEXT enums.
Ian Romanick [Mon, 10 Oct 2005 17:11:02 +0000 (17:11 +0000)]
Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums.

Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro.

19 years agodo not set format of the incoming vertices needed for fog_coord in the generic state...
Roland Scheidegger [Sat, 8 Oct 2005 23:41:20 +0000 (23:41 +0000)]
do not set format of the incoming vertices needed for fog_coord in the generic state functions. This is done in the vtxfmt/hwtcl/swtcl pathes respectively.

19 years agoremove code dealing with drm versions older than 1.3. The driver requires (and reques...
Roland Scheidegger [Sat, 8 Oct 2005 23:36:35 +0000 (23:36 +0000)]
remove code dealing with drm versions older than 1.3. The driver requires (and requests) 1.3 since quite some time already to work at all.

19 years agochange test for presence of accum buffer
Brian Paul [Sat, 8 Oct 2005 21:36:38 +0000 (21:36 +0000)]
change test for presence of accum buffer

19 years agoQuery/print GL_RED/GREEN/BLUE/ALPHA_BITS
Brian Paul [Sat, 8 Oct 2005 14:42:51 +0000 (14:42 +0000)]
Query/print GL_RED/GREEN/BLUE/ALPHA_BITS

19 years agoFix some issues with state updates and renderbuffers. Querying GL_RED_BITS,
Brian Paul [Sat, 8 Oct 2005 14:41:17 +0000 (14:41 +0000)]
Fix some issues with state updates and renderbuffers.  Querying GL_RED_BITS,
etc. after calling glRenderBufferStorageEXT gave undefined results.

19 years agoMATH_DEBUG changes from bug #4468.
Brian Paul [Fri, 7 Oct 2005 17:18:51 +0000 (17:18 +0000)]
MATH_DEBUG changes from bug #4468.

19 years agoPopulate arb_fp_instruction negate field correctly.
Keith Whitwell [Fri, 7 Oct 2005 09:55:26 +0000 (09:55 +0000)]
Populate arb_fp_instruction negate field correctly.

19 years agoFix a number of point size attenuation problems.
Brian Paul [Fri, 7 Oct 2005 03:56:29 +0000 (03:56 +0000)]
Fix a number of point size attenuation problems.
Move size clamping into the rasterization function.

19 years agofix problems with some texgen modes by putting the chip into LOCAL_VIEWER mode for...
Roland Scheidegger [Wed, 5 Oct 2005 22:40:09 +0000 (22:40 +0000)]
fix problems with some texgen modes by putting the chip into LOCAL_VIEWER mode for lighting (potentially causes slight misrenderings with the specular components of lights if the light model is not set for local viewer).

19 years agoreverse accidentally commited part of last commit (makes it compile again...).
Roland Scheidegger [Wed, 5 Oct 2005 20:28:31 +0000 (20:28 +0000)]
reverse accidentally commited part of last commit (makes it compile again...).

19 years agoenable point sizes larger than 1 (for aliased points only) by using the hw point...
Roland Scheidegger [Wed, 5 Oct 2005 16:15:16 +0000 (16:15 +0000)]
enable point sizes larger than 1 (for aliased points only) by using the hw point sprite primitive.

19 years agofix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)
Brian Paul [Wed, 5 Oct 2005 13:36:05 +0000 (13:36 +0000)]
fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)

19 years agofix typo in radeon_maos_arrays.c from last commit (code currently unused, that path...
Roland Scheidegger [Wed, 5 Oct 2005 13:09:15 +0000 (13:09 +0000)]
fix typo in radeon_maos_arrays.c from last commit (code currently unused, that path is compile-tested only).

19 years agoremove unneeded parameter from radeonUploadTexMatrix.
Roland Scheidegger [Wed, 5 Oct 2005 12:38:07 +0000 (12:38 +0000)]
remove unneeded parameter from radeonUploadTexMatrix.

19 years agoRemove the tcl fallback for texture rectangle (by manipulating the texture matrix...
Roland Scheidegger [Wed, 5 Oct 2005 11:42:44 +0000 (11:42 +0000)]
Remove the tcl fallback for texture rectangle (by manipulating the texture matrix) (tested with texrect). Enable texgen for r/q coordinates (tested with projtex). Fix projected texcoords when an app uses TexCoord3x and the texture matrix to save on vertex size (fixes ut2k3 shadow projectors in tcl mode). From texgenmix, all cases with all texgen or no texgen work, with the exception of texgen enabled for s/t only, this one works with hw tcl, but not with vtxfmt (suspect issues with vtxfmt), the mixed cases do not work (which is expected, and should be rare in practice), with the exception of the first one which hits a tcl fallback.