diff options
author | Brian <[email protected]> | 2007-01-05 16:01:26 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-01-05 16:01:26 -0700 |
commit | eef70ff79a3231780a4255befe652727364a638b (patch) | |
tree | 84c04e47cb7faebbda89249cd51a6a7b54a33a0d /src/mesa/shader/prog_instruction.h | |
parent | 288c5396e6aa484d88819bd28a7cd49a3873f283 (diff) |
added Sampler field to prog_instruction struct
Diffstat (limited to 'src/mesa/shader/prog_instruction.h')
-rw-r--r-- | src/mesa/shader/prog_instruction.h | 6 |
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; }; |