summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-05 16:01:26 -0700
committerBrian <[email protected]>2007-01-05 16:01:26 -0700
commiteef70ff79a3231780a4255befe652727364a638b (patch)
tree84c04e47cb7faebbda89249cd51a6a7b54a33a0d
parent288c5396e6aa484d88819bd28a7cd49a3873f283 (diff)
added Sampler field to prog_instruction struct
-rw-r--r--src/mesa/shader/prog_instruction.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h
index bda6a2c3226..d825e6e0a37 100644
--- a/src/mesa/shader/prog_instruction.h
+++ b/src/mesa/shader/prog_instruction.h
@@ -379,6 +379,12 @@ struct prog_instruction
*/
GLuint BranchTarget;
+ /**
+ * For TEX instructions in shaders, the sampler to use for the
+ * texture lookup.
+ */
+ GLint Sampler;
+
const char *Comment;
};