mesa.git
20 years agocheck for __ia64__ when setting USE_IEEE
Brian Paul [Sun, 18 Apr 2004 20:21:16 +0000 (20:21 +0000)]
check for __ia64__ when setting USE_IEEE

20 years agoupdated instructions for new directory tree and makefile system
Brian Paul [Sun, 18 Apr 2004 20:17:14 +0000 (20:17 +0000)]
updated instructions for new directory tree and makefile system

20 years agoadded missing SHADER_SOURCES to ALL_SOURCES
Brian Paul [Sun, 18 Apr 2004 20:14:11 +0000 (20:14 +0000)]
added missing SHADER_SOURCES to ALL_SOURCES

20 years agohack to use glTexCoord4f and Q variable to test projective texcoords
Brian Paul [Sun, 18 Apr 2004 20:13:21 +0000 (20:13 +0000)]
hack to use glTexCoord4f and Q variable to test projective texcoords

20 years agoAudit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.
Brian Paul [Sun, 18 Apr 2004 20:11:52 +0000 (20:11 +0000)]
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.

20 years agoMake sure ctx->Driver.NeedFlush is set for Eval-generated attributes.
Keith Whitwell [Fri, 16 Apr 2004 08:30:12 +0000 (08:30 +0000)]
Make sure ctx->Driver.NeedFlush is set for Eval-generated attributes.

20 years agoMake _SAT instructions compile correctly.
Keith Whitwell [Thu, 15 Apr 2004 11:20:48 +0000 (11:20 +0000)]
Make _SAT instructions compile correctly.

20 years agomake sure matypes is built
Dave Airlie [Thu, 15 Apr 2004 05:55:26 +0000 (05:55 +0000)]
make sure matypes is built

20 years agoadd drm source dir for solo includes
Dave Airlie [Thu, 15 Apr 2004 04:50:20 +0000 (04:50 +0000)]
add drm source dir for solo includes

20 years agoget the libraries the right way round..
Dave Airlie [Thu, 15 Apr 2004 01:35:25 +0000 (01:35 +0000)]
get the libraries the right way round..

20 years agoCorrect the comments about when the bindContext3 / unbindContext3
Ian Romanick [Thu, 15 Apr 2004 01:24:57 +0000 (01:24 +0000)]
Correct the comments about when the bindContext3 / unbindContext3
interface was added.

20 years agoset default page flipping to zero can be changed in header file
Dave Airlie [Thu, 15 Apr 2004 01:15:38 +0000 (01:15 +0000)]
set default page flipping to zero can be changed in header file

20 years agowrap file in #ifdef USE_TCC, otherwise compilation failes
Brian Paul [Wed, 14 Apr 2004 23:23:19 +0000 (23:23 +0000)]
wrap file in #ifdef USE_TCC, otherwise compilation failes

20 years agoset CONFIG_NAME = linux-tcc
Brian Paul [Wed, 14 Apr 2004 21:35:47 +0000 (21:35 +0000)]
set CONFIG_NAME = linux-tcc

20 years agonew file
Keith Whitwell [Wed, 14 Apr 2004 21:20:00 +0000 (21:20 +0000)]
new file

20 years agoUse tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile
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.

20 years agoFail if any subdir fails.
Keith Whitwell [Wed, 14 Apr 2004 14:41:18 +0000 (14:41 +0000)]
Fail if any subdir fails.

20 years agoHack to get things compiling - include "drm.h" instead of "xf86drm.h".
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.

20 years agoLink against GL_LIB_DEPS
Keith Whitwell [Wed, 14 Apr 2004 13:31:09 +0000 (13:31 +0000)]
Link against GL_LIB_DEPS

20 years agoRemove mesa.a when making clean
Keith Whitwell [Wed, 14 Apr 2004 12:54:31 +0000 (12:54 +0000)]
Remove mesa.a when making clean

20 years agoFirst attempt at building a dri module in this tree
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.

20 years agoFirst pass at support for building DRI drivers in mesa tree.
Keith Whitwell [Wed, 14 Apr 2004 12:39:58 +0000 (12:39 +0000)]
First pass at support for building DRI drivers in mesa tree.

20 years agoDon't try to use .c=.o rule on .S files when building mesa.a
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

20 years agodisable under _SOLO build
Alan Hourihane [Wed, 14 Apr 2004 08:25:57 +0000 (08:25 +0000)]
disable under _SOLO build

20 years agodocumentation updates
Daniel Borca [Wed, 14 Apr 2004 08:00:52 +0000 (08:00 +0000)]
documentation updates
Glide3 driver: POINTCAST palette fixes

20 years agoAdd agpmode to the example config file
Dave Airlie [Wed, 14 Apr 2004 02:14:15 +0000 (02:14 +0000)]
Add agpmode to the example config file

20 years agoget agpmode from config file
Dave Airlie [Wed, 14 Apr 2004 02:09:52 +0000 (02:09 +0000)]
get agpmode from config file

20 years agoAdd shader sources for solo build
Dave Airlie [Wed, 14 Apr 2004 02:08:37 +0000 (02:08 +0000)]
Add shader sources for solo build

20 years agomake solo work like before new makefile merge
Dave Airlie [Wed, 14 Apr 2004 01:40:18 +0000 (01:40 +0000)]
make solo work like before new makefile merge

20 years agoadd agpmode to miniglx config file
Dave Airlie [Wed, 14 Apr 2004 01:33:27 +0000 (01:33 +0000)]
add agpmode to miniglx config file

20 years agominor tweak for Darwin
Brian Paul [Tue, 13 Apr 2004 17:35:17 +0000 (17:35 +0000)]
minor tweak for Darwin

20 years agocheck for __AMD64__ when setting USE_IEEE (Ronnny Vindenes)
Brian Paul [Tue, 13 Apr 2004 14:11:20 +0000 (14:11 +0000)]
check for __AMD64__ when setting USE_IEEE (Ronnny Vindenes)

20 years agoBuild a single string containing the generated 'C' code.
Keith Whitwell [Tue, 13 Apr 2004 13:43:48 +0000 (13:43 +0000)]
Build a single string containing the generated 'C' code.

20 years agofix the usage of GLX_MESA_allocate_memory
Alan Hourihane [Tue, 13 Apr 2004 09:43:51 +0000 (09:43 +0000)]
fix the usage of GLX_MESA_allocate_memory

20 years agoupdated Glide driver documentation
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)

20 years agomake this exactly like XFree86 .. allows 4x to work
Dave Airlie [Tue, 13 Apr 2004 04:58:10 +0000 (04:58 +0000)]
make this exactly like XFree86 .. allows 4x to work

20 years agoAdd DRM_SOURCE_PATH to make system.
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

20 years agoMissed one with the last commit.
Ian Romanick [Mon, 12 Apr 2004 22:41:47 +0000 (22:41 +0000)]
Missed one with the last commit.

20 years agoConditionally compile code for x86 specific TNL codegen. This fixes problem
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.

20 years agobuild fix for VMS
Alan Hourihane [Sun, 11 Apr 2004 22:22:23 +0000 (22:22 +0000)]
build fix for VMS

20 years agofix minor glitch with GL_DEPTH_COMPONENT textures
Brian Paul [Sat, 10 Apr 2004 19:50:33 +0000 (19:50 +0000)]
fix minor glitch with GL_DEPTH_COMPONENT textures

20 years agofix max buffer size test (Kyle Bateman, bug 912828)
Brian Paul [Fri, 9 Apr 2004 18:11:45 +0000 (18:11 +0000)]
fix max buffer size test (Kyle Bateman, bug 912828)

20 years agoadded extern "C" for C++ (bug 930933)
Brian Paul [Fri, 9 Apr 2004 17:18:22 +0000 (17:18 +0000)]
added extern "C" for C++ (bug 930933)

20 years agoadded SPECULAR flag for sprite point functions
Brian Paul [Fri, 9 Apr 2004 14:13:58 +0000 (14:13 +0000)]
added SPECULAR flag for sprite point functions

20 years agomake note about needing to fix the drm driver to enable SAVAGE_CMD_DMA
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

20 years agoadded zreaddraw.c
Brian Paul [Thu, 8 Apr 2004 22:45:02 +0000 (22:45 +0000)]
added zreaddraw.c

20 years agouse MKDEP var
Brian Paul [Thu, 8 Apr 2004 22:40:57 +0000 (22:40 +0000)]
use MKDEP var

20 years agoadded -noprefix option for making DRI drivers
Brian Paul [Thu, 8 Apr 2004 22:26:22 +0000 (22:26 +0000)]
added -noprefix option for making DRI drivers

20 years agominor fix
Brian Paul [Thu, 8 Apr 2004 22:25:53 +0000 (22:25 +0000)]
minor fix

20 years agolots of Makefile updates for new build system
Brian Paul [Thu, 8 Apr 2004 22:25:29 +0000 (22:25 +0000)]
lots of Makefile updates for new build system

20 years agomove pSAREAPriv declaration to be C-compliant
Brian Paul [Thu, 8 Apr 2004 22:25:03 +0000 (22:25 +0000)]
move pSAREAPriv declaration to be C-compliant

20 years agono depend file
Brian Paul [Thu, 8 Apr 2004 21:11:12 +0000 (21:11 +0000)]
no depend file

20 years agodon't include GL/gl.h, rely on glheader.h
Brian Paul [Thu, 8 Apr 2004 21:10:31 +0000 (21:10 +0000)]
don't include GL/gl.h, rely on glheader.h

20 years agomove 'id' declaration so it's C compliant
Brian Paul [Thu, 8 Apr 2004 21:10:07 +0000 (21:10 +0000)]
move 'id' declaration so it's C compliant

20 years agobuild fixes
Alan Hourihane [Thu, 8 Apr 2004 08:54:23 +0000 (08:54 +0000)]
build fixes

20 years agoremove non-portable whitespace
Alan Hourihane [Thu, 8 Apr 2004 08:10:37 +0000 (08:10 +0000)]
remove non-portable whitespace

20 years agouse new MKDEP, MKDEP_OPTIONS variables
Brian Paul [Wed, 7 Apr 2004 23:15:26 +0000 (23:15 +0000)]
use new MKDEP, MKDEP_OPTIONS variables

20 years agouse # comments instead of //, etc (ajax@nwnk.net)
Brian Paul [Wed, 7 Apr 2004 22:46:40 +0000 (22:46 +0000)]
use # comments instead of //, etc (ajax@nwnk.net)

20 years agoremoved wfx makefiles
Daniel Borca [Wed, 7 Apr 2004 11:39:33 +0000 (11:39 +0000)]
removed wfx makefiles

20 years agorevived linux-glide build process
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

20 years ago Committing in .
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
 ----------------------------------------------------------------------

20 years agoprotected all codegen behind AllowCodegen
Daniel Borca [Mon, 5 Apr 2004 06:49:36 +0000 (06:49 +0000)]
protected all codegen behind AllowCodegen

20 years ago Committing in .
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
 ----------------------------------------------------------------------

20 years agoupdate revision history
Brian Paul [Sat, 3 Apr 2004 16:17:46 +0000 (16:17 +0000)]
update revision history

20 years agominor corrections
Brian Paul [Sat, 3 Apr 2004 16:16:16 +0000 (16:16 +0000)]
minor corrections

20 years agominor tweak
Brian Paul [Sat, 3 Apr 2004 15:28:57 +0000 (15:28 +0000)]
minor tweak

20 years agofor make clean, include tests directory
Brian Paul [Sat, 3 Apr 2004 15:18:13 +0000 (15:18 +0000)]
for make clean, include tests directory

20 years agoshouldn't be in CVS
Brian Paul [Sat, 3 Apr 2004 15:17:43 +0000 (15:17 +0000)]
shouldn't be in CVS

20 years agoreorder 6.0 / 6.0.1 entries
Brian Paul [Fri, 2 Apr 2004 23:41:18 +0000 (23:41 +0000)]
reorder 6.0 / 6.0.1 entries

20 years agomerge from 6.0 branch
Brian Paul [Fri, 2 Apr 2004 23:37:02 +0000 (23:37 +0000)]
merge from 6.0 branch

20 years agoadded some assertions, just to be safe
Brian Paul [Fri, 2 Apr 2004 22:07:53 +0000 (22:07 +0000)]
added some assertions, just to be safe

20 years agofix bad array indexing in _save_current_init() that caused context state to get clobbered
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

20 years agoImplement ARB_f_p KIL correctly.
Brian Paul [Fri, 2 Apr 2004 17:27:46 +0000 (17:27 +0000)]
Implement ARB_f_p KIL correctly.

20 years agoadd braces to silence warnings
Brian Paul [Fri, 2 Apr 2004 17:17:00 +0000 (17:17 +0000)]
add braces to silence warnings

20 years agoadded FLUSH_CURRENT() call in GetMaterial() calls
Brian Paul [Fri, 2 Apr 2004 17:01:01 +0000 (17:01 +0000)]
added FLUSH_CURRENT() call in GetMaterial() calls

20 years agogot rid of the notify routine as intermediate step
Daniel Borca [Fri, 2 Apr 2004 09:34:39 +0000 (09:34 +0000)]
got rid of the notify routine as intermediate step

20 years agodisabled naughty cheats and protected the choosers behind AllowCodeGen
Daniel Borca [Fri, 2 Apr 2004 09:12:42 +0000 (09:12 +0000)]
disabled naughty cheats and protected the choosers behind AllowCodeGen

20 years agoadded codegen'ed choosers
Daniel Borca [Fri, 2 Apr 2004 06:42:04 +0000 (06:42 +0000)]
added codegen'ed choosers

20 years agofix error in rgb332 texel fetch function
Brian Paul [Fri, 2 Apr 2004 05:10:17 +0000 (05:10 +0000)]
fix error in rgb332 texel fetch function

20 years agoRename _x86_ symbols to avoid conflict with r200 driver
Keith Whitwell [Thu, 1 Apr 2004 17:34:09 +0000 (17:34 +0000)]
Rename _x86_ symbols to avoid conflict with r200 driver

20 years agoRemove test for USE_X86_ASM & HAVE_NONSTANDARD_GLAPIENTRY
Keith Whitwell [Thu, 1 Apr 2004 17:32:14 +0000 (17:32 +0000)]
Remove test for USE_X86_ASM & HAVE_NONSTANDARD_GLAPIENTRY

20 years agoDefine empty _tnl_x86_exec_vtxfmt_init if USE_X86_ASM is undefined. This
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.

20 years agocodegen'ed versions of the 2nd level dispatch
Daniel Borca [Thu, 1 Apr 2004 06:53:22 +0000 (06:53 +0000)]
codegen'ed versions of the 2nd level dispatch

20 years agofine-tuning x86 gcc codegen
Daniel Borca [Wed, 31 Mar 2004 08:31:41 +0000 (08:31 +0000)]
fine-tuning x86 gcc codegen

20 years agodynfn --> _tnl_dynfn
Keith Whitwell [Wed, 31 Mar 2004 06:36:30 +0000 (06:36 +0000)]
dynfn --> _tnl_dynfn

20 years agothese are now in the shader/ directory too
Brian Paul [Tue, 30 Mar 2004 23:05:56 +0000 (23:05 +0000)]
these are now in the shader/ directory too

20 years agothese files now live in the shader directory
Brian Paul [Tue, 30 Mar 2004 22:52:00 +0000 (22:52 +0000)]
these files now live in the shader directory

20 years agoWhy are there two copies of this file?
Keith Whitwell [Tue, 30 Mar 2004 21:55:14 +0000 (21:55 +0000)]
Why are there two copies of this file?

20 years agoMake the output a little more likely to compile...
Keith Whitwell [Tue, 30 Mar 2004 16:34:45 +0000 (16:34 +0000)]
Make the output a little more likely to compile...

20 years agoReorder some code so we don't upset program state when there's a parsing error.
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.

20 years agoInsert original fragment program instructions as comments.
Brian Paul [Tue, 30 Mar 2004 15:53:58 +0000 (15:53 +0000)]
Insert original fragment program instructions as comments.
s/__inline/INLINE/

20 years agoadded hpux10-static config
Brian Paul [Tue, 30 Mar 2004 14:56:47 +0000 (14:56 +0000)]
added hpux10-static config

20 years agomerge from 6.0.1 branch
Brian Paul [Tue, 30 Mar 2004 14:47:02 +0000 (14:47 +0000)]
merge from 6.0.1 branch

20 years agoAmusing utility to print ARB_fp programs as C code
Keith Whitwell [Tue, 30 Mar 2004 11:12:37 +0000 (11:12 +0000)]
Amusing utility to print ARB_fp programs as C code

20 years agoAdd #ifdef protection around the file to prevent DRI build breakage.
Ian Romanick [Tue, 30 Mar 2004 00:23:25 +0000 (00:23 +0000)]
Add #ifdef protection around the file to prevent DRI build breakage.

20 years agofix array indexing for UP4B and UP4UB
Brian Paul [Mon, 29 Mar 2004 16:34:01 +0000 (16:34 +0000)]
fix array indexing for UP4B and UP4UB

20 years agoAccomodate ARB_fp XPD opcode separately from NV_fp's X2D.
Keith Whitwell [Mon, 29 Mar 2004 16:01:18 +0000 (16:01 +0000)]
Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.

20 years agoTake a stab at updating the VMS files.
Brian Paul [Mon, 29 Mar 2004 14:58:42 +0000 (14:58 +0000)]
Take a stab at updating the VMS files.

20 years agofix the build
Brian Paul [Mon, 29 Mar 2004 14:53:49 +0000 (14:53 +0000)]
fix the build

20 years agonew files
Keith Whitwell [Mon, 29 Mar 2004 14:01:56 +0000 (14:01 +0000)]
new files