diff options
author | Brian Paul <[email protected]> | 2009-02-23 17:50:55 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-26 18:48:35 -0700 |
commit | 8ae7e7749b708fc5a46180d3de2503ba7e2ab1f3 (patch) | |
tree | 5713c749a0e3353ea2479ba60142fc7b1b3c006f /src/mesa/shader/prog_instruction.h | |
parent | 9b78d9f65178648b1888f98153a2f738a281cb84 (diff) |
mesa: replace old prog_instruction::Sampler field with Aux field
The i965 driver needs an extra instruction field for color output information.
It was using the Sampler field for this. Use the Aux field instead. This
will probaby be revisited at some point...
Diffstat (limited to 'src/mesa/shader/prog_instruction.h')
-rw-r--r-- | src/mesa/shader/prog_instruction.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h index e3bb7ac01db..38086445502 100644 --- a/src/mesa/shader/prog_instruction.h +++ b/src/mesa/shader/prog_instruction.h @@ -410,20 +410,15 @@ struct prog_instruction */ GLint BranchTarget; -#if 01 /* XXX just use this for i965 driver for now! */ - /** - * For TEX instructions in shaders, the sampler to use for the - * texture lookup. - */ - GLint Sampler; -#endif - /** for debugging purposes */ const char *Comment; /** Arbitrary data. Used for OPCODE_PRINT and some drivers */ void *Data; + /** for driver use (try to remove someday) */ + GLint Aux; + /* XXX obsolete - remove someday */ #if FEATURE_MESA_program_debug GLshort StringPos; |