Keith Whitwell [Wed, 14 Apr 2004 21:20:00 +0000 (21:20 +0000)]
new file
Keith Whitwell [Wed, 14 Apr 2004 21:19:34 +0000 (21:19 +0000)]
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.
Keith Whitwell [Wed, 14 Apr 2004 14:41:18 +0000 (14:41 +0000)]
Fail if any subdir fails.
Keith Whitwell [Wed, 14 Apr 2004 13:32:37 +0000 (13:32 +0000)]
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.
Keith Whitwell [Wed, 14 Apr 2004 13:31:09 +0000 (13:31 +0000)]
Link against GL_LIB_DEPS
Keith Whitwell [Wed, 14 Apr 2004 12:54:31 +0000 (12:54 +0000)]
Remove mesa.a when making clean
Keith Whitwell [Wed, 14 Apr 2004 12:44:07 +0000 (12:44 +0000)]
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.
Keith Whitwell [Wed, 14 Apr 2004 12:39:58 +0000 (12:39 +0000)]
First pass at support for building DRI drivers in mesa tree.
Keith Whitwell [Wed, 14 Apr 2004 10:26:47 +0000 (10:26 +0000)]
Don't try to use .c=.o rule on .S files when building mesa.a
Alan Hourihane [Wed, 14 Apr 2004 08:25:57 +0000 (08:25 +0000)]
disable under _SOLO build
Daniel Borca [Wed, 14 Apr 2004 08:00:52 +0000 (08:00 +0000)]
documentation updates
Glide3 driver: POINTCAST palette fixes
Dave Airlie [Wed, 14 Apr 2004 02:14:15 +0000 (02:14 +0000)]
Add agpmode to the example config file
Dave Airlie [Wed, 14 Apr 2004 02:09:52 +0000 (02:09 +0000)]
get agpmode from config file
Dave Airlie [Wed, 14 Apr 2004 02:08:37 +0000 (02:08 +0000)]
Add shader sources for solo build
Dave Airlie [Wed, 14 Apr 2004 01:40:18 +0000 (01:40 +0000)]
make solo work like before new makefile merge
Dave Airlie [Wed, 14 Apr 2004 01:33:27 +0000 (01:33 +0000)]
add agpmode to miniglx config file
Brian Paul [Tue, 13 Apr 2004 17:35:17 +0000 (17:35 +0000)]
minor tweak for Darwin
Brian Paul [Tue, 13 Apr 2004 14:11:20 +0000 (14:11 +0000)]
check for __AMD64__ when setting USE_IEEE (Ronnny Vindenes)
Keith Whitwell [Tue, 13 Apr 2004 13:43:48 +0000 (13:43 +0000)]
Build a single string containing the generated 'C' code.
Alan Hourihane [Tue, 13 Apr 2004 09:43:51 +0000 (09:43 +0000)]
fix the usage of GLX_MESA_allocate_memory
Daniel Borca [Tue, 13 Apr 2004 07:08:34 +0000 (07:08 +0000)]
updated Glide driver documentation
fixed SAL/SAR in assyntax.h (NASM)
fixed a bug wrt NULL pointer assignment in t_vtx_api.c
cosmetics to t_vtx_x86.c & t_vtx_x86_gcc.S
enabled STDCALL with codegen (MinGW)
Dave Airlie [Tue, 13 Apr 2004 04:58:10 +0000 (04:58 +0000)]
make this exactly like XFree86 .. allows 4x to work
Jon Smirl [Tue, 13 Apr 2004 04:11:32 +0000 (04:11 +0000)]
Add DRM_SOURCE_PATH to make system.
Needed for linux-solo to build
Ian Romanick [Mon, 12 Apr 2004 22:41:47 +0000 (22:41 +0000)]
Missed one with the last commit.
Ian Romanick [Mon, 12 Apr 2004 22:40:54 +0000 (22:40 +0000)]
Conditionally compile code for x86 specific TNL codegen. This fixes problem
with x86-64 and PowerPC.
Reported by: sublett on #dri-devel.
Alan Hourihane [Sun, 11 Apr 2004 22:22:23 +0000 (22:22 +0000)]
build fix for VMS
Brian Paul [Sat, 10 Apr 2004 19:50:33 +0000 (19:50 +0000)]
fix minor glitch with GL_DEPTH_COMPONENT textures
Brian Paul [Fri, 9 Apr 2004 18:11:45 +0000 (18:11 +0000)]
fix max buffer size test (Kyle Bateman, bug 912828)
Brian Paul [Fri, 9 Apr 2004 17:18:22 +0000 (17:18 +0000)]
added extern "C" for C++ (bug 930933)
Brian Paul [Fri, 9 Apr 2004 14:13:58 +0000 (14:13 +0000)]
added SPECULAR flag for sprite point functions
Alan Hourihane [Thu, 8 Apr 2004 23:16:17 +0000 (23:16 +0000)]
make note about needing to fix the drm driver to enable SAVAGE_CMD_DMA
Brian Paul [Thu, 8 Apr 2004 22:45:02 +0000 (22:45 +0000)]
added zreaddraw.c
Brian Paul [Thu, 8 Apr 2004 22:40:57 +0000 (22:40 +0000)]
use MKDEP var
Brian Paul [Thu, 8 Apr 2004 22:26:22 +0000 (22:26 +0000)]
added -noprefix option for making DRI drivers
Brian Paul [Thu, 8 Apr 2004 22:25:53 +0000 (22:25 +0000)]
minor fix
Brian Paul [Thu, 8 Apr 2004 22:25:29 +0000 (22:25 +0000)]
lots of Makefile updates for new build system
Brian Paul [Thu, 8 Apr 2004 22:25:03 +0000 (22:25 +0000)]
move pSAREAPriv declaration to be C-compliant
Brian Paul [Thu, 8 Apr 2004 21:11:12 +0000 (21:11 +0000)]
no depend file
Brian Paul [Thu, 8 Apr 2004 21:10:31 +0000 (21:10 +0000)]
don't include GL/gl.h, rely on glheader.h
Brian Paul [Thu, 8 Apr 2004 21:10:07 +0000 (21:10 +0000)]
move 'id' declaration so it's C compliant
Alan Hourihane [Thu, 8 Apr 2004 08:54:23 +0000 (08:54 +0000)]
build fixes
Alan Hourihane [Thu, 8 Apr 2004 08:10:37 +0000 (08:10 +0000)]
remove non-portable whitespace
Brian Paul [Wed, 7 Apr 2004 23:15:26 +0000 (23:15 +0000)]
use new MKDEP, MKDEP_OPTIONS variables
Brian Paul [Wed, 7 Apr 2004 22:46:40 +0000 (22:46 +0000)]
use # comments instead of //, etc (ajax@nwnk.net)
Daniel Borca [Wed, 7 Apr 2004 11:39:33 +0000 (11:39 +0000)]
removed wfx makefiles
Daniel Borca [Wed, 7 Apr 2004 06:37:50 +0000 (06:37 +0000)]
revived linux-glide build process
some small Makefile changes for MinGW & DJGPP
Jouk Jansen [Mon, 5 Apr 2004 08:50:36 +0000 (08:50 +0000)]
Committing in .
Correction on last commit (My FTP-server on linux is playing games with
<CR>'s)
Modified Files:
Mesa/src/mesa/drivers/common/descrip.mms
Mesa/src/mesa/main/descrip.mms
Mesa/src/mesa/shader/arbprogparse.c
Mesa/src/mesa/shader/descrip.mms
Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
Daniel Borca [Mon, 5 Apr 2004 06:49:36 +0000 (06:49 +0000)]
protected all codegen behind AllowCodegen
Jouk Jansen [Mon, 5 Apr 2004 06:12:01 +0000 (06:12 +0000)]
Committing in .
Updated OpenVMS compile support due to shader directory.
Removed <CR>'s in arbprogparse.c
Modified Files:
Mesa/src/mesa/descrip.mms
Mesa/src/mesa/drivers/common/descrip.mms
Mesa/src/mesa/main/descrip.mms
Mesa/src/mesa/shader/arbprogparse.c
Mesa/src/mesa/shader/descrip.mms
Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
Brian Paul [Sat, 3 Apr 2004 16:17:46 +0000 (16:17 +0000)]
update revision history
Brian Paul [Sat, 3 Apr 2004 16:16:16 +0000 (16:16 +0000)]
minor corrections
Brian Paul [Sat, 3 Apr 2004 15:28:57 +0000 (15:28 +0000)]
minor tweak
Brian Paul [Sat, 3 Apr 2004 15:18:13 +0000 (15:18 +0000)]
for make clean, include tests directory
Brian Paul [Sat, 3 Apr 2004 15:17:43 +0000 (15:17 +0000)]
shouldn't be in CVS
Brian Paul [Fri, 2 Apr 2004 23:41:18 +0000 (23:41 +0000)]
reorder 6.0 / 6.0.1 entries
Brian Paul [Fri, 2 Apr 2004 23:37:02 +0000 (23:37 +0000)]
merge from 6.0 branch
Brian Paul [Fri, 2 Apr 2004 22:07:53 +0000 (22:07 +0000)]
added some assertions, just to be safe
Brian Paul [Fri, 2 Apr 2004 22:07:23 +0000 (22:07 +0000)]
fix bad array indexing in _save_current_init() that caused context state to get clobbered
Brian Paul [Fri, 2 Apr 2004 17:27:46 +0000 (17:27 +0000)]
Implement ARB_f_p KIL correctly.
Brian Paul [Fri, 2 Apr 2004 17:17:00 +0000 (17:17 +0000)]
add braces to silence warnings
Brian Paul [Fri, 2 Apr 2004 17:01:01 +0000 (17:01 +0000)]
added FLUSH_CURRENT() call in GetMaterial() calls
Daniel Borca [Fri, 2 Apr 2004 09:34:39 +0000 (09:34 +0000)]
got rid of the notify routine as intermediate step
Daniel Borca [Fri, 2 Apr 2004 09:12:42 +0000 (09:12 +0000)]
disabled naughty cheats and protected the choosers behind AllowCodeGen
Daniel Borca [Fri, 2 Apr 2004 06:42:04 +0000 (06:42 +0000)]
added codegen'ed choosers
Brian Paul [Fri, 2 Apr 2004 05:10:17 +0000 (05:10 +0000)]
fix error in rgb332 texel fetch function
Keith Whitwell [Thu, 1 Apr 2004 17:34:09 +0000 (17:34 +0000)]
Rename _x86_ symbols to avoid conflict with r200 driver
Keith Whitwell [Thu, 1 Apr 2004 17:32:14 +0000 (17:32 +0000)]
Remove test for USE_X86_ASM & HAVE_NONSTANDARD_GLAPIENTRY
Felix Kuehling [Thu, 1 Apr 2004 11:10:18 +0000 (11:10 +0000)]
Define empty _tnl_x86_exec_vtxfmt_init if USE_X86_ASM is undefined. This
fixes a missing symbol in libGLcore.a.
Daniel Borca [Thu, 1 Apr 2004 06:53:22 +0000 (06:53 +0000)]
codegen'ed versions of the 2nd level dispatch
Daniel Borca [Wed, 31 Mar 2004 08:31:41 +0000 (08:31 +0000)]
fine-tuning x86 gcc codegen
Keith Whitwell [Wed, 31 Mar 2004 06:36:30 +0000 (06:36 +0000)]
dynfn --> _tnl_dynfn
Brian Paul [Tue, 30 Mar 2004 23:05:56 +0000 (23:05 +0000)]
these are now in the shader/ directory too
Brian Paul [Tue, 30 Mar 2004 22:52:00 +0000 (22:52 +0000)]
these files now live in the shader directory
Keith Whitwell [Tue, 30 Mar 2004 21:55:14 +0000 (21:55 +0000)]
Why are there two copies of this file?
Keith Whitwell [Tue, 30 Mar 2004 16:34:45 +0000 (16:34 +0000)]
Make the output a little more likely to compile...
Brian Paul [Tue, 30 Mar 2004 15:55:10 +0000 (15:55 +0000)]
Reorder some code so we don't upset program state when there's a parsing error.
Be sure to assign program.Base.String pointer.
Brian Paul [Tue, 30 Mar 2004 15:53:58 +0000 (15:53 +0000)]
Insert original fragment program instructions as comments.
s/__inline/INLINE/
Brian Paul [Tue, 30 Mar 2004 14:56:47 +0000 (14:56 +0000)]
added hpux10-static config
Brian Paul [Tue, 30 Mar 2004 14:47:02 +0000 (14:47 +0000)]
merge from 6.0.1 branch
Keith Whitwell [Tue, 30 Mar 2004 11:12:37 +0000 (11:12 +0000)]
Amusing utility to print ARB_fp programs as C code
Ian Romanick [Tue, 30 Mar 2004 00:23:25 +0000 (00:23 +0000)]
Add #ifdef protection around the file to prevent DRI build breakage.
Brian Paul [Mon, 29 Mar 2004 16:34:01 +0000 (16:34 +0000)]
fix array indexing for UP4B and UP4UB
Keith Whitwell [Mon, 29 Mar 2004 16:01:18 +0000 (16:01 +0000)]
Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.
Brian Paul [Mon, 29 Mar 2004 14:58:42 +0000 (14:58 +0000)]
Take a stab at updating the VMS files.
Brian Paul [Mon, 29 Mar 2004 14:53:49 +0000 (14:53 +0000)]
fix the build
Keith Whitwell [Mon, 29 Mar 2004 14:01:56 +0000 (14:01 +0000)]
new files
Michal Krol [Mon, 29 Mar 2004 11:09:34 +0000 (11:09 +0000)]
Moved from src/mesa/main
Keith Whitwell [Mon, 29 Mar 2004 11:05:02 +0000 (11:05 +0000)]
First round of codegen for t_vtx_api.c -- ie the Begin/Vertex/End code.
Enable with env var: MESA_CODEGEN=t.
Michal Krol [Mon, 29 Mar 2004 11:01:57 +0000 (11:01 +0000)]
This wont be needed any more
Michal Krol [Mon, 29 Mar 2004 10:58:58 +0000 (10:58 +0000)]
Moved to src/mesa/shader and renamed to arbprogram_syn.h
Michal Krol [Mon, 29 Mar 2004 10:57:16 +0000 (10:57 +0000)]
Moved to src/mesa/shader and renamed to arbprogparse.[ch]
Michal Krol [Mon, 29 Mar 2004 10:54:32 +0000 (10:54 +0000)]
Moved to src/mesa/shader
Daniel Borca [Mon, 29 Mar 2004 06:51:41 +0000 (06:51 +0000)]
code cleanup heheh
Felix Kuehling [Sat, 27 Mar 2004 01:04:09 +0000 (01:04 +0000)]
Forgot to set SAVAGE_NEW_CULL in savageDDEnable_s3d.
Brian Paul [Fri, 26 Mar 2004 23:58:08 +0000 (23:58 +0000)]
minor fixes
Brian Paul [Fri, 26 Mar 2004 23:57:32 +0000 (23:57 +0000)]
added GLW_SOURCES for IRIX
Brian Paul [Fri, 26 Mar 2004 23:54:53 +0000 (23:54 +0000)]
fix some warnings
Brian Paul [Fri, 26 Mar 2004 23:52:47 +0000 (23:52 +0000)]
tweaks to APP_LIB_DEPS (Dan Schikore)
Felix Kuehling [Fri, 26 Mar 2004 23:27:24 +0000 (23:27 +0000)]
Enable drawing directly to the (now tiled) front buffer.
Brian Paul [Fri, 26 Mar 2004 22:50:04 +0000 (22:50 +0000)]
added .SUFFIXES : .cc line