Keith Whitwell
4135601459
Make the output a little more likely to compile...
2004-03-30 16:34:45 +00:00
Brian Paul
a7f52a9ba1
Reorder some code so we don't upset program state when there's a parsing error.
...
Be sure to assign program.Base.String pointer.
2004-03-30 15:55:10 +00:00
Brian Paul
41d389909b
Insert original fragment program instructions as comments.
...
s/__inline/INLINE/
2004-03-30 15:53:58 +00:00
Keith Whitwell
257c085db9
Amusing utility to print ARB_fp programs as C code
2004-03-30 11:12:37 +00:00
Ian Romanick
d1c38f7472
Add #ifdef protection around the file to prevent DRI build breakage.
2004-03-30 00:23:25 +00:00
Brian Paul
388c455960
fix array indexing for UP4B and UP4UB
2004-03-29 16:34:01 +00:00
Keith Whitwell
eeb5eeb2a6
Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.
2004-03-29 16:01:18 +00:00
Brian Paul
292fa335d6
Take a stab at updating the VMS files.
2004-03-29 14:58:42 +00:00
Brian Paul
788461fc81
fix the build
2004-03-29 14:53:49 +00:00
Keith Whitwell
076c1c2000
new files
2004-03-29 14:01:56 +00:00
Michal Krol
2861e737e8
Moved from src/mesa/main
2004-03-29 11:09:34 +00:00
Keith Whitwell
c8100a02d2
First round of codegen for t_vtx_api.c -- ie the Begin/Vertex/End code.
...
Enable with env var: MESA_CODEGEN=t.
2004-03-29 11:05:02 +00:00
Michal Krol
638ea113b9
This wont be needed any more
2004-03-29 11:01:57 +00:00
Michal Krol
cfccb7e0ca
Moved to src/mesa/shader and renamed to arbprogram_syn.h
2004-03-29 10:58:58 +00:00
Michal Krol
31df7c92a2
Moved to src/mesa/shader and renamed to arbprogparse.[ch]
2004-03-29 10:57:16 +00:00
Michal Krol
9661d911ee
Moved to src/mesa/shader
2004-03-29 10:54:32 +00:00
Daniel Borca
71c7c1feb6
code cleanup heheh
2004-03-29 06:51:41 +00:00
Felix Kuehling
238693544c
Forgot to set SAVAGE_NEW_CULL in savageDDEnable_s3d.
2004-03-27 01:04:09 +00:00
Brian Paul
79b372b92a
fix some warnings
2004-03-26 23:54:53 +00:00
Felix Kuehling
58fa2a8c50
Enable drawing directly to the (now tiled) front buffer.
2004-03-26 23:27:24 +00:00
Brian Paul
1e50e4046f
added .SUFFIXES : .cc line
2004-03-26 22:50:04 +00:00
Brian Paul
df8bc57258
Don't use pushd/popd.
2004-03-26 21:38:45 +00:00
Brian Paul
46727c7496
Tweaks for make clean / realclean.
2004-03-26 20:31:05 +00:00
Brian Paul
7a5eb9a760
increase MAX_TEXTURE_LOD_BIAS to 11.0
2004-03-26 18:06:23 +00:00
Brian Paul
1f54fc9b82
added OSMESA_DRIVER_OBJECTS and COMMON_DRIVER_OBJECTS
2004-03-26 15:36:33 +00:00
Brian Paul
de0ee3187c
New Makefile system
2004-03-26 15:19:11 +00:00
Ian Romanick
3623579e43
Make sure drivers don't dereference a NULL pointer if
...
__driUtilCreateNewScreen returns NULL.
2004-03-26 02:02:48 +00:00
Brian Paul
77b47bb27b
re-order arguments to mklib
2004-03-25 21:17:48 +00:00
Felix Kuehling
f28570679f
Recalculate the viewport matrix in savageEmitDrawingRectangle.
2004-03-25 15:19:23 +00:00
Michal Krol
bb9054b96d
The OpenGL Shading Language Runtime Library for Legacy Target.
...
Sounds good :)
2004-03-25 13:24:28 +00:00
Daniel Borca
f61487947b
small changes (version string)
2004-03-25 09:06:12 +00:00
Felix Kuehling
6e963e965c
More state management changes:
...
- Don't lock in savageDDUpdateStatte, don't call savageEmitHwStateLocked
- Need to grab the lock for texture uploads now
- New SAVAGE_NEW_CULL bit in new_state to make sure that culling state and
raster_primitive are not examined at the wrong times.
2004-03-25 01:16:27 +00:00
Felix Kuehling
adf33a1c6f
Make sure hardware culling is disabled for unfilled primitives,
...
points and lines.
2004-03-24 22:05:25 +00:00
Brian Paul
844585be4c
use Driver.WriteMonoRGBAPixels() when possible (Dan Schikore)
2004-03-24 17:17:25 +00:00
Felix Kuehling
e1e439c512
Missing in last commit.
2004-03-24 16:18:05 +00:00
Felix Kuehling
67d0343377
Buffer vertices and emit them in batches. Still using conventional drawing
...
commands, no vertex DMA.
2004-03-24 16:15:28 +00:00
Brian Paul
fda7215db3
rename class to c_class if using C++ (bug 922294)
2004-03-24 15:59:44 +00:00
Michal Krol
ae60852206
Slang internal include file defining constructors and operators
...
for built-in data types.
2004-03-24 15:02:37 +00:00
Jouk Jansen
645778fe69
Committing in .
...
Adding s_auxbuffer.c for compilation
Modified Files:
Mesa/src/mesa/swrast/descrip.mms
----------------------------------------------------------------------
2004-03-23 07:13:11 +00:00
Brian Paul
3b6eb90050
added s_auxbuffer.c
2004-03-22 16:23:15 +00:00
Dave Airlie
1cb63cfc98
more i810 to new interface
2004-03-21 23:35:14 +00:00
Felix Kuehling
03762ba8da
ctx->Const.MaxTextureLevels is not the highest mipmap level but the number
...
> of levels, including 0.
2004-03-21 21:58:03 +00:00
Felix Kuehling
7e4a56d110
Improved MaxTextureLevel computation to take the nr. of tex units and both
...
texture heaps into account.
2004-03-21 18:50:21 +00:00
Brian Paul
894844a8d9
Implemented support for software-based AUX color buffers.
...
Only available with Xlib driver for now.
Assorted clean-ups related to Draw/ReadBuffer().
Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-21 17:05:03 +00:00
Brian Paul
0095016425
fix array index error in _swsetup_Translate (Felix)
2004-03-21 16:12:13 +00:00
Felix Kuehling
7ab89a9770
Removed some useless definitions, artifacts from the Utah-GLX i810 driver.
2004-03-21 12:05:24 +00:00
Dave Airlie
21fb1f9180
Add new interface support don't switch on yet ..
2004-03-21 11:47:03 +00:00
Felix Kuehling
416b7a8788
unsigned int -> uint32_t, unsigned char -> uint8_t where the size matters.
...
A bit more cosmetics.
Improved state emit on Savage 3D/IX/MX.
2004-03-21 11:28:07 +00:00
Felix Kuehling
9d68891901
Fixed texture LOD bias.
2004-03-20 22:05:29 +00:00
Felix Kuehling
fd8a7dc26b
Fixed MAXFIFO_S4. Removed WAIT_IDLE_EMPTY from savage_BCI_swap which resulted
...
in another small speedup. Fixed a problem that was masked by that
WAIT_IDLE_EMPTY:
- flush command buffer and WAIT_IDLE_EMPTY before uploading textures
2004-03-20 19:40:09 +00:00