Keith Whitwell
b4979ec178
Allow the print opcode to compile
2005-06-10 13:59:49 +00:00
Keith Whitwell
6c1948d593
Fix typo in spot attenuation
2005-06-10 13:35:31 +00:00
Keith Whitwell
729cccba5d
Correct test for attenuation.
...
DISSASEM changes.
2005-06-10 12:04:47 +00:00
Keith Whitwell
7e8e4c500e
remove depend files on clean
2005-06-10 10:43:02 +00:00
Keith Whitwell
f6e7cfb60d
Fix colormaterial flag calculations.
...
Fix lighting alpha result.
2005-06-10 08:33:37 +00:00
Keith Whitwell
52608d2d21
Add notes about intended precision of opcodes.
...
Remove dead floating point twiddles.
Fix bug translating MAD->MUL,ADD.
2005-06-10 08:32:27 +00:00
Keith Whitwell
1c48986e54
Fix a couple of buglets
2005-06-09 22:10:23 +00:00
Keith Whitwell
1fc4bcbb17
Another typo
2005-06-09 19:03:18 +00:00
Keith Whitwell
44367aab2a
Further clean up RoughApproxPow2 and disable the optimized version --
...
it's a very poor approximation.
2005-06-09 18:59:41 +00:00
Keith Whitwell
2c6e8e90ec
Fix typo in RoughApproxPow2
2005-06-09 18:52:42 +00:00
Keith Whitwell
81032030ff
Store compiled vertex program representations in a pointer in the
...
vertex_program struct.
Allow switching between regular and vertex_program implementations
of fixed function TNL with the MESA_TNL_PROG environment var
(previously this required recompilation).
Ensure program compilation only references program data, not the
wider context. This means that compiled programs only need to be
invalidated when the program string changes, not on other state
changes.
2005-06-09 14:55:34 +00:00
Keith Whitwell
a8534885ef
Build vertex programs using state from a 'state key' struct which is
...
distilled from the current state.
Maintain a list of vertex programs for various different tnl states
indexed by these state keys.
This cuts down the number of vertex programs generated and means that
time spent optimizing vertex programs for execution isn't wasted each
time the state changes.
2005-06-09 14:52:08 +00:00
Keith Whitwell
79b7bd18bb
Turn off debug
2005-06-08 22:14:29 +00:00
Keith Whitwell
8e56122782
Add t_vb_arbprogram_sse.c
2005-06-08 22:10:34 +00:00
Keith Whitwell
ea93b2986b
Runtime generate sse/sse2 code for some vertex programs. Experimental
...
and only active when _TNL_FIXED_FUNCTION_PROGRAM is defined *and*
the MESA_EXPERIMENTAL environment variable is set...
Works for the arbfplight demo at least.
2005-06-08 22:10:16 +00:00
Keith Whitwell
002d0ad3e9
Turn off DISASSEM
2005-06-08 22:06:29 +00:00
Keith Whitwell
562bdaf70e
New arguments for sse_shufps()
2005-06-08 21:58:30 +00:00
Keith Whitwell
9899f58c76
Use ALIGN_MALLOC for parameter lists.
2005-06-08 21:57:45 +00:00
Keith Whitwell
dce3a91a8d
Add some more opcodes
2005-06-08 21:56:21 +00:00
Ben Skeggs
2d2f5a4b19
- Secondary colour
...
- Calculate tc_count in EmitArrays (enabled units != nr texcoords).
2005-06-08 15:05:19 +00:00
Brian Paul
ee7ad16f3f
regenerated
2005-06-08 13:35:28 +00:00
Brian Paul
2c7336af4e
put full prototype on one line to fix gl_mangle.h generation (Dave Reveman)
2005-06-08 13:35:07 +00:00
Brian Paul
012de39c23
remove stray line
2005-06-08 13:07:33 +00:00
Keith Whitwell
60339c7062
Remove ARL opcode from interpreter.
...
Revert SEL opcode to MSK.
Split out t_vb_arbprogram.h header file.
2005-06-08 10:03:29 +00:00
Keith Whitwell
7fb16836e7
new file
2005-06-08 10:02:28 +00:00
Brian Paul
d45cb9a836
regenerate for latest glext.h
2005-06-08 02:18:22 +00:00
Brian Paul
681b758f11
fix some renderbuffer problems for Xserver build (Dave Reveman)
2005-06-08 02:17:10 +00:00
Brian Paul
a0b5c98364
check for double-buffered buffer in XMesaDestroyBuffer() (Dave Reveman)
2005-06-08 02:14:55 +00:00
Daniel Borca
31d0cedd78
updates from Paul Garceau
2005-06-07 19:01:33 +00:00
Brian Paul
7477a7d366
added GL libs to APP_LIB_DEPS (bug 3485)
2005-06-07 15:30:12 +00:00
Brian Paul
4417d4cb61
fix error in OSMESA_LIB_NAME line
2005-06-07 15:25:08 +00:00
Brian Paul
ed7f3aead8
fix GL_ALPHA render-to-texture problem (Jon Smirl)
2005-06-07 15:03:40 +00:00
Keith Whitwell
395280bf88
Initialize some variables.
2005-06-07 12:46:30 +00:00
Keith Whitwell
a4691981d9
Add new runtime assembly files.
2005-06-07 12:45:29 +00:00
Keith Whitwell
1d60469c4c
Split out runtime assembly functions.
2005-06-07 12:45:04 +00:00
Keith Whitwell
461a2a799a
New files - split off runtime assembly functions from
...
t_vertex_sse.c.
2005-06-07 12:44:26 +00:00
Keith Whitwell
757e0855ad
Simplify interpreted language:
...
- Expand operand argument specifiers so that all registers and
parameters can be referenced directly. Remove old PAR/PRL
instructions.
- No 3 operand instructions, translate MAD -> MUL, ADD. (No room for
3 full operands in instruction struct).
- Translate SWZ instructions into 1 or 2 reduced swizzles at compile
time.
- Add hardwired code for moving input and output values to/from the
register file. Drop old INx, OUT instructions.
2005-06-07 10:59:37 +00:00
Keith Whitwell
17d249d31b
Add a VP_MAX_OPCODE entry to allow engines with internal opcodes to
...
place them sensibly.
2005-06-07 10:56:17 +00:00
Daniel Borca
4f923fb0bc
updates from Paul Garceau
2005-06-07 05:29:38 +00:00
Jon Smirl
c20a2b0b72
Add SetBuffer to egl driver too
2005-06-07 02:10:14 +00:00
Jon Smirl
ef9e0be0cb
Add a NULL SetBuffer function to the fbdev driver
2005-06-06 21:40:55 +00:00
Brian Paul
2e7dcdd38b
this is auto-generated
2005-06-06 14:40:56 +00:00
Ben Skeggs
d59fbcdee5
TEX to output
2005-06-06 07:38:29 +00:00
Ben Skeggs
3c4c6d1f80
Fix xyz/w interaction (needs a cleanup still..)
...
Use SRC0A instead of WZY/XXX combination for W in XYZ positions.
Remove dodgy hack from POW opcode, now works correctly without it
2005-06-05 08:25:54 +00:00
Jon Smirl
40b8b57ed4
Make install install GLES too
2005-06-05 02:10:58 +00:00
Brian Paul
df5e2b934b
set OLD_RENDERBUFFER=0, need to clean up a few more things before totally removing that
2005-06-04 22:09:27 +00:00
Brian Paul
d96dd3cd49
remove old span functions from swrast_device_driver struct
2005-06-04 18:25:39 +00:00
Brian Paul
bb8b302dbc
remove old span code
2005-06-04 18:12:28 +00:00
Brian Paul
5ec5c6b222
fix an assertion
2005-06-04 17:53:30 +00:00
Brian Paul
863bd56520
remove old span code
2005-06-04 17:45:50 +00:00