Commit Graph

3257 Commits

Author SHA1 Message Date
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 5d8f7b1197 add agpmode to miniglx config file 2004-04-14 01:33:27 +00:00
Brian Paul e4e323f388 check for __AMD64__ when setting USE_IEEE (Ronnny Vindenes) 2004-04-13 14:11:20 +00:00
Keith Whitwell 563dadd674 Build a single string containing the generated 'C' code. 2004-04-13 13:43:48 +00:00
Alan Hourihane bfaca5c649 fix the usage of GLX_MESA_allocate_memory 2004-04-13 09:43:51 +00:00
Daniel Borca fb7766853d 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)
2004-04-13 07:08:34 +00:00
Dave Airlie 4ba589bbf0 make this exactly like XFree86 .. allows 4x to work 2004-04-13 04:58:10 +00:00
Jon Smirl c0b0b48e5b Add DRM_SOURCE_PATH to make system.
Needed for linux-solo to build
2004-04-13 04:11:32 +00:00
Ian Romanick 231603893d Missed one with the last commit. 2004-04-12 22:41:47 +00:00
Ian Romanick ee22ed2fb4 Conditionally compile code for x86 specific TNL codegen. This fixes problem
with x86-64 and PowerPC.

Reported by: sublett on #dri-devel.
2004-04-12 22:40:54 +00:00
Alan Hourihane 7873f85684 build fix for VMS 2004-04-11 22:22:23 +00:00
Brian Paul 2db8fe2906 fix minor glitch with GL_DEPTH_COMPONENT textures 2004-04-10 19:50:33 +00:00
Brian Paul 089645799c fix max buffer size test (Kyle Bateman, bug 912828) 2004-04-09 18:11:45 +00:00
Brian Paul fb31a01f87 added SPECULAR flag for sprite point functions 2004-04-09 14:13:58 +00:00
Alan Hourihane d0c8352853 make note about needing to fix the drm driver to enable SAVAGE_CMD_DMA 2004-04-08 23:16:17 +00:00
Brian Paul f3b732f5e5 use MKDEP var 2004-04-08 22:40:57 +00:00
Brian Paul a3df5990d7 minor fix 2004-04-08 22:25:53 +00:00
Brian Paul 18e9b2e5f8 lots of Makefile updates for new build system 2004-04-08 22:25:29 +00:00
Brian Paul 01eab7c834 move pSAREAPriv declaration to be C-compliant 2004-04-08 22:25:03 +00:00
Brian Paul 78c3edc174 don't include GL/gl.h, rely on glheader.h 2004-04-08 21:10:31 +00:00
Brian Paul bb16df1767 move 'id' declaration so it's C compliant 2004-04-08 21:10:07 +00:00
Alan Hourihane b303217c14 build fixes 2004-04-08 08:54:23 +00:00
Alan Hourihane caa5f7e75e remove non-portable whitespace 2004-04-08 08:10:37 +00:00
Brian Paul 9f4ccd8aa0 use new MKDEP, MKDEP_OPTIONS variables 2004-04-07 23:15:26 +00:00
Brian Paul 216aedbbc6 use # comments instead of //, etc (ajax@nwnk.net) 2004-04-07 22:46:40 +00:00
Daniel Borca cdd6ba3096 removed wfx makefiles 2004-04-07 11:39:33 +00:00
Daniel Borca d3746ca27e revived linux-glide build process
some small Makefile changes for MinGW & DJGPP
2004-04-07 06:37:50 +00:00
Jouk Jansen 40322e1dfa 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
 ----------------------------------------------------------------------
2004-04-05 08:50:36 +00:00
Daniel Borca 8cc059ea64 protected all codegen behind AllowCodegen 2004-04-05 06:49:36 +00:00
Jouk Jansen 8ef874f1a5 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
 ----------------------------------------------------------------------
2004-04-05 06:12:01 +00:00
Brian Paul c2b989f351 minor tweak 2004-04-03 15:28:57 +00:00
Brian Paul 3c5d58ccaf shouldn't be in CVS 2004-04-03 15:17:43 +00:00
Brian Paul 8b7da14b82 added some assertions, just to be safe 2004-04-02 22:07:53 +00:00
Brian Paul ec38d1c22c fix bad array indexing in _save_current_init() that caused context state to get clobbered 2004-04-02 22:07:23 +00:00
Brian Paul ff1a015ca8 Implement ARB_f_p KIL correctly. 2004-04-02 17:27:46 +00:00
Brian Paul 17355e8b38 add braces to silence warnings 2004-04-02 17:17:00 +00:00
Brian Paul 7feb528905 added FLUSH_CURRENT() call in GetMaterial() calls 2004-04-02 17:01:01 +00:00
Daniel Borca f17980cdb7 got rid of the notify routine as intermediate step 2004-04-02 09:34:39 +00:00