summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
-rw-r--r--src/mesa/state_tracker/st_program.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h
index 7a91983ce9e..a2f114b1bab 100644
--- a/src/mesa/state_tracker/st_program.h
+++ b/src/mesa/state_tracker/st_program.h
@@ -53,8 +53,8 @@ struct st_fragment_program
struct tgsi_token tokens[ST_FP_MAX_TOKENS];
GLboolean dirty;
-
- struct pipe_shader_state fs;
+
+ const struct pipe_shader_state *fsx;
GLuint param_state;
};
@@ -75,7 +75,7 @@ struct st_vertex_program
struct x86_function sse2_program;
#endif
- struct pipe_shader_state vs;
+ const struct pipe_shader_state *vs;
GLuint param_state;
};