summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-12 14:46:51 -0700
committerBrian Paul <[email protected]>2010-02-12 15:42:10 -0700
commitb9b4e7724e5ae80121a053ca66cee73942cc16b7 (patch)
tree53fe4da22637088f75b015461e377d6a59f19152 /src/mesa/state_tracker/st_program.h
parentcd0a32924d9795fc693d6145baa546ad03650cc3 (diff)
st/mesa: rename state -> tgsi, updated comments
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
-rw-r--r--src/mesa/state_tracker/st_program.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h
index d9822e50f55..1fd25bc0e0f 100644
--- a/src/mesa/state_tracker/st_program.h
+++ b/src/mesa/state_tracker/st_program.h
@@ -55,7 +55,7 @@ struct st_fragment_program
ubyte input_semantic_name[PIPE_MAX_SHADER_INPUTS];
ubyte input_semantic_index[PIPE_MAX_SHADER_INPUTS];
- struct pipe_shader_state state;
+ struct pipe_shader_state tgsi;
void *driver_shader;
/** Program prefixed with glBitmap prologue */
@@ -82,9 +82,11 @@ struct st_vp_varient
*/
struct st_vp_varient_key key;
- /** TGSI tokens -- why?
+ /**
+ * TGSI tokens (to later generate a 'draw' module shader for
+ * selection/feedback/rasterpos)
*/
- struct pipe_shader_state state;
+ struct pipe_shader_state tgsi;
/** Driver's compiled shader */
void *driver_shader;