aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-20 13:38:45 -0600
committerBrian Paul <[email protected]>2008-05-20 13:38:45 -0600
commit5c431c22227fdc552b34a5feabf1d339dcfe9848 (patch)
tree9623ccf1c0d5e4c0518626a497afdfce63de95ed /src/mesa/state_tracker/st_context.h
parent21e614eabc5e6a502504f307f3710b4dd0417923 (diff)
gallium: clean-up glDraw/CopyPixels shaders when destroying context
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 1ca779d0a98..46c16e45e66 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -152,6 +152,12 @@ struct st_context
struct bitmap_cache *cache;
} bitmap;
+ /** for glDraw/CopyPixels */
+ struct {
+ struct st_fragment_program *z_shader;
+ struct st_vertex_program *vert_shaders[2];
+ } drawpix;
+
/** for glClear */
struct {
struct pipe_shader_state vert_shader;