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
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
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
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
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
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
Brian Paul
5821f3d70c
added comment
2005-06-04 17:44:42 +00:00
Brian Paul
3fe9c40cb2
Remove last of the old span code.
2005-06-02 04:09:05 +00:00
Brian Paul
13c8f985d9
oops, undo previous change
2005-06-02 04:07:08 +00:00
Brian Paul
1516f559bc
start removing old (pre-renderbuffer) span code
2005-06-02 04:05:45 +00:00
Jouk Jansen
c4fbdb090c
Committing in .
...
OpenVMS makefile added
Added Files:
Mesa/src/mesa/shader/grammar/descrip.mms
----------------------------------------------------------------------
2005-06-01 12:07:15 +00:00
Jouk Jansen
589a3a3f6e
Committing in .
...
Update OpneVMS compilesupport
Modified Files:
Mesa/src/mesa/shader/descrip.mms
Mesa/src/mesa/shader/slang/descrip.mms
Mesa/src/mesa/shader/slang/slang_compile.c
Mesa/src/mesa/shader/slang/slang_storage.c
Mesa/src/mesa/shader/slang/slang_storage.h
----------------------------------------------------------------------
2005-06-01 12:05:34 +00:00
Eric Anholt
f090fdc50b
Move fallback and other debugging under TDFX_DEBUG using the same mechanism
...
as other drivers.
2005-06-01 08:22:57 +00:00
Eric Anholt
d638f6a0bb
Add no_rast option.
2005-06-01 07:44:52 +00:00
Eric Anholt
f772e3dd15
Fix the 3dfx driver by correcting what appears to be a typo GL_RGBA8 instead
...
of GL_RGBA in driNewRenderbuffer of the backbuffer.
2005-06-01 02:59:12 +00:00
Brian Paul
c7264415b6
added code to detect GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT error
2005-06-01 00:50:23 +00:00
Brian Paul
1b93953fbc
add support for GL_RENDERBUFFER_RED/GREEN/BLUE/etc_SIZE_EXT querie
2005-05-31 23:55:21 +00:00
Eric Anholt
0009e3d97d
Bugzilla #2708 : Disable the fallback on GL_SPHERE_MAP. It appears to hurt more
...
than it helps, and we seem to have a handle on how to fix it.
2005-05-31 23:32:47 +00:00
Alan Hourihane
628b18b8ca
Add Intel(R) 945G support (Keith Whitwell, Tungsten Graphics)
2005-05-31 18:10:03 +00:00