Brian Paul
c0815bc01f
remove assertions to match i915tex code (bug 8726)
2006-11-27 17:40:07 +00:00
Brian Paul
744c3a367b
get rid of meaningless XFree86LOADER test (bug 9144)
2006-11-27 16:50:10 +00:00
Brian Paul
3e6ef125f0
replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)
2006-11-27 16:33:43 +00:00
Ben Skeggs
98818f159b
- Add InitInstruction to hw shader backend, and remove SetUnusedSource.
...
- NV30FP/NV40VP: Clear any fields before we OR new values into them
- NV40VP: It seems that it might be possible to write a result reg at the
same time a temp is written. In InitInstruction, initialise OUT_DEST to
OUT_DEST_TEMP so result regs don't get clobbered by default.
2006-11-27 01:57:37 +00:00
Ben Skeggs
2f411b0a8b
Fix RSQ emulation
2006-11-26 13:18:41 +00:00
Ben Skeggs
6ff3d2577e
Fix progs/fp/tri-xpd
...
Fragprog consts are inlined, so make sure we update *all* occurances of a
param :)
2006-11-26 10:19:44 +00:00
Tilman Sauerbeck
85365e6aa4
Bug #6044 : actually delete the texture object in mgaDeleteTexture
2006-11-26 09:39:21 +00:00
Ben Skeggs
9c9e6abbf8
Incomplete shader stuff, should mostly work for NV40. Other cards, not so
...
much..
2006-11-25 09:58:35 +00:00
Ben Skeggs
902b26a0d6
fix scissor
2006-11-25 06:02:10 +00:00
Patrice Mandin
2911551727
nv10,nv20,nv30: send correct values for spot light direction X,Y,Z and
...
cutoff parameter C
2006-11-24 23:34:03 +00:00
Patrice Mandin
78e5f414cb
nv10: rename spot light coefs like nv20,nv30
2006-11-24 23:23:18 +00:00
Brian Paul
16e7ca9d72
call slang_variable_construct() inside slang_variable_scope_grow()
2006-11-24 19:21:42 +00:00
Brian Paul
e49d06e619
new slang_variable_scope_grow() function
2006-11-24 19:01:14 +00:00
Brian Paul
d4c4bdfa1e
const correctness, clean-ups
2006-11-23 16:56:55 +00:00
Brian Paul
f6ed86a1a5
indent
2006-11-23 16:52:18 +00:00
Brian Paul
308b85f29f
fix several program-related bugs (bug 9136)
2006-11-23 15:58:30 +00:00
Keith Whitwell
897b9c5cb2
Haihao Xiang's edgeflag patch.
2006-11-23 10:13:22 +00:00
Keith Whitwell
c4649208f0
Haihao Xiang's pointsize initialization patch.
2006-11-23 10:12:05 +00:00
Stephane Marchesin
0faf23c26a
That was really stupid.
2006-11-23 09:21:44 +00:00
Dave Airlie
50b3f5654e
realign some of the i830 code from the i915
2006-11-23 01:12:41 +00:00
Brian Paul
17e97ea869
fix typo
2006-11-23 00:44:14 +00:00
Brian Paul
ba02b07c75
fix indirect glMap* bugs
2006-11-23 00:43:23 +00:00
Brian Paul
14c427573e
s/ource/source/
2006-11-23 00:42:25 +00:00
Brian Paul
d426c13e46
move comments
2006-11-23 00:41:44 +00:00
Brian Paul
dfc98c0bec
indent
2006-11-23 00:38:50 +00:00
Dave Airlie
d98e1f3761
fixup draw/depth region handling in i830 along lines of i915
2006-11-23 00:09:16 +00:00
Brian Paul
6ab6518735
clean-up, comments
2006-11-23 00:09:00 +00:00
Brian Paul
0cb0a04eca
indent
2006-11-22 23:58:47 +00:00
Roland Scheidegger
46e454863e
decrease the current vertex count by 1 if an uneven number of vertices is copied by _tnl_copy_vertices. Otherwise, since in this case it will copy an extra vertex to avoid problems with vertex order in the new buffer, one triangle will be drawn twice. This fixes bug #9062 .
2006-11-22 22:07:35 +00:00
Brian Paul
40c7cb7e17
const correctness
2006-11-22 21:59:28 +00:00
Brian Paul
98ea0a3f1f
new comments
2006-11-22 21:49:14 +00:00
Brian Paul
f9f4625367
clean-up, comments
2006-11-22 21:34:47 +00:00
Brian Paul
958a8af3b0
reindent
2006-11-22 21:34:30 +00:00
Brian Paul
982ceb6773
fix comments
2006-11-22 21:33:44 +00:00
Ben Skeggs
7398748add
Some missing state init
2006-11-22 20:15:56 +00:00
Roland Scheidegger
22b74ff2b7
fix the gl version test
2006-11-22 19:37:21 +00:00
Ian Romanick
b0d8b13777
Add tdfx updates to release notes.
2006-11-22 19:05:20 +00:00
Roland Scheidegger
7f9afedeb5
remove unneded call to _tnl_invalidate_state() in _tnl_need_projected_coords(). Connected to bug #9103 , though that bug got fixed without this change too.
2006-11-22 17:54:31 +00:00
Brian Paul
9540c9c04f
GLX protocol fixes for glMap* functions (bug 8899)
2006-11-22 16:01:48 +00:00
Keith Whitwell
96c0a6de25
Prune incoming state to the atoms of interest. Hopefully this will
...
prevent driver-initiated statechanges in the middle of
DrawElements/DrawArrays from disturbing this code.
2006-11-22 15:27:58 +00:00
Keith Whitwell
b72fbcbe63
Another fix
2006-11-22 13:53:21 +00:00
Keith Whitwell
96228d952d
Set _NEW_LIGHT when materials are present in display lists also.
2006-11-22 09:35:19 +00:00
Keith Whitwell
c8238aa0ff
Move setting of _NEW_LIGHT to only occur when materials are present.
2006-11-22 09:34:55 +00:00
Roland Scheidegger
49a3ea8110
fix segfault with ATI_fs when trying to use a not enabled texture unit (bug #9110 ).
2006-11-21 23:37:21 +00:00
Patrice Mandin
3e4a5c0642
Enable nv10 tcl state
2006-11-21 21:44:16 +00:00
Patrice Mandin
ac09b567a8
nv10,nv20: nvX0ShadeModel static function
2006-11-21 21:15:49 +00:00
Patrice Mandin
677666eb70
nv10,nv20,nv30: color light components renamed from a,b,c to r,g,b
2006-11-21 21:11:58 +00:00
Patrice Mandin
81ae0bd249
ah, correct revision now
2006-11-21 20:38:14 +00:00
Patrice Mandin
4ed78e20a4
update from renouveau
2006-11-21 20:29:09 +00:00
Patrice Mandin
b5e800068b
nv10: update state
2006-11-21 19:56:15 +00:00