added Sampler field to prog_instruction struct
authorBrian <brian@yutani.localnet.net>
Fri, 5 Jan 2007 23:01:26 +0000 (16:01 -0700)
committerBrian <brian@yutani.localnet.net>
Fri, 5 Jan 2007 23:01:26 +0000 (16:01 -0700)
src/mesa/shader/prog_instruction.h

index bda6a2c322626990fb06e2bab81a3280c6c074b4..d825e6e0a37de33d0024bc64bb5822b7ba7b949c 100644 (file)
@@ -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;
 };