From eef70ff79a3231780a4255befe652727364a638b Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 5 Jan 2007 16:01:26 -0700 Subject: [PATCH] added Sampler field to prog_instruction struct --- src/mesa/shader/prog_instruction.h | 6 ++++++ 1 file changed, 6 insertions(+) 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; }; -- 2.30.2