Implement enough of ARB_fragment_program for Keith's texenv program
authorBen Skeggs <darktama@iinet.net.au>
Mon, 23 May 2005 14:14:19 +0000 (14:14 +0000)
committerBen Skeggs <darktama@iinet.net.au>
Mon, 23 May 2005 14:14:19 +0000 (14:14 +0000)
commiteeada484979e9784ebb03f635f207e717a04e311
tree54a94ddb1af18e91f5908e035b2e2242ca1d0bc5
parent0c4731b27ccf5faa1393102107862c28642b3d76
Implement enough of ARB_fragment_program for Keith's texenv program
generation in Mesa.  Requires most recent Mesa cvs to work correctly.

Swizzle code is possibly slow/buggy and will probably be replaced.

Old behaviour can be controlled by a #define in r300_context.h, if
no-one minds I'll remove the old code later on.

Also, disabled cube map extension.  AFAIK We don't support it yet,
and it causes issues with UT2004.
src/mesa/drivers/dri/r300/Makefile
src/mesa/drivers/dri/r300/r300_context.c
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_fragprog.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/r300_fragprog.h [new file with mode: 0644]
src/mesa/drivers/dri/r300/r300_reg.h
src/mesa/drivers/dri/r300/r300_shader.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_texprog.c