summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a new internal program parameter value STATE_TEXRECT_SCALE whichKeith Whitwell2006-09-201-0/+1
| | | | | | provides 1/width and 1/height of the active texture, useful for implementing ARB_texture_rectangle support on hardware which only supports ARB_npot-style texturing.
* Export _mesa_print_alu_instruction() to allow drivers to roll theirKeith Whitwell2006-09-201-0/+5
| | | | | | own debug code for programs with driver-private opcodes. Remove redundant loop in _mesa_num_inst_src_regs().
* added _mesa_alloc_instructions() utility functionBrian Paul2006-08-251-0/+3
|
* Added _mesa_realloc_instructions() utility function.Brian Paul2006-08-241-0/+4
| | | | Fixed/updated comments for parameter list functions.
* Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul2006-08-231-1/+3
| | | | | | a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
* Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul2006-07-201-21/+21
| | | | "gl_" to match other structs.
* Roll _mesa_free_parameters() into calling function (the only caller).Brian Paul2006-05-241-3/+0
| | | | | | Replace assert(0) with _mesa_warning(). Use new _mesa_align_realloc() function. New comments, clean-ups.
* use GLbitfield for StateFlags, improved commentsBrian Paul2006-05-241-11/+13
|
* track state flags which might invalidate parameter listsKeith Whitwell2005-11-221-0/+3
|
* No longer derive 'ati_fragment_shader' from 'program' class. Only theBrian Paul2005-11-191-5/+0
| | | | | program->Id and program->RefCount fields were used and ATI fragment shaders didn't have too much in common with ARB/NV vertex/fragment programs anyway.
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-121-1/+7
| | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
* consolidate vertex/fragment program printing into _mesa_print_program()Brian Paul2005-11-051-0/+5
|
* don't need MAKE_SWIZZLE() macroBrian Paul2005-11-051-5/+4
|
* Replace parameter_type enum in program.[ch], use register_file enums instead.Brian Paul2005-11-051-15/+6
|
* added a const, clean-upBrian Paul2005-11-031-1/+1
|
* reduce the use of malloc and strdup for parameter listsKeith Whitwell2005-05-101-0/+1
|
* Reduce the size of mesa's internal fragment and vertex programKeith Whitwell2005-04-211-2/+29
| | | | | representations by switching to packed structures for registers and instructions.
* prototype _mesa_init_ati_fragment_shader()Brian Paul2005-01-111-10/+13
|
* fix LoadProgramNV regression when I had fixed the RefCount bugBrian Paul2004-10-021-0/+3
|
* More updates for Doxygen.Brian Paul2004-09-101-2/+10
|
* fix some memory leaks (bug #1002030)Brian Paul2004-08-141-0/+3
|
* Moved from src/mesa/mainMichal Krol2004-03-291-0/+253