OPCODE_RET, /* 2 2 opt */
OPCODE_RSQ, /* X X X X X */
OPCODE_SCS, /* X X */
- OPCODE_SEQ, /* 2 X X */
OPCODE_SGE, /* X X X X X */
- OPCODE_SGT, /* 2 X X */
OPCODE_SIN, /* X 2 X X */
- OPCODE_SLE, /* 2 X X */
OPCODE_SLT, /* X X X X X */
- OPCODE_SNE, /* 2 X X */
OPCODE_SSG, /* 2 X */
OPCODE_SUB, /* X X 1.1 X X */
OPCODE_SWZ, /* X X X */
* For ELSE, points to ENDIF.
*/
GLint BranchTarget;
-
- /** for debugging purposes */
- const char *Comment;
};
extern "C" {
#endif
+struct gl_program;
+
extern void
_mesa_init_instructions(struct prog_instruction *inst, GLuint count);
-extern struct prog_instruction *
-_mesa_alloc_instructions(GLuint numInst);
-
extern struct prog_instruction *
_mesa_copy_instructions(struct prog_instruction *dest,
const struct prog_instruction *src, GLuint n);
-extern void
-_mesa_free_instructions(struct prog_instruction *inst, GLuint count);
-
extern GLuint
_mesa_num_inst_src_regs(enum prog_opcode opcode);