Commit graph

2812 commits

Author SHA1 Message Date
Felix Kuehling
2788927410 Fix TCL_LIGHT_MODEL_CTL setting in radeonColorMaterial. 2003-12-28 15:07:38 +00:00
Keith Whitwell
7a57932a02 Don't allow lighting in model coordinates when fog is active,
from radeon_state.c, noticed by Dieter Nuetzel.
2003-12-27 22:06:39 +00:00
Keith Whitwell
eff4abcbd8 Correct sense of ctx->_ForceEyeCoords (Felix Kuhling) 2003-12-27 20:03:26 +00:00
Brian Paul
f903e1142d the optimized UNCLAMPED_FLOAT_TO_UBYTE macro was broken 2003-12-23 21:43:54 +00:00
Daniel Borca
0ee5f6203c reverted TMUs for proper multitexturing 2003-12-23 14:11:22 +00:00
Keith Whitwell
fabb9734dd new files 2003-12-21 17:54:31 +00:00
Brian Paul
259b880bc7 Version bumps, etc for Mesa 6.0 2003-12-21 04:06:31 +00:00
Daniel Borca
e9e98405e7 DMesa: removed MGA2064W driver
DMesa: added capability to query visuals
fxMesa: WGL_3DFX_gamma_control
fxMesa: minor fixes to interface (fxQueryHardware vs fxMesaSelect...)
2003-12-19 11:26:46 +00:00
Ian Romanick
63a5cbb177 Fix to work with the C preprocessor in GCC 3.3.x. 2003-12-17 21:35:44 +00:00
Brian Paul
63f4e198b4 fix GL_MIN/MAX w/ glBlendFuncSeparate bug (Ian Romanick) 2003-12-15 18:04:17 +00:00
Brian Paul
b3b725b1e6 Assorted mklib tweaks.
Added Intel icc support to mklib.
2003-12-15 16:14:55 +00:00
Daniel Borca
f80220d050 EXT_secondary_color and EXT_separate_specular via multipass 2003-12-15 10:38:12 +00:00
Karl Rasche
7aa77b679d Problem computing specular value in OPCODE_LIT - pulled in value from
vertex program execution of LIT
2003-12-13 15:12:58 +00:00
Brian Paul
82e9f0099d fix some matypes.h glitches 2003-12-13 01:58:20 +00:00
Brian Paul
3c7b7df6d5 call _ae_destroy_context() and _ae_invalidate_state() from the proper places 2003-12-13 01:55:49 +00:00
Brian Paul
c360a721e7 init vars to silence warnings 2003-12-13 01:35:33 +00:00
Brian Paul
50f20ec7f5 Updates from Philippe Houdoin. 2003-12-13 01:26:14 +00:00
Brian Paul
74466be8cb check swrast->NewState in Draw/CopyPixels functions 2003-12-12 20:19:13 +00:00
Brian Paul
4a3110fb21 remove TexCoordInterleaveFactor. Clean up _mesa_InterleavedArrays() 2003-12-12 18:40:02 +00:00
Brian Paul
d450d0b0e2 applied Felix's patch for configuration system 2003-12-12 16:38:57 +00:00
Karl Rasche
177db2bc9b - Test instruction count
- Throw an error for VPs if we set position invariance and then write to the output position
2003-12-12 16:30:15 +00:00
Brian Paul
520ef4b5bc new makefiles 2003-12-12 15:33:51 +00:00
Brian Paul
ecc150c626 improved makefiles 2003-12-12 15:31:50 +00:00
Brian Paul
107564b090 lists of common source files 2003-12-12 15:31:17 +00:00
Brian Paul
b8cbca4807 new Makefiles 2003-12-12 15:30:52 +00:00
Keith Whitwell
013056ac65 set MaxTextureImageUnits, MaxTextureCoordUnits 2003-12-12 10:06:02 +00:00
Daniel Borca
e01d671668 small bug wrt culling 2003-12-12 08:19:20 +00:00
Brian Paul
379641956d fix visinfo typo 2003-12-12 00:08:01 +00:00
Brian Paul
a9a1c3f20f check for null dpy in Fake_glXGetConfig() 2003-12-12 00:01:17 +00:00
Brian Paul
c3fb2558f0 replace gl/mesa_wgl.h with GL/mesa_wgl.h (Simon Goodall) 2003-12-11 23:55:55 +00:00
Keith Whitwell
d8be4a54fa Don't evaluate GET_CURRENT_VB_MAX_VERTS() until after calling INIT() 2003-12-11 20:49:59 +00:00
Keith Whitwell
7ed58285ab add driClipRectToFramebuffer helper function 2003-12-11 19:06:32 +00:00
Keith Whitwell
844cdaf461 Updates to tnl_dd_dmatmp.h
- Allocate vertices explicitly, rather than trying to talk
	  about dma buffers.
	- Clean up the various Flush() operations.
	- Don't allow fallbacks any longer.  Provide a support function
	  to detect them ahead o ftime
Updates to tnl_dd_vbtmp.h
	- Get rid of power-of-two vertex strides.  Pack all vertices tightly.
	- Get texunit 2,3 emit working coorrectly.
Other stuff:
	- Get rid of lingering Ubyte color support.
	- Fix a few compiler warnings.
2003-12-11 16:49:55 +00:00
Keith Whitwell
2dc621f3fd Updates to tnl_dd_dmatmp.h
- Allocate vertices explicitly, rather than trying to talk
	  about dma buffers.
	- Clean up the various Flush() operations.
	- Don't allow fallbacks any longer.  Provide a support function
	  to detect them ahead o ftime
Updates to tnl_dd_vbtmp.h
	- Get rid of power-of-two vertex strides.  Pack all vertices tightly.
	- Get texunit 2,3 emit working coorrectly.
Other stuff:
	- Get rid of lingering Ubyte color support.
	- Fix a few compiler warnings.
2003-12-11 16:25:36 +00:00
Daniel Borca
5bcf52b4d6 fixed prototypes for wglGammaRamp3DFX 2003-12-11 16:16:33 +00:00
Alan Hourihane
2ed4797848 fix from DRI trunk 2003-12-10 19:12:49 +00:00
Daniel Borca
2844285297 got rid of __FUNCTION__ :(
Texus2 functions are dynamically linked now
made getRegistryOrEnvironmentString more portable
bugfix: unnecessary total SW fallback -- glColorMask
bugfix: when shared palette was not loaded correctly
point_attenuation_stage back in business (point size/atten)
fxTexGetInfo is not required for fxIsTexSupported
fxDDChooseTextureFormat optimized for RGB/RGBA textures
accelerated Quads with Triangle_Fans
more WGL extensions/functions (also updated export file)
DXTC/S3TC -> FXT1 wrapping hack
quick & dirty fix for Quake2
2003-12-10 15:24:49 +00:00
Alan Hourihane
43be8ee414 fix typo 2003-12-10 14:10:45 +00:00
Eric Anholt
527078afca Fix definitions for Intel compiler.
Submitted by:	Mikhail Teterin <mi@FreeBSD.org>
2003-12-09 23:59:16 +00:00
Keith Whitwell
b44fb35770 In fact, bring all the changes from mesa/tnl_dd to mesa/drivers/common. 2003-12-09 19:35:45 +00:00
Keith Whitwell
10637fed22 Remove old ubyte-color support code. Update interp, copy_pv for float
colors in VB arrays.
2003-12-09 19:30:22 +00:00
Karl Rasche
2e5ec27845 Arg. I can't code.. Test that we don't recongnize '0' as having a leading zero.. 2003-12-09 19:14:41 +00:00
Karl Rasche
ff10a796fe - New grammar (0.5) from Michal Krol, merges many opcodes and adds range testing
- Proper header on arbparse_syn.h
 - Handling of relative offsets for ARB_vp
 - s/MaxFragment/MaxVertex
 - Check for leading 0's in the fraction portions of floats in parse_float()
2003-12-09 18:13:12 +00:00
Karl Rasche
057dfcb06c - handle IsPositionInvariant
- tweak assertion to allow for relative offets from ARB_vp
2003-12-09 18:04:52 +00:00
Keith Whitwell
82efdff66f Fix typo. 2003-12-09 16:22:33 +00:00
Keith Whitwell
8069ada29b MGA only has one vertex format. 2003-12-09 16:21:31 +00:00
Keith Whitwell
9556a52867 Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.
2003-12-09 16:14:24 +00:00
Keith Whitwell
425deefdd0 Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.
2003-12-09 16:09:24 +00:00
Keith Whitwell
8592ba94b8 Fix use of uninited value 'flags', removed unused vars. 2003-12-09 16:02:43 +00:00
Keith Whitwell
c4f7de5d78 Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating
point colors throughout mesa.
2003-12-09 16:00:38 +00:00