merge from master
[mesa.git] / src / mesa / shader / prog_instruction.h
index 14305f17d384bbdef13768c9194251a8a6318511..66abb10cdb8f1930594affcc9dc02a0454ce300c 100644 (file)
@@ -432,6 +432,10 @@ extern struct prog_instruction *
 _mesa_realloc_instructions(struct prog_instruction *oldInst,
                            GLuint numOldInst, GLuint numNewInst);
 
+extern struct prog_instruction *
+_mesa_copy_instructions(struct prog_instruction *dest,
+                        const struct prog_instruction *src, GLuint n);
+
 extern GLuint
 _mesa_num_inst_src_regs(gl_inst_opcode opcode);