Commit graph

10800 commits

Author SHA1 Message Date
Oliver McFadden
1fc08251ee Revert "r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines."
This reverts commit bb3558e651.

This commit caused a regression reported by Markus Amsler
<markus.amsler@oribi.org>. Apparently these defines are required, although I'm
not sure why.
2007-05-27 02:25:31 +00:00
Oliver McFadden
d42c8ab630 r300: Rearranged the DWORD construction in r300VAPInputRoute0 for clarity.
Doesn't actually change anything; just makes it easier to read.
2007-05-26 21:38:52 +00:00
Oliver McFadden
3b8fc727e6 r300: Removed duplicate AOS format defines; already defined in r300_reg.h. 2007-05-26 20:59:16 +00:00
Oliver McFadden
e96d10a861 r300: Removed unused aos_reg variable. 2007-05-26 19:39:35 +00:00
Oliver McFadden
e8b8fd366b r300: Use "rmesa" not "r300" in r300_emit.c; some of the macros require "rmesa". 2007-05-26 17:55:30 +00:00
Oliver McFadden
7bc7f08d88 r300: Cleaned up the non-TCL RENDERINPUTS, etc. 2007-05-26 17:36:08 +00:00
Oliver McFadden
6be60a389b r300: Whitespace cleanup in r300_emit.c. 2007-05-26 17:13:57 +00:00
Oliver McFadden
0d8aba9a47 r300: Added the r300VAPInputCntl0 function.
The function just returns the hard-coded value (0x5555) even though we have no
idea what this means...
2007-05-26 15:49:24 +00:00
Oliver McFadden
ae0f17d591 r300: Added r300VAPOutputCntl0 and r300VAPOutputCntl1 to r300_emit.c. 2007-05-26 15:45:04 +00:00
Oliver McFadden
4e98dcb85f r300: Removed R300_PFS_NODE_LAST_NODE replaced by R300_PFS_NODE_OUTPUT_COLOR. 2007-05-26 14:43:04 +00:00
Oliver McFadden
f4ad34e8bb r300: Renamed the t_vic function. 2007-05-26 12:34:55 +00:00
Oliver McFadden
fbe705f600 r300: Renamed the t_vir0 and t_vir1 functions. 2007-05-26 00:07:25 +00:00
Oliver McFadden
9ed32f4251 r300: Renamed "dt" to "attribptr" in the t_vir0 function. 2007-05-25 23:50:36 +00:00
Oliver McFadden
b9c0a00ed0 r300: Specify the type in the t_vir0 function. 2007-05-25 23:42:03 +00:00
Oliver McFadden
9b727e117e r300: Cleaned up t_vir0 and t_vir1 slightly. 2007-05-25 23:02:57 +00:00
Oliver McFadden
f78ddc69a0 r300: Use C style comments in r300_emit.c. 2007-05-25 22:01:20 +00:00
Oliver McFadden
67ac9bf822 r300: Removed a (disabled and unneeded) assertion.
The r300EmitVec functions don't touch the buf member so the assertion isn't
needed here.
2007-05-25 21:54:45 +00:00
Oliver McFadden
31a86804ae r300: Improved the r300EmitVec debugging information. 2007-05-25 21:49:53 +00:00
Oliver McFadden
b042703935 r300: Use #if 0 for disabled code. 2007-05-25 21:43:24 +00:00
Oliver McFadden
93206f7815 r300: Added a TODO note and some tiny cleanups to r300_emit.c. 2007-05-25 21:38:49 +00:00
Dave Airlie
9f39692e21 add glxtokens.h to xmesa_xf86.h as discussed on mailing list 2007-05-26 15:58:56 +10:00
Brian
e734369565 remove #include "GL/glxtokens.h" 2007-05-25 08:58:15 -06:00
Oliver McFadden
8a6a5dc660 r300: Use GL_TRUE rather than 1 for the GLboolean type. 2007-05-25 13:59:15 +00:00
Oliver McFadden
00a9e4eb8c r300: Removed unused vpucount macro from r300_state.c. 2007-05-25 13:23:11 +00:00
Brian
e4b037051e fix logic for calling _swrast_update_deferred_texture() 2007-05-24 17:07:48 -06:00
Brian
98d2a4a244 doxygen-ize some comments 2007-05-23 16:58:01 -06:00
Brian
f116aed1ed restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049 2007-05-23 16:51:30 -06:00
Brian
e5ed09e60e incr/decr 1D/2DArray texture refcounts like other targets 2007-05-23 16:51:30 -06:00
Oliver McFadden
f2e99e6a58 r300: Call the r300Fogfv function directly within r300_state.c.
This required moving the r300Enable function but there are no actual changes.
2007-05-23 21:38:46 +00:00
Brian
a700832214 Fix problem w/ two-sided lighting and fragment programs (depth-peel regression) 2007-05-23 15:34:50 -06:00
Oliver McFadden
491618b33d r300: Use switch statements in r300ResetHwState, etc. 2007-05-23 21:12:11 +00:00
Oliver McFadden
f1441bbd18 r300: Minor indenting corrections in the texture format table. 2007-05-23 18:48:05 +00:00
Oliver McFadden
ba8d3fb136 r300: Use a single texture format table; reduces duplication. 2007-05-23 18:37:55 +00:00
Oliver McFadden
9b9a1602f9 r300: Corrected the RGB888 texture format entry.
I think this is correct, assuming no endian issues. See commmit
59a08923f5.
2007-05-23 17:56:47 +00:00
Oliver McFadden
bb3558e651 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.
2007-05-23 17:44:14 +00:00
Brian
d062b6cd26 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().
2007-05-23 08:58:08 -06:00
Brian
a194bc3a85 Replace initInitState() with _mesa_init_driver_state(). 2007-05-22 16:56:02 -06:00
Brian
a99114a69f added _mesa_init_driver_state() to replace duplicated code in intel drivers 2007-05-22 16:54:25 -06:00
Brian
3a2ffadb7c include swrast_setup/swrast_setup.h to silence warning 2007-05-22 16:50:05 -06:00
Brian
0425548961 don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression) 2007-05-22 10:07:49 -06:00
Michel Dänzer
e0885b84a0 i915tex: Implement SetTexOffset hook.
Only build tested for I830 generation.
2007-05-22 14:08:11 +02:00
Michel Dänzer
59a08923f5 r300: Implement SetTexOffset hook. 2007-05-22 14:08:11 +02:00
Michel Dänzer
043d219b6d 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.
2007-05-22 14:08:10 +02:00
Michel Dänzer
24d965fab5 Fix xserver build after recent XMesa changes.
Only build tested.
2007-05-22 13:56:30 +02:00
Brian
9e3e3883fa get rid of GenTexturesLock, used ctx->Shared->Mutex 2007-05-21 22:10:06 -06:00
Brian
c62da91f44 remove the unused texobj Mutex field 2007-05-21 21:59:20 -06:00
Brian
5c5ab90c76 remove a VMS-ism that doesn't seem needed elsewhere 2007-05-21 21:49:34 -06:00
Brian
a01ee8ff0b improve some comments, clean-up formatting 2007-05-21 21:48:33 -06:00
Brian
3898e67f49 remove some whitespace 2007-05-21 21:48:08 -06:00
Brian
b4f8d4455b set texcoords depending on GLX_Y_INVERTED_EXT 2007-05-21 20:57:09 -06:00