diff options
author | Brian <[email protected]> | 2007-02-25 18:52:41 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-02-25 18:52:41 -0700 |
commit | 33eac56e4a48143aa8acd5757feb68570e860de5 (patch) | |
tree | 8ced9c38d7714ceb9b8568609e40adb0b1134e69 /src/mesa/shader/prog_execute.h | |
parent | 6774f32adba96237d7a2f422435044661772d70c (diff) |
Add EnvParams field to gl_program_machine, avoid passing ctx to a bunch of functions.
Diffstat (limited to 'src/mesa/shader/prog_execute.h')
-rw-r--r-- | src/mesa/shader/prog_execute.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_execute.h b/src/mesa/shader/prog_execute.h index 2dbd922fb0f..0f4956d6ee3 100644 --- a/src/mesa/shader/prog_execute.h +++ b/src/mesa/shader/prog_execute.h @@ -55,8 +55,8 @@ struct gl_program_machine GLfloat Temporaries[MAX_PROGRAM_TEMPS][4]; GLfloat Outputs[MAX_PROGRAM_OUTPUTS][4]; + GLfloat (*EnvParams)[4]; /**< Vertex or Fragment env parameters */ GLuint CondCodes[4]; /**< COND_* value for x/y/z/w */ - GLint AddressReg[MAX_VERTEX_PROGRAM_ADDRESS_REGS][4]; GLuint CallStack[MAX_PROGRAM_CALL_DEPTH]; /**< For CAL/RET instructions */ |