Commit graph

201327 commits

Author SHA1 Message Date
Keith Whitwell
7bd5343990 Fix order of EMIT_4UB_4F declarations 2004-04-22 08:14:48 +00:00
Brian Paul
66fdc3c948 added floattex.c to test floating point textures 2004-04-22 01:10:09 +00:00
Brian Paul
5b45c11486 use FetchTexelf() in GetTexImage() to return float textures correctly 2004-04-22 01:08:36 +00:00
Brian Paul
3623733472 fix some include file glitches 2004-04-22 00:54:53 +00:00
Brian Paul
2fae1bb6df minor clean-ups 2004-04-22 00:47:28 +00:00
Brian Paul
362f1df210 obsolete 2004-04-22 00:42:38 +00:00
Brian Paul
f959f6e1dc New glTexImage code.
The gl_texture_format struct now has a StoreTexImageFunc that's called
by glTex[Sub]Image[123]D to convert the user's texture data into the
specific texture format layout.  Now it's much easier to add new texture
formats (like the 16/32-bit floating point formats).
The texutil.[ch] and texutil_tmp.h files are obsolete.
2004-04-22 00:27:31 +00:00
Brian Paul
05a6f2fd48 Fix up some assorted issues with initialization of vertex program registers.
Some need to be set per-vertex, other per-primitive.  Cleared that up.
Only need to init temp/result registers if executing an NV vertex program.
2004-04-21 18:09:14 +00:00
Brian Paul
6164ae2b5a only init temp regs to zero if executing NV fragment program 2004-04-21 17:51:21 +00:00
Brian Paul
c45b7364da check return values of _swrast_CreateContext, etc 2004-04-21 16:11:27 +00:00
Brian Paul
f693b1dc2e removed non-existant arbfpwpos.c, added UTIL_FILES target 2004-04-20 23:25:47 +00:00
Keith Whitwell
74339bf471 Add printing for recently added opcodes. 2004-04-20 13:03:36 +00:00
Alan Hourihane
485438e2be add SciTech's GLDirect driver for Windows.
This code is donated to Mesa which allows the usage of
a Direct3D layer (DX7, DX8, DX9 or complete software fallback).

No build system exists for this code yet, that will come.....
2004-04-20 11:13:11 +00:00
Keith Whitwell
319f5fd5ec Simplify last fix slightly, apply to vtx paths as well. 2004-04-20 10:28:15 +00:00
Keith Whitwell
30a8a0b8fa When upgrading copied vertices, distinguish between an attribute
entering a vertex for the first time and one which was already present
but increasing its size.  Fixes Brian's normal.c bug.
2004-04-20 10:18:33 +00:00
Brian Paul
8be72c5b5d apply texgen/texture matrix in glRasterPos 2004-04-19 23:13:36 +00:00
Brian Paul
adcb228fed linux-solo-ia64 config (Stephane Marchesin) 2004-04-19 22:23:10 +00:00
Brian Paul
1fc35a44ef glTexEnviv bug fix 2004-04-19 20:26:30 +00:00
Brian Paul
ac96356300 in TexEnv functions, check if pname == GL_TEXTURE_ENV_COLOR and fetch appropriate number of param values 2004-04-19 20:24:49 +00:00
Brian Paul
e63cb85cbc do texcoord projective division in _swrast_span_default_texcoords() 2004-04-19 15:03:16 +00:00
Brian Paul
4697419c43 bug fixes for ARB/NV fragment program texture instructions 2004-04-18 20:23:24 +00:00
Brian Paul
8e048e72c1 check for __ia64__ when setting USE_IEEE 2004-04-18 20:21:16 +00:00
Brian Paul
f4b909bed0 updated instructions for new directory tree and makefile system 2004-04-18 20:17:14 +00:00
Brian Paul
eca88f8019 added missing SHADER_SOURCES to ALL_SOURCES 2004-04-18 20:14:11 +00:00
Brian Paul
51060afb4e hack to use glTexCoord4f and Q variable to test projective texcoords 2004-04-18 20:13:21 +00:00
Brian Paul
d8b82147c3 Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.
Some texture instructions were using wrong LOD.
Fixed interpolate_texcoords() so it doesn't do texcoord projective division
when using a fragment program.  The TXP instruction does that.
2004-04-18 20:11:52 +00:00
Keith Whitwell
c83d09e3b0 Make sure ctx->Driver.NeedFlush is set for Eval-generated attributes. 2004-04-16 08:30:12 +00:00
Keith Whitwell
aa90495915 Make _SAT instructions compile correctly. 2004-04-15 11:20:48 +00:00
Dave Airlie
4d914b80e1 make sure matypes is built 2004-04-15 05:55:26 +00:00
Dave Airlie
5772d998f4 add drm source dir for solo includes 2004-04-15 04:50:20 +00:00
Dave Airlie
85dc9fe543 get the libraries the right way round.. 2004-04-15 01:35:25 +00:00
Ian Romanick
ab37fddbfd Correct the comments about when the bindContext3 / unbindContext3
interface was added.
2004-04-15 01:24:57 +00:00
Dave Airlie
a7abda5820 set default page flipping to zero can be changed in header file 2004-04-15 01:15:38 +00:00
Brian Paul
643020dd82 wrap file in #ifdef USE_TCC, otherwise compilation failes 2004-04-14 23:23:19 +00:00
Brian Paul
06535d239b set CONFIG_NAME = linux-tcc 2004-04-14 21:35:47 +00:00
Keith Whitwell
9a543e5645 new file 2004-04-14 21:20:00 +00:00
Keith Whitwell
6fb235661a Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile
and execute fragment programs.  Very limited and experimental, but works
well enough to run arbfplight.c.

	http://fabrice.bellard.free.fr/tcc/

Compile with 'make linux-tcc', being sure to make clean first.
2004-04-14 21:19:34 +00:00
Keith Whitwell
e3b0dde49c Fail if any subdir fails. 2004-04-14 14:41:18 +00:00
Keith Whitwell
f2b3d0828e Hack to get things compiling - include "drm.h" instead of "xf86drm.h".
Need to fix this, or get maybe rid of xf86drm.h which seems redundant
in a standalone build.
2004-04-14 13:32:37 +00:00
Keith Whitwell
6b3780cd83 Link against GL_LIB_DEPS 2004-04-14 13:31:09 +00:00
Keith Whitwell
01e6ff312e Remove mesa.a when making clean 2004-04-14 12:54:31 +00:00
Keith Whitwell
e61df58729 First attempt at building a dri module in this tree
-- make target is linux-dri
	-- will attempt to build i830_dri.so

The object builds but hasn't been tested.
2004-04-14 12:44:07 +00:00
Keith Whitwell
680ec7f851 First pass at support for building DRI drivers in mesa tree. 2004-04-14 12:39:58 +00:00
Keith Whitwell
00e01091ce Don't try to use .c=.o rule on .S files when building mesa.a 2004-04-14 10:26:47 +00:00
Alan Hourihane
3a590805d1 disable under _SOLO build 2004-04-14 08:25:57 +00:00
Daniel Borca
edf4f53c15 documentation updates
Glide3 driver: POINTCAST palette fixes
2004-04-14 08:00:52 +00:00
Dave Airlie
377ced2bf1 Add agpmode to the example config file 2004-04-14 02:14:15 +00:00
Dave Airlie
f833df0781 get agpmode from config file 2004-04-14 02:09:52 +00:00
Dave Airlie
50a8b7b611 Add shader sources for solo build 2004-04-14 02:08:37 +00:00
Dave Airlie
ec5f71d0f3 make solo work like before new makefile merge 2004-04-14 01:40:18 +00:00