Initial registry for ARB_fragment_program and ARB_vertex_program.
authorMichal Krol <mjkrol@gmail.org>
Wed, 3 Mar 2004 17:59:49 +0000 (17:59 +0000)
committerMichal Krol <mjkrol@gmail.org>
Wed, 3 Mar 2004 17:59:49 +0000 (17:59 +0000)
src/mesa/shader/asmopcodes.reg [new file with mode: 0644]

diff --git a/src/mesa/shader/asmopcodes.reg b/src/mesa/shader/asmopcodes.reg
new file mode 100644 (file)
index 0000000..efd8918
--- /dev/null
@@ -0,0 +1,78 @@
+/* */\r
+/* ARB program opcode registry */\r
+/* each instruction code has its own unique number */\r
+/* this registry exists to ensure that this relation retains */\r
+/* */\r
+\r
+/* GL_ARB_vertex_program */\r
+ABS         0x00\r
+ADD         0x01\r
+ARL         0x02\r
+DP3         0x03\r
+DP4         0x04\r
+DPH         0x05\r
+DST         0x06\r
+EX2         0x07\r
+EXP         0x08\r
+FLR         0x09\r
+FRC         0x0A\r
+LG2         0x0B\r
+LIT         0x0C\r
+LOG         0x0D\r
+MAD         0x0E\r
+MAX         0x0F\r
+MIN         0x10\r
+MOV         0x11\r
+MUL         0x12\r
+POW         0x13\r
+RCP         0x14\r
+RSQ         0x15\r
+SGE         0x16\r
+SLT         0x17\r
+SUB         0x18\r
+SWZ         0x19\r
+XPD         0x1A\r
+\r
+/* GL_ARB_fragment_program */\r
+ABS_SAT     0x1B\r
+ADD_SAT     0x1C\r
+CMP         0x1D\r
+CMP_SAT     0x1E\r
+COS         0x1F\r
+COS_SAT     0x20\r
+DP3_SAT     0x21\r
+DP4_SAT     0x22\r
+DPH_SAT     0x23\r
+DST_SAT     0x24\r
+EX2_SAT     0x25\r
+FLR_SAT     0x26\r
+FRC_SAT     0x27\r
+KIL         0x28\r
+LG2_SAT     0x29\r
+LIT_SAT     0x2A\r
+LRP         0x2B\r
+LRP_SAT     0x2C\r
+MAD_SAT     0x2D\r
+MAX_SAT     0x2E\r
+MIN_SAT     0x2F\r
+MOV_SAT     0x30\r
+MUL_SAT     0x31\r
+POW_SAT     0x32\r
+RCP_SAT     0x33\r
+RSQ_SAT     0x34\r
+SCS         0x35\r
+SCS_SAT     0x36\r
+SGE_SAT     0x37\r
+SIN         0x38\r
+SIN_SAT     0x39\r
+SLT_SAT     0x3A\r
+SUB_SAT     0x3B\r
+SWZ_SAT     0x3C\r
+TEX         0x3D\r
+TEX_SAT     0x3E\r
+TXB         0x3F\r
+TXB_SAT     0x40\r
+TXP         0x41\r
+TXP_SAT     0x42\r
+XPD_SAT     0x43\r
+\r