summaryrefslogtreecommitdiff
path: root/src/mesa/shader/nvfragparse.c
AgeCommit message (Collapse)Author
2009-12-10mesa: Initialize variable in MatchInstruction.Vinson Lee
2009-04-14mesa: merge the prog_src_register::NegateBase and NegateAbs fieldsBrian Paul
There's really no need for two negation fields. This came from the GL_NV_fragment_program extension. The new, unified Negate bitfield applies after the absolute value step.
2009-04-14mesa: remove NV vertex/fragment program print/debug codeBrian Paul
The code in prog_print.c can be used instead.
2009-03-07mesa: remove GL_MESA_program_debug extensionBrian Paul
This was never fully fleshed out and hasn't been used.
2009-02-28mesa: rename, reorder FRAG_RESULT_x tokensBrian Paul
s/FRAG_RESULT_DEPR/FRAG_RESULT_DEPTH/ s/FRAG_RESULT_COLR/FRAG_RESULT/COLOR/ Remove FRAG_RESULT_COLH (NV half-precision) output since we never used it. Next, we might merge the COLOR and DATA outputs (COLOR0, COLOR1, etc).
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2007-04-21remove more unused vars, assertionsBrian
2007-04-21remove unused vars, assertionsBrian
2007-03-22use _mesa_copy_instructions()Brian
2007-03-22In _mesa_add_unnamed_constant() and _mesa_lookup_parameter_constant() allow ↵Brian
swizzleOut==NULL. There are times when we don't want to allow swizzling when searching for or adding vector constants. Passing NULL for swizzleOut disables swizzling. This fixes a constant/swizzle bug in link_uniform_vars().
2007-01-04move TexturesUsed[] into gl_program since vertex programs/shaders can use ↵Brian
textures nowadays
2006-12-14remove unneeded includesBrian
2006-12-14Updated includes.Brian
2006-12-13Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes.Brian
2006-11-15Add a size parameter to _mesa_add_unnamed_constant() andBrian Paul
_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
2006-10-29Change _mesa_init_instruction() to initialize an array of instructions.Brian Paul
2006-08-25use _mesa_alloc_instructions()Brian Paul
2006-08-24scalar sources such as 'time.x' weren't accepted by parserBrian Paul
2006-07-20Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul
"gl_" to match other structs.
2006-05-30Define new NEGATE_* tokens for setting the src register's NegateBase field.Brian Paul
Before, we were using GL_TRUE/GL_FALSE in a few places. Note: only the SWZ instruction can negate individual components.
2006-04-05Silence minor compiler warnings (-Wextra).Brian Paul
2006-02-15Set NumInstructions (bug 5864)Brian Paul
2005-12-06C++ fixes, mostly casts (Stephane Conversy)Brian Paul
2005-11-20Make Saturate a 2-bit field again, renamed to SaturateMode with threeBrian Paul
possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE.
2005-11-12update some assertionsBrian Paul
2005-11-12Move stuff common to vertex/fragment_program into the base class, including:Brian Paul
Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
2005-11-05Unify vertex/fragment program instuctions.Brian Paul
Based on patch by Ian (#4967) but also unify instruction opcodes.
2005-11-05don't need MAKE_SWIZZLE() macroBrian Paul
2005-11-05Replace parameter_type enum in program.[ch], use register_file enums instead.Brian Paul
2005-11-03use WRITEMASK_* tokensBrian Paul
2005-11-02Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program conventionBrian Paul
2005-10-30Lots of clean-up in arb program parser.Brian Paul
Use new _mesa_init_fp/vp_instruction() function to initialize instructions.
2005-09-16use mesa import wrappers, bug 4468Brian Paul
2005-09-08be consistent in populating NegateBase fieldKeith Whitwell
2005-09-02replace -1 with PROGRAM_UNDEFINED when initializing instructionsBrian Paul
2005-05-05Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz
use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer.
2005-04-21Reduce the size of mesa's internal fragment and vertex programKeith Whitwell
representations by switching to packed structures for registers and instructions.
2004-12-18Added PRINT instruction for GL_NV_fragment_program.Brian Paul
2004-06-29disable some debug codeBrian Paul
2004-04-18Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.Brian Paul
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.
2004-04-02Implement ARB_f_p KIL correctly.Brian Paul
2004-03-29Moved from src/mesa/mainMichal Krol