summaryrefslogtreecommitdiffstats
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:49:18 -0600
commit90ce8467a8cb2b819a44d00e4a9d315f8aa43b7c (patch)
treee09309eea74db1ea98167dfd39dc89e0b4da6a25 /src/mesa/state_tracker/st_context.h
parent34149ec89d71aa550ac4477050fa79d66bb94f25 (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;