summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_instruction.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-101-352/+0
|
* mesa: restore _mesa_snprintf() - it's needed for WindowsBrian Paul2010-02-191-1/+1
| | | | This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-4/+4
|
* mesa: replace _mesa_bzero() with memset()Brian Paul2010-02-191-1/+1
|
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-1/+1
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* mesa: better handling/printing of driver-specific opcodes, register filesBrian Paul2009-05-111-2/+5
| | | | | Drivers such as i965 define extra instruction opcodes and register files. Improve the program printing code to handle those opcodes/files better.
* mesa: added _mesa_check_soa_dependencies() functionBrian Paul2009-04-291-0/+50
| | | | | This function will check an instruction to see if there's data dependencies between the dst and src registers if executed in an SOA manner.
* mesa: replace assertion with conditional in _mesa_opcode_string()Brian Paul2009-04-031-2/+4
|
* mesa: added some assertionsBrian Paul2009-03-051-0/+2
|
* mesa: put _NV suffix on a few opcodesBrian Paul2009-01-141-5/+6
|
* mesa: fix opcode table order bugBrian Paul2008-11-071-2/+2
|
* mesa: added DP2, DP2A instructionsBrian Paul2008-11-071-0/+2
|
* mesa: added AND/OR/NOT/XOR instructionsBrian Paul2008-11-071-0/+4
|
* mesa: added OPCODE_NRM3/NRM4 instructions for vector normalization.Brian Paul2008-11-071-0/+2
| | | | | | We may emit these instructions from GLSL instead of DP3/RCP/MUL. Also, implement SSG (set sign) instruction in the interpreter.
* mesa: rename OPCODE_INT -> OPCODE_TRUNCBrian Paul2008-11-061-1/+1
| | | | Trunc is a more accurate description; there's no type conversion involved.
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-3/+3
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* sync up with gallium-0.1 changesBrian Paul2008-05-141-85/+109
| | | | New _mesa_num_inst_dst_regs(), _mesa_is_tex_instruction() functions
* mesa: added _mesa_free_instructions()Brian Paul2008-05-141-0/+17
| | | | cherry-picked from gallium-0.1
* fix instruction comment codeBrian2007-04-211-1/+7
|
* Get rid of BRK0, BRK1, CONT0, CONT1 instructions.Brian2007-03-281-4/+0
|
* Add the ability to generate programs that doesn't use condition codes.Brian2007-03-231-1/+5
| | | | | | | ctx->Shader.EmitCondCodes determines if we use condition codes. If not, IF statement uses first operand's X component as the condition. Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle the common cases of conditional break/continue.
* merge from masterBrian2007-03-211-0/+14
|
* Initial support of loop and subroutine instructions.Brian2007-02-051-0/+6
| | | | | New high-level flow-control instructions, both at IR level and GPU instructions for looping and subroutines.
* noise functionsBrian2007-01-281-0/+4
|
* Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.Brian2007-01-201-0/+3
|
* Added OPCODE_INT to convert 4 floats to 4 ints.Brian2007-01-171-0/+1
|
* Move some code from prog_print.c to prog_instruction.cBrian2006-12-141-0/+112
|
* Split the program.[ch] files into several new files.Brian2006-12-141-0/+99