Commit Graph

28 Commits

Author SHA1 Message Date
Keith Whitwell
0e008d3797 mesa: add missing state dependencies for various tracked constants 2008-10-03 13:53:07 +01:00
Michal Krol
ce3cf63251 mesa: _mesa_program_state_string() returns char *, not const char *. 2008-09-05 12:25:50 +02:00
José Fonseca
101d1a658a mesa: Prefix main includes with dir to avoid conflicts.
Some of the headers in src/mesa/main have pretty common names which
easily conflict with third-party code, e.g. config.h
2008-07-24 21:24:10 +09:00
Michal Krol
f9c574d719 mesa: Silence compiler warnings on Windows. 2008-07-15 11:49:02 +02:00
Brian Paul
6363960db5 mesa: remove unneeded #include 2008-06-12 16:58:04 -06:00
José Fonseca
53174afeeb mesa: Apply MSVC portability fixes from Alan Hourihane. 2008-05-31 18:55:40 +09:00
Keith Whitwell
e1590abb17 mesa: pre-swizzle normal scale state value 2008-05-24 13:23:06 +01:00
Keith Whitwell
adc1f88fc9 mesa: do object-space lighting in ffvertex_prog.c
Start pulling over some of the optimizations from the fixed function
paths.
2008-05-23 09:16:58 +01:00
Brian Paul
1036ec94e5 Fix some bugs in material, depth range state
picked from master
2008-05-18 15:32:58 -06:00
Brian Paul
ba47aabc98 gallium: fix potential divide by zero in fog computation
It's legal for Fog.Start == Fog.End and conformance testing does so.
2008-04-23 11:38:41 -06:00
Brian Paul
302daeb2ec mesa: added internal post color matrix scale/bias vars 2008-04-16 16:53:43 -06:00
Brian
0abd1fca91 more additions for COLOR_MATRIX, etc 2007-10-30 13:53:38 -06:00
Brian
068c7bd912 add state vars for color matrix, pixel transfer scale&bias 2007-10-30 12:39:58 -06:00
Brian
52111366cc disable the NeedFlush assertion for now 2007-10-17 16:19:10 -06:00
Brian
420c062cb6 Assert that there's no outstanding current state that needs to be flushed from the vbo in _mesa_load_state_parameters().
Several of the state parameters use current state (such as materials).
Need to make sure those values are not stale.
2007-10-17 15:59:59 -06:00
Roland Scheidegger
7f1879d4e1 make sure optimized fog params get updated 2007-05-22 03:32:25 +02:00
Brian
4fca6bfa5d fix STATE_HALF_VECTOR value (bug 10987) 2007-05-18 07:46:27 -06:00
Brian
fb3f0beb42 update comments 2007-03-07 17:37:24 -07:00
Brian
fbc4929185 add missing code for newer STATE_INTERNAL items 2007-02-24 17:00:50 -07:00
Brian
a2786a97d7 add some missing cases in _mesa_program_state_string() 2007-02-23 17:13:30 -07:00
Brian
ef0cc9db54 remove dead code 2007-02-23 11:43:14 -07:00
Brian
aa9d22a1c0 replace GLint with gl_state_index 2007-02-23 11:21:03 -07:00
Brian
776bc9cf55 Undo some STATE_POINT/FOG changes. Max length of state token array is now 5. 2007-02-22 09:29:46 -07:00
Brian
f958aabdf3 more minor changes to STATE_ indexing 2007-02-21 15:23:11 -07:00
Brian
6531952b3c adjustments to STATE_ token layout/format so token[1] is always the array index 2007-02-21 11:08:21 -07:00
Brian
223d7cb3c7 fix g++ warnings/errors 2007-01-23 16:37:51 -07:00
Brian
b7978af693 clean up a bunch of program parameter stuff 2007-01-09 19:17:17 -07:00
Brian
00cdc0a472 Split the program.[ch] files into several new files. 2006-12-14 15:01:06 -07:00