Brian Paul
e22540c276
s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/
2004-03-03 15:36:01 +00:00
Brian Paul
db79b5683c
move _mesa_load_state_parameters() to state validation stage
2004-02-27 02:13:29 +00:00
Brian Paul
579ea7ff7a
fix PK2H, UP2H, PK2US bugs
2004-02-27 01:28:24 +00:00
Keith Whitwell
18fa367ac6
Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single
...
array, texObj->Image[face][level].
2004-01-27 16:34:45 +00:00
Brian Paul
4f295cee73
Initial support for floating point and signed texture formats.
...
New "FetchTexelFuncF()" function returns texels in floating point format.
Only used for depth component images at this time.
Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing
need for a bunch of ugly casts.
2004-01-23 01:59:54 +00:00
Brian Paul
ae7666385d
added blurb about NVIDIA extensions
2004-01-14 19:51:19 +00:00
Karl Rasche
7aa77b679d
Problem computing specular value in OPCODE_LIT - pulled in value from
...
vertex program execution of LIT
2003-12-13 15:12:58 +00:00
Brian Paul
4774cd9568
pass ctx to fetch_vector4_deriv()
2003-11-22 18:29:43 +00:00
Brian Paul
a1769b0287
fix some bugs in computation of DDX, DDY commands
2003-11-21 20:48:16 +00:00
Karl Rasche
75b5cb4317
Initial checkin of new ARB_frag/vertex program parser
2003-11-19 13:17:33 +00:00
Brian Paul
e4fcea2e06
Assorted casts to silence g++ warnings.
2003-09-19 15:38:15 +00:00
Karl Schultz
a01566e468
Add casts to prevent double->float conversion compiler warnings.
2003-09-18 15:14:58 +00:00
Brian Paul
d402cb97bd
implement SWZ and TXB. some code clean-up
2003-09-04 23:55:33 +00:00
Brian Paul
9c9c2cd725
Added new opcodes for ARB_fragment_program, like ABS, CMP, TXB, etc.
2003-09-04 15:18:22 +00:00
Brian Paul
7961e67c2a
update parameter indexing
2003-08-31 18:55:23 +00:00
Karl Schultz
dc24230de7
Silence compiler warnings about implicit casts or conversions by supplying explicit casts and/or tweaking constant and variable definitions.
2003-08-30 14:45:04 +00:00
Jouk Jansen
d49acd629b
Committing in .
...
Added a type cast to silence the OpenVMS DECC compiler
Modified Files:
Mesa-newtree/src/mesa/swrast/s_nvfragprog.c
----------------------------------------------------------------------
2003-08-27 11:12:35 +00:00
Brian Paul
f2dd273322
Re-org of register files for vertex/fragment programs. Will be easier to
...
hook in global state references, etc. for ARB programs.
2003-08-17 17:11:50 +00:00
Brian Paul
f7fda86c6d
Implement debugger callback, etc for vertex programs. Misc clean-ups.
2003-07-22 03:34:54 +00:00
Brian Paul
08ff059f20
Initial implementation of GL_MESA_program_debug - a vertex/fragment program
...
debugging extension.
2003-07-21 04:22:40 +00:00
Brian Paul
0295088118
initialize condition codes before running program
2003-05-10 04:37:24 +00:00
Brian Paul
7bb832f9f7
fix DDX, DDY instructions (probably not finished though)
2003-04-21 15:03:46 +00:00
Brian Paul
d0492cf137
Some groundwork for GL_ARB_vertex/fragment_program.
2003-04-11 01:20:06 +00:00
Brian Paul
36a0a3252e
Added ctx->Texture._EnabledCoordUnits bitfield.
...
Fixed some vertex array / vertex program glitches with glDrawElements.
Fixed some fragment program runtime bugs.
Non-trivial Cg programs are running now.
2003-04-08 02:27:16 +00:00
Brian Paul
ce7f006e66
fragment program named constants and named program parameters basically work now
2003-04-05 00:38:09 +00:00
Brian Paul
45bc887da2
replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]
2003-03-25 02:23:44 +00:00
Jouk Jansen
b0f347872d
Committing in .
...
Added some type casts
Modified Files:
Mesa/src/swrast/s_nvfragprog.c
----------------------------------------------------------------------
2003-03-19 07:15:35 +00:00
Brian Paul
4515663052
Rewrite of fragment program named parameters, constants, etc. Not done.
2003-03-19 05:34:24 +00:00
Brian Paul
54e92e8420
Store partial derivative values in sw_span structure.
...
Implemented DDX and DDY fragment program instructions (whew!)
Not fully tested yet.
2003-03-16 22:02:36 +00:00
Brian Paul
350353adcd
Fix up some fragment program texture enable issues.
...
Implemented TXD instruction.
2003-03-15 17:33:25 +00:00
Brian Paul
f386f73f9e
Clean-up of parser error handling/reporting.
...
Basic fragment program texture instructions are limping along.
2003-03-14 15:40:59 +00:00
Brian Paul
f9b1e5241f
added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof)
2003-03-04 16:33:53 +00:00
Brian Paul
27558a160a
Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]
...
Moved type conversion and interpolation macros into macros.h
Updated all the files that used to include mmath.h
2003-03-01 01:50:20 +00:00
Brian Paul
8488c9f3cb
pass the instruction to store_vector4(). implement KIL.
2003-02-25 19:29:43 +00:00
Brian Paul
b8d6607acd
Move span stuff from swrast.h to s_context.h (it's private).
...
Implemented remaining fragment program instructions.
Initial changes to implement fragment program texture sampling.
2003-02-23 04:10:54 +00:00
Brian Paul
04cbad84e8
Implement parsing of texture instructions and prototype execution.
...
Misc parser clean-ups.
2003-02-17 15:38:03 +00:00
Brian Paul
890bcc0be3
fragment program execution
2003-01-14 04:57:47 +00:00