aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program_instruction.h
Commit message (Collapse)AuthorAgeFilesLines
* fix comment for TexSrcTargetBrian Paul2005-11-121-2/+1
|
* This patch adds the missing NV_vertex_program2 and NV_vertex_program3Ian Romanick2005-11-081-37/+19
| | | | | | | | | | | | | | | | instructions to the various internal tables. It does not add support for them to the parser nor does it add support for them to the program interpreter. It also corrects some errors in the comments in program_instruction.h. This patch breaks the instruction union in t_vb_arbprogram.h. The opcode field in that union was only 6 bits. When there were only 59+3 instructions that worked fine. However, this patch increases the base instruction count to 69. This requires 7 bits. The problem is that increasing the opcode width to 7 bits increases the size of instruction::rsw to 33 bits. I've increased the size of the union to 64-bit, but this is just a temporary hack (and probably breaks the build on some systems).
* consolidate vertex/fragment program printing into _mesa_print_program()Brian Paul2005-11-051-2/+0
|
* added _mesa_program_file_string()Brian Paul2005-11-051-0/+2
|
* added _mesa_num_inst_src_regs() and _mesa_opcode_string()Brian Paul2005-11-051-0/+6
|
* Unify vertex/fragment program instuctions.Brian Paul2005-11-051-0/+344
Based on patch by Ian (#4967) but also unify instruction opcodes.