Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: merge the prog_src_register::NegateBase and NegateAbs fields | Brian Paul | 2009-04-14 | 1 | -14/+19 |
| | | | | | | 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. | ||||
* | mesa: remove NV vertex/fragment program print/debug code | Brian Paul | 2009-04-14 | 1 | -242/+2 |
| | | | | The code in prog_print.c can be used instead. | ||||
* | mesa: remove GL_MESA_program_debug extension | Brian Paul | 2009-03-07 | 1 | -4/+0 |
| | | | | This was never fully fleshed out and hasn't been used. | ||||
* | mesa: rename, reorder FRAG_RESULT_x tokens | Brian Paul | 2009-02-28 | 1 | -27/+13 |
| | | | | | | | 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). | ||||
* | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | 2008-09-18 | 1 | -5/+5 |
| | | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code... | ||||
* | remove more unused vars, assertions | Brian | 2007-04-21 | 1 | -4/+2 |
| | |||||
* | remove unused vars, assertions | Brian | 2007-04-21 | 1 | -4/+2 |
| | |||||
* | use _mesa_copy_instructions() | Brian | 2007-03-22 | 1 | -2/+1 |
| | |||||
* | In _mesa_add_unnamed_constant() and _mesa_lookup_parameter_constant() allow ↵ | Brian | 2007-03-22 | 1 | -4/+4 |
| | | | | | | | | 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(). | ||||
* | move TexturesUsed[] into gl_program since vertex programs/shaders can use ↵ | Brian | 2007-01-04 | 1 | -1/+1 |
| | | | | textures nowadays | ||||
* | remove unneeded includes | Brian | 2006-12-14 | 1 | -3/+0 |
| | |||||
* | Updated includes. | Brian | 2006-12-14 | 1 | -1/+2 |
| | |||||
* | Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes. | Brian | 2006-12-13 | 1 | -8/+16 |
| | |||||
* | Add a size parameter to _mesa_add_unnamed_constant() and | Brian Paul | 2006-11-15 | 1 | -4/+4 |
| | | | | | _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now... | ||||
* | Change _mesa_init_instruction() to initialize an array of instructions. | Brian Paul | 2006-10-29 | 1 | -1/+1 |
| | |||||
* | use _mesa_alloc_instructions() | Brian Paul | 2006-08-25 | 1 | -4/+3 |
| | |||||
* | scalar sources such as 'time.x' weren't accepted by parser | Brian Paul | 2006-08-24 | 1 | -2/+16 |
| | |||||
* | Some structure renaming. Prefix vertex/fragment-related structs with | Brian Paul | 2006-07-20 | 1 | -5/+5 |
| | | | | "gl_" to match other structs. | ||||
* | Define new NEGATE_* tokens for setting the src register's NegateBase field. | Brian Paul | 2006-05-30 | 1 | -9/+9 |
| | | | | | Before, we were using GL_TRUE/GL_FALSE in a few places. Note: only the SWZ instruction can negate individual components. | ||||
* | Silence minor compiler warnings (-Wextra). | Brian Paul | 2006-04-05 | 1 | -2/+2 |
| | |||||
* | Set NumInstructions (bug 5864) | Brian Paul | 2006-02-15 | 1 | -0/+1 |
| | |||||
* | C++ fixes, mostly casts (Stephane Conversy) | Brian Paul | 2005-12-06 | 1 | -1/+1 |
| | |||||
* | Make Saturate a 2-bit field again, renamed to SaturateMode with three | Brian Paul | 2005-11-20 | 1 | -2/+3 |
| | | | | possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE. | ||||
* | update some assertions | Brian Paul | 2005-11-12 | 1 | -1/+1 |
| | |||||
* | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | 2005-11-12 | 1 | -14/+13 |
| | | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program(). | ||||
* | Unify vertex/fragment program instuctions. | Brian Paul | 2005-11-05 | 1 | -100/+79 |
| | | | | Based on patch by Ian (#4967) but also unify instruction opcodes. | ||||
* | don't need MAKE_SWIZZLE() macro | Brian Paul | 2005-11-05 | 1 | -2/+2 |
| | |||||
* | Replace parameter_type enum in program.[ch], use register_file enums instead. | Brian Paul | 2005-11-05 | 1 | -2/+2 |
| | |||||
* | use WRITEMASK_* tokens | Brian Paul | 2005-11-03 | 1 | -6/+6 |
| | |||||
* | Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention | Brian Paul | 2005-11-02 | 1 | -1/+1 |
| | |||||
* | Lots of clean-up in arb program parser. | Brian Paul | 2005-10-30 | 1 | -6/+22 |
| | | | | Use new _mesa_init_fp/vp_instruction() function to initialize instructions. | ||||
* | use mesa import wrappers, bug 4468 | Brian Paul | 2005-09-16 | 1 | -2/+2 |
| | |||||
* | be consistent in populating NegateBase field | Keith Whitwell | 2005-09-08 | 1 | -9/+9 |
| | |||||
* | replace -1 with PROGRAM_UNDEFINED when initializing instructions | Brian Paul | 2005-09-02 | 1 | -6/+5 |
| | |||||
* | Port Mesa to build on a P64 platform (e.g., Win64). P64 platforms | Karl Schultz | 2005-05-05 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Reduce the size of mesa's internal fragment and vertex program | Keith Whitwell | 2005-04-21 | 1 | -98/+90 |
| | | | | | representations by switching to packed structures for registers and instructions. | ||||
* | Added PRINT instruction for GL_NV_fragment_program. | Brian Paul | 2004-12-18 | 1 | -6/+73 |
| | |||||
* | disable some debug code | Brian Paul | 2004-06-29 | 1 | -2/+2 |
| | |||||
* | Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions. | Brian Paul | 2004-04-18 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | Implement ARB_f_p KIL correctly. | Brian Paul | 2004-04-02 | 1 | -2/+2 |
| | |||||
* | Moved from src/mesa/main | Michal Krol | 2004-03-29 | 1 | -0/+1767 |