summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-01-05 16:01:26 -0700
committerBrian <brian@yutani.localnet.net>2007-01-05 16:01:26 -0700
commiteef70ff79a3231780a4255befe652727364a638b (patch)
tree84c04e47cb7faebbda89249cd51a6a7b54a33a0d /src/mesa
parent288c5396e6aa484d88819bd28a7cd49a3873f283 (diff)
added Sampler field to prog_instruction struct
Diffstat (limited to 'src/mesa')
-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 bda6a2c322..d825e6e0a3 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;
};