summaryrefslogtreecommitdiff
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-11-16 21:28:35 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-11-16 21:28:35 +0000
commit3dedeaa0557f17770f6ab7f163dcdde8e93609b8 (patch)
tree7dde0c80c2592aa9091d2ab2249c7e3be7d6452b /src/mesa/shader
parentfa941e4267385427c27b5a35c29156b342cc3868 (diff)
Initial implementation work for CAL, RET, and BRA instructions for fragment
programs.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/program_instruction.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/shader/program_instruction.h b/src/mesa/shader/program_instruction.h
index cdec0ceb2a..ad3a6d4dd4 100644
--- a/src/mesa/shader/program_instruction.h
+++ b/src/mesa/shader/program_instruction.h
@@ -286,7 +286,7 @@ struct prog_instruction
GLuint CondUpdate:1;
/**
- * If prog_instruction::cc_update is \c GL_TRUE, this value selects the
+ * If prog_instruction::CondUpdate is \c GL_TRUE, this value selects the
* condition code register that is to be updated.
*
* In GL_NV_fragment_program or GL_NV_vertex_program2 mode, only condition
@@ -339,6 +339,11 @@ struct prog_instruction
*/
GLuint TexSrcTarget:3;
/*@}*/
+
+ /**
+ * For BRA and CAL instructions, the location to jump to.
+ */
+ GLuint BranchTarget;
};