mesa.git
16 years agofix glReadPixels parameters to handle odd-width windows correctly
Brian [Fri, 8 Jun 2007 19:10:01 +0000 (13:10 -0600)]
fix glReadPixels parameters to handle odd-width windows correctly

16 years agodisable shader program before glDrawPixels
Brian [Fri, 8 Jun 2007 19:02:14 +0000 (13:02 -0600)]
disable shader program before glDrawPixels

16 years agoremove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITS
Brian [Fri, 8 Jun 2007 18:24:35 +0000 (12:24 -0600)]
remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITS

16 years agoAdd support for GL_ARB_fragment_program_shadow.
Ian Romanick [Thu, 7 Jun 2007 20:58:50 +0000 (13:58 -0700)]
Add support for GL_ARB_fragment_program_shadow.

16 years agoFix ARB_fp spec conformance bug WRT shadow sampling.
Ian Romanick [Thu, 7 Jun 2007 20:38:06 +0000 (13:38 -0700)]
Fix ARB_fp spec conformance bug WRT shadow sampling.

The ARB_fp (and other assembly-level fragment program specs) say that the
depth comparison function is always GL_NONE in fragment program mode.

16 years agoAdd support for shadow mapping with vertex and fragment programs
Ian Romanick [Thu, 7 Jun 2007 19:12:14 +0000 (12:12 -0700)]
Add support for shadow mapping with vertex and fragment programs

16 years agoRefactor shadow map modelview and projection code
Ian Romanick [Thu, 7 Jun 2007 19:09:44 +0000 (12:09 -0700)]
Refactor shadow map modelview and projection code

Explicitly store the modelview matrix and projection matrix used when the
shadow map is created.  These matrices only need be updated when
RenderShadowMap is called.  Previously, slightly different code was used to
draw and project the shadow map.

16 years agoRemove '#if defined' tests for ARB extensions.
Ian Romanick [Thu, 7 Jun 2007 18:59:42 +0000 (11:59 -0700)]
Remove '#if defined' tests for ARB extensions.

16 years agor300: Added a comment regarding the R300_VAP_CLIP registers.
Oliver McFadden [Thu, 7 Jun 2007 13:21:18 +0000 (13:21 +0000)]
r300: Added a comment regarding the R300_VAP_CLIP registers.

16 years agor300: Removed a "don't think this is needed" comment, it actually is needed.
Oliver McFadden [Thu, 7 Jun 2007 13:20:27 +0000 (13:20 +0000)]
r300: Removed a "don't think this is needed" comment, it actually is needed.

According to the comment you do not need to setup INPUT_CNTL when using vertex
buffers. However, not doing so results in a lockup.

16 years agor300: Explain the R300_VAP_OUTPUT_VTX_FMT_1 register.
Oliver McFadden [Thu, 7 Jun 2007 13:20:08 +0000 (13:20 +0000)]
r300: Explain the R300_VAP_OUTPUT_VTX_FMT_1 register.

16 years agor300: Cleaned up long lines in r300Choose8888TexFormat.
Oliver McFadden [Thu, 7 Jun 2007 13:19:47 +0000 (13:19 +0000)]
r300: Cleaned up long lines in r300Choose8888TexFormat.

16 years agoAdd PCI IDs for the G33, Q33, and Q35 chipsets.
Wang Zhenyu [Tue, 5 Jun 2007 18:42:43 +0000 (11:42 -0700)]
Add PCI IDs for the G33, Q33, and Q35 chipsets.

16 years agoi915tex: Better attempt to release miptree when overriding texture image.
Michel Dänzer [Tue, 5 Jun 2007 17:55:53 +0000 (19:55 +0200)]
i915tex: Better attempt to release miptree when overriding texture image.

The previous approach could lead to crashes in FBO code that dereferences the
miptree struct pointer unconditionally.

16 years agoRemove dubious compile-time test for pre-2.4 Linux kernels.
Michel Dänzer [Tue, 5 Jun 2007 17:52:10 +0000 (19:52 +0200)]
Remove dubious compile-time test for pre-2.4 Linux kernels.

LINUX_VERSION_CODE shouldn't be used by userspace code, it can be defined empty
these days.

If anybody still cares about 2.2 kernels, they should reinstate this as a
proper runtime test.

16 years agoUpdates for array texture shadow targets.
Ian Romanick [Tue, 5 Jun 2007 16:24:27 +0000 (09:24 -0700)]
Updates for array texture shadow targets.

16 years agominiglx: implement GetProcAddressARB in miniglx as an alias for GPA
Dave Airlie [Mon, 4 Jun 2007 23:38:49 +0000 (09:38 +1000)]
miniglx: implement GetProcAddressARB in miniglx as an alias for GPA

16 years agominiglx: update defines in linux-solo config
Dave Airlie [Mon, 4 Jun 2007 23:36:28 +0000 (09:36 +1000)]
miniglx: update defines in linux-solo config

16 years agor300: fix non-tcl rs4xx again.
Dave Airlie [Sat, 2 Jun 2007 06:21:50 +0000 (16:21 +1000)]
r300: fix non-tcl rs4xx again.

17 years agoi915tex: Add support for 945GME
Wang Zhenyu [Wed, 30 May 2007 08:18:26 +0000 (16:18 +0800)]
i915tex: Add support for 945GME

17 years agoi915: Add support for 945GME chip
Wang Zhenyu [Wed, 30 May 2007 08:11:12 +0000 (16:11 +0800)]
i915: Add support for 945GME chip

17 years agoi965: Add pci info for 965GME/GLE chip.
Wang Zhenyu [Wed, 30 May 2007 08:03:50 +0000 (16:03 +0800)]
i965: Add pci info for 965GME/GLE chip.

17 years agoFix r300SetTexOffset for big endian platforms.
Michel Dänzer [Wed, 30 May 2007 13:37:42 +0000 (15:37 +0200)]
Fix r300SetTexOffset for big endian platforms.

This was broken by the unification of the texture format table.

17 years agor300: Corrected r300PointSize based on dumping the blob.
Oliver McFadden [Wed, 30 May 2007 03:15:52 +0000 (03:15 +0000)]
r300: Corrected r300PointSize based on dumping the blob.

The OpenGL specification also verifies the default point size should be 1.0.

17 years agor300: Corrected r300LineWidth based on dumping the blob.
Oliver McFadden [Wed, 30 May 2007 03:11:49 +0000 (03:11 +0000)]
r300: Corrected r300LineWidth based on dumping the blob.

The OpenGL specification also verifies the default line width should be 1.0.

17 years agor300: Removed goto statement in r300SetupRSUnit.
Oliver McFadden [Tue, 29 May 2007 05:07:33 +0000 (05:07 +0000)]
r300: Removed goto statement in r300SetupRSUnit.

17 years agor300: Cleaned up r300SetupRSUnit.
Oliver McFadden [Tue, 29 May 2007 05:02:03 +0000 (05:02 +0000)]
r300: Cleaned up r300SetupRSUnit.

17 years agor300: Cleaned up the state atom checking functions.
Oliver McFadden [Tue, 29 May 2007 02:58:10 +0000 (02:58 +0000)]
r300: Cleaned up the state atom checking functions.

17 years agor300: Cleaned up the state atom debugging code.
Oliver McFadden [Tue, 29 May 2007 01:18:33 +0000 (01:18 +0000)]
r300: Cleaned up the state atom debugging code.

17 years agor300: Use compile-time endian detection in r300_state.c as well as r300_texstate.c.
Oliver McFadden [Mon, 28 May 2007 01:34:26 +0000 (01:34 +0000)]
r300: Use compile-time endian detection in r300_state.c as well as r300_texstate.c.

Probably best to not mix-and-match compile-time and run-time detection...

17 years agor300: Document registers 0x2220 to 0x2230.
Oliver McFadden [Mon, 28 May 2007 01:11:54 +0000 (01:11 +0000)]
r300: Document registers 0x2220 to 0x2230.

These registers are per-pixel and per-vertex X and Y clipping planes.

17 years agor300: Only support size 4 ELTs; this is what Mesa provides.
Oliver McFadden [Mon, 28 May 2007 00:23:47 +0000 (00:23 +0000)]
r300: Only support size 4 ELTs; this is what Mesa provides.

17 years agor300: Use the CP_PACKET3 macro for Type 3 packets.
Oliver McFadden [Mon, 28 May 2007 00:16:50 +0000 (00:16 +0000)]
r300: Use the CP_PACKET3 macro for Type 3 packets.

I haven't converted all of the Type 3 packets to the CP_PACKET3 macro yet
because some of the Type 3 packet defines are missing from the R300 register
definition file.

These defines need to be copied from DRM and Mesa into the R300 register
definition file then copied into both DRM and Mesa.

17 years agor300: Removed the (completely broken since new VBO branch) OPTIMIZE_ELTS path.
Oliver McFadden [Sun, 27 May 2007 23:35:12 +0000 (23:35 +0000)]
r300: Removed the (completely broken since new VBO branch) OPTIMIZE_ELTS path.

The VTXFMT code was broken by the new VBO branch and the OPTIMIZE_ELTS path
relied on the VTXFMT code...

I'm not even sure if the OPTIMIZE_ELTS path ever worked; the testing that I did
after minimizing the code duplication would have taken the same path as the
non-OPTIMIZE_ELTS code.

17 years agor300: Cleaned up the AOS code in r300_render.c.
Oliver McFadden [Sun, 27 May 2007 23:19:30 +0000 (23:19 +0000)]
r300: Cleaned up the AOS code in r300_render.c.

17 years agor300: Added a comment in r300VAPInputCntl0.
Oliver McFadden [Sun, 27 May 2007 21:45:19 +0000 (21:45 +0000)]
r300: Added a comment in r300VAPInputCntl0.

17 years agor300: Cleaned up r300DestroyTexObj.
Oliver McFadden [Sun, 27 May 2007 20:23:52 +0000 (20:23 +0000)]
r300: Cleaned up r300DestroyTexObj.

17 years agor300: R300_SE_VTE_CNTL applies to both non-TCL and TCL hardware.
Oliver McFadden [Sun, 27 May 2007 15:25:50 +0000 (15:25 +0000)]
r300: R300_SE_VTE_CNTL applies to both non-TCL and TCL hardware.

See r300ResetHwState.

17 years agouse glXGetProcAddress to get extension funcs
Brian [Tue, 29 May 2007 14:05:10 +0000 (08:05 -0600)]
use glXGetProcAddress to get extension funcs

17 years agocheck for flat/smooth interp for generic/specular attrib
Brian [Fri, 25 May 2007 22:22:15 +0000 (16:22 -0600)]
check for flat/smooth interp for generic/specular attrib

17 years agoRevert "r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines."
Oliver McFadden [Sun, 27 May 2007 02:25:31 +0000 (02:25 +0000)]
Revert "r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines."

This reverts commit bb3558e6517209086cf8426bbe4743da50351158.

This commit caused a regression reported by Markus Amsler
<markus.amsler@oribi.org>. Apparently these defines are required, although I'm
not sure why.

17 years agor300: Rearranged the DWORD construction in r300VAPInputRoute0 for clarity.
Oliver McFadden [Sat, 26 May 2007 21:38:52 +0000 (21:38 +0000)]
r300: Rearranged the DWORD construction in r300VAPInputRoute0 for clarity.

Doesn't actually change anything; just makes it easier to read.

17 years agor300: Removed duplicate AOS format defines; already defined in r300_reg.h.
Oliver McFadden [Sat, 26 May 2007 20:59:16 +0000 (20:59 +0000)]
r300: Removed duplicate AOS format defines; already defined in r300_reg.h.

17 years agor300: Removed unused aos_reg variable.
Oliver McFadden [Sat, 26 May 2007 19:39:35 +0000 (19:39 +0000)]
r300: Removed unused aos_reg variable.

17 years agor300: Use "rmesa" not "r300" in r300_emit.c; some of the macros require "rmesa".
Oliver McFadden [Sat, 26 May 2007 17:55:30 +0000 (17:55 +0000)]
r300: Use "rmesa" not "r300" in r300_emit.c; some of the macros require "rmesa".

17 years agor300: Cleaned up the non-TCL RENDERINPUTS, etc.
Oliver McFadden [Sat, 26 May 2007 17:36:08 +0000 (17:36 +0000)]
r300: Cleaned up the non-TCL RENDERINPUTS, etc.

17 years agor300: Whitespace cleanup in r300_emit.c.
Oliver McFadden [Sat, 26 May 2007 17:13:57 +0000 (17:13 +0000)]
r300: Whitespace cleanup in r300_emit.c.

17 years agor300: Added the r300VAPInputCntl0 function.
Oliver McFadden [Sat, 26 May 2007 15:49:24 +0000 (15:49 +0000)]
r300: Added the r300VAPInputCntl0 function.

The function just returns the hard-coded value (0x5555) even though we have no
idea what this means...

17 years agor300: Added r300VAPOutputCntl0 and r300VAPOutputCntl1 to r300_emit.c.
Oliver McFadden [Sat, 26 May 2007 15:45:04 +0000 (15:45 +0000)]
r300: Added r300VAPOutputCntl0 and r300VAPOutputCntl1 to r300_emit.c.

17 years agor300: Removed R300_PFS_NODE_LAST_NODE replaced by R300_PFS_NODE_OUTPUT_COLOR.
Oliver McFadden [Sat, 26 May 2007 14:43:04 +0000 (14:43 +0000)]
r300: Removed R300_PFS_NODE_LAST_NODE replaced by R300_PFS_NODE_OUTPUT_COLOR.

17 years agor300: Renamed the t_vic function.
Oliver McFadden [Sat, 26 May 2007 12:34:55 +0000 (12:34 +0000)]
r300: Renamed the t_vic function.

17 years agor300: Renamed the t_vir0 and t_vir1 functions.
Oliver McFadden [Sat, 26 May 2007 00:07:25 +0000 (00:07 +0000)]
r300: Renamed the t_vir0 and t_vir1 functions.

17 years agor300: Renamed "dt" to "attribptr" in the t_vir0 function.
Oliver McFadden [Fri, 25 May 2007 23:50:36 +0000 (23:50 +0000)]
r300: Renamed "dt" to "attribptr" in the t_vir0 function.

17 years agor300: Specify the type in the t_vir0 function.
Oliver McFadden [Fri, 25 May 2007 23:42:03 +0000 (23:42 +0000)]
r300: Specify the type in the t_vir0 function.

17 years agor300: Cleaned up t_vir0 and t_vir1 slightly.
Oliver McFadden [Fri, 25 May 2007 23:02:57 +0000 (23:02 +0000)]
r300: Cleaned up t_vir0 and t_vir1 slightly.

17 years agor300: Use C style comments in r300_emit.c.
Oliver McFadden [Fri, 25 May 2007 22:01:20 +0000 (22:01 +0000)]
r300: Use C style comments in r300_emit.c.

17 years agor300: Removed a (disabled and unneeded) assertion.
Oliver McFadden [Fri, 25 May 2007 21:54:45 +0000 (21:54 +0000)]
r300: Removed a (disabled and unneeded) assertion.

The r300EmitVec functions don't touch the buf member so the assertion isn't
needed here.

17 years agor300: Improved the r300EmitVec debugging information.
Oliver McFadden [Fri, 25 May 2007 21:49:53 +0000 (21:49 +0000)]
r300: Improved the r300EmitVec debugging information.

17 years agor300: Use #if 0 for disabled code.
Oliver McFadden [Fri, 25 May 2007 21:43:24 +0000 (21:43 +0000)]
r300: Use #if 0 for disabled code.

17 years agor300: Added a TODO note and some tiny cleanups to r300_emit.c.
Oliver McFadden [Fri, 25 May 2007 21:38:49 +0000 (21:38 +0000)]
r300: Added a TODO note and some tiny cleanups to r300_emit.c.

17 years agoadd glxtokens.h to xmesa_xf86.h as discussed on mailing list
Dave Airlie [Sat, 26 May 2007 05:58:56 +0000 (15:58 +1000)]
add glxtokens.h to xmesa_xf86.h as discussed on mailing list

17 years agoremove #include "GL/glxtokens.h"
Brian [Fri, 25 May 2007 14:57:44 +0000 (08:57 -0600)]
remove #include "GL/glxtokens.h"

17 years agor300: Use GL_TRUE rather than 1 for the GLboolean type.
Oliver McFadden [Fri, 25 May 2007 13:59:15 +0000 (13:59 +0000)]
r300: Use GL_TRUE rather than 1 for the GLboolean type.

17 years agor300: Removed unused vpucount macro from r300_state.c.
Oliver McFadden [Thu, 24 May 2007 09:15:57 +0000 (09:15 +0000)]
r300: Removed unused vpucount macro from r300_state.c.

17 years agofix logic for calling _swrast_update_deferred_texture()
Brian [Thu, 24 May 2007 23:07:48 +0000 (17:07 -0600)]
fix logic for calling _swrast_update_deferred_texture()

17 years agodoxygen-ize some comments
Brian [Wed, 23 May 2007 22:58:01 +0000 (16:58 -0600)]
doxygen-ize some comments

17 years agorestore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049
Brian [Wed, 23 May 2007 22:49:32 +0000 (16:49 -0600)]
restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049

17 years agoincr/decr 1D/2DArray texture refcounts like other targets
Brian [Wed, 23 May 2007 22:42:29 +0000 (16:42 -0600)]
incr/decr 1D/2DArray texture refcounts like other targets

17 years agor300: Call the r300Fogfv function directly within r300_state.c.
Oliver McFadden [Wed, 23 May 2007 21:26:35 +0000 (21:26 +0000)]
r300: Call the r300Fogfv function directly within r300_state.c.

This required moving the r300Enable function but there are no actual changes.

17 years agoFix problem w/ two-sided lighting and fragment programs (depth-peel regression)
Brian [Wed, 23 May 2007 21:33:46 +0000 (15:33 -0600)]
Fix problem w/ two-sided lighting and fragment programs (depth-peel regression)

17 years agor300: Use switch statements in r300ResetHwState, etc.
Oliver McFadden [Wed, 23 May 2007 21:12:11 +0000 (21:12 +0000)]
r300: Use switch statements in r300ResetHwState, etc.

17 years agor300: Minor indenting corrections in the texture format table.
Oliver McFadden [Wed, 23 May 2007 18:48:05 +0000 (18:48 +0000)]
r300: Minor indenting corrections in the texture format table.

17 years agor300: Use a single texture format table; reduces duplication.
Oliver McFadden [Wed, 23 May 2007 18:37:55 +0000 (18:37 +0000)]
r300: Use a single texture format table; reduces duplication.

17 years agor300: Corrected the RGB888 texture format entry.
Oliver McFadden [Wed, 23 May 2007 17:56:47 +0000 (17:56 +0000)]
r300: Corrected the RGB888 texture format entry.

I think this is correct, assuming no endian issues. See commmit
59a08923f51d4ed83effbfcd91473c9ee86465f1.

17 years agor300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines.
Oliver McFadden [Mon, 21 May 2007 15:51:38 +0000 (15:51 +0000)]
r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines.

Supposedly you need to set these values for the interpolaters to work, but they
seem to work fine without these values.

17 years agoFix point attentuation problem (bug 11042)
Brian [Wed, 23 May 2007 14:58:08 +0000 (08:58 -0600)]
Fix point attentuation problem (bug 11042)

ctx->Point._Attentuation was computed in wrong place and the VB->Eye coord Z
array wasn't indexed correctly in run_point_stage().

17 years agoReplace initInitState() with _mesa_init_driver_state().
Brian [Tue, 22 May 2007 22:56:02 +0000 (16:56 -0600)]
Replace initInitState() with _mesa_init_driver_state().

17 years agoadded _mesa_init_driver_state() to replace duplicated code in intel drivers
Brian [Tue, 22 May 2007 22:54:25 +0000 (16:54 -0600)]
added _mesa_init_driver_state() to replace duplicated code in intel drivers

17 years agoinclude swrast_setup/swrast_setup.h to silence warning
Brian [Tue, 22 May 2007 22:50:05 +0000 (16:50 -0600)]
include swrast_setup/swrast_setup.h to silence warning

17 years agodon't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)
Brian [Tue, 22 May 2007 16:07:49 +0000 (10:07 -0600)]
don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)

17 years agoi915tex: Implement SetTexOffset hook.
Michel Dänzer [Tue, 22 May 2007 12:08:11 +0000 (14:08 +0200)]
i915tex: Implement SetTexOffset hook.

Only build tested for I830 generation.

17 years agor300: Implement SetTexOffset hook.
Michel Dänzer [Tue, 22 May 2007 12:08:11 +0000 (14:08 +0200)]
r300: Implement SetTexOffset hook.

17 years agoAdd interfaces for overriding texture images with driver specific 'offsets'.
Michel Dänzer [Tue, 22 May 2007 12:08:10 +0000 (14:08 +0200)]
Add interfaces for overriding texture images with driver specific 'offsets'.

To be used by AIGLX for GLX_EXT_texture_from_pixmap without several
additional data copies.

17 years agoFix xserver build after recent XMesa changes.
Michel Dänzer [Tue, 22 May 2007 11:56:30 +0000 (13:56 +0200)]
Fix xserver build after recent XMesa changes.

Only build tested.

17 years agoget rid of GenTexturesLock, used ctx->Shared->Mutex
Brian [Tue, 22 May 2007 04:10:06 +0000 (22:10 -0600)]
get rid of GenTexturesLock, used ctx->Shared->Mutex

17 years agoremove the unused texobj Mutex field
Brian [Tue, 22 May 2007 03:59:20 +0000 (21:59 -0600)]
remove the unused texobj Mutex field

17 years agoremove a VMS-ism that doesn't seem needed elsewhere
Brian [Tue, 22 May 2007 03:49:34 +0000 (21:49 -0600)]
remove a VMS-ism that doesn't seem needed elsewhere

17 years agoimprove some comments, clean-up formatting
Brian [Tue, 22 May 2007 03:48:33 +0000 (21:48 -0600)]
improve some comments, clean-up formatting

17 years agoremove some whitespace
Brian [Tue, 22 May 2007 03:48:08 +0000 (21:48 -0600)]
remove some whitespace

17 years agoset texcoords depending on GLX_Y_INVERTED_EXT
Brian [Tue, 22 May 2007 02:57:09 +0000 (20:57 -0600)]
set texcoords depending on GLX_Y_INVERTED_EXT

17 years agoreturn True for GLX_Y_INVERTED_EXT query
Brian [Tue, 22 May 2007 02:56:35 +0000 (20:56 -0600)]
return True for GLX_Y_INVERTED_EXT query

17 years agofog: fix potential issues with generated vp using fog
Roland Scheidegger [Tue, 22 May 2007 01:30:09 +0000 (03:30 +0200)]
fog: fix potential issues with generated vp using fog

Change the generated vertex programs (tnl/brw) to follow the same logic as
the tnl fog wrt using absolute value, and sync them up a bit (untested).

17 years agofog: fix issues with negative fog coords (may fix #10529)
Roland Scheidegger [Tue, 22 May 2007 01:29:59 +0000 (03:29 +0200)]
fog: fix issues with negative fog coords (may fix #10529)

Rework tnl fog a bit. Make sure we always use ABS(eyez) when fog coord source
is depth, OTOH it does not seem to be necessary to use it (as was done before
in some cases) if fog coord source is fogcoord (just to save some work).
This fixes tests/fog (the first 2 cases) with i915/i915tex.

17 years agomake sure optimized fog params get updated
Roland Scheidegger [Tue, 22 May 2007 00:52:39 +0000 (02:52 +0200)]
make sure optimized fog params get updated

17 years agoi915/i915tex: minor cleanup (remove unneeded function call
Roland Scheidegger [Tue, 22 May 2007 00:50:08 +0000 (02:50 +0200)]
i915/i915tex: minor cleanup (remove unneeded function call

17 years agounbreak 3d textures (typo when setting tex layout)
Roland Scheidegger [Mon, 21 May 2007 09:38:25 +0000 (11:38 +0200)]
unbreak 3d textures (typo when setting tex layout)

17 years agoif light position is local, treat it as a homogeneous coord and divide by W (see...
Brian [Mon, 21 May 2007 14:57:18 +0000 (08:57 -0600)]
if light position is local, treat it as a homogeneous coord and divide by W (see bug 11009)

17 years agoOverhaul/simplify SWvertex and SWspan attribute handling.
Brian [Sun, 20 May 2007 18:27:39 +0000 (12:27 -0600)]
Overhaul/simplify SWvertex and SWspan attribute handling.

Instead of separate fog/specular/texcoord/varying code, just treat all of
them as generic attributes.  Simplifies the point/line/triangle functions.

17 years agoadd missing right-paren
Brian [Sun, 20 May 2007 18:17:21 +0000 (12:17 -0600)]
add missing right-paren

17 years agor300: Added TODO comment regarding immediate mode implementation.
Oliver McFadden [Sun, 20 May 2007 17:20:10 +0000 (17:20 +0000)]
r300: Added TODO comment regarding immediate mode implementation.