Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |