From: Brian Date: Fri, 5 Jan 2007 23:01:26 +0000 (-0700) Subject: added Sampler field to prog_instruction struct X-Git-Tag: 062012170305~19731^2~414 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eef70ff79a3231780a4255befe652727364a638b;p=profile%2Fivi%2Fmesa.git added Sampler field to prog_instruction struct --- diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h index bda6a2c..d825e6e 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; };