diff options
author | Brian Paul <[email protected]> | 2008-05-20 13:38:45 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-20 13:38:45 -0600 |
commit | 5c431c22227fdc552b34a5feabf1d339dcfe9848 (patch) | |
tree | 9623ccf1c0d5e4c0518626a497afdfce63de95ed /src/mesa/state_tracker/st_context.h | |
parent | 21e614eabc5e6a502504f307f3710b4dd0417923 (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.h | 6 |
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; |