diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-02-12 16:06:51 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-02-12 16:06:51 -0700 |
commit | 6d53b8f42349c507e7184aa567a4b2a4fc7b037f (patch) | |
tree | 7eab622bc8eac05929888e44c6217d3d654bc28c /src/mesa/state_tracker/st_context.h | |
parent | cf949411221211a278c169e917756aa4f9aba49f (diff) |
gallium: move gen-mipmap global/static vars into st_context
This fixes potential problems with multi-context programs.
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r-- | src/mesa/state_tracker/st_context.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index a756055898..59d1590f05 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -166,6 +166,15 @@ struct st_context struct st_fragment_program *combined_prog; } bitmap; + /** For gen/render mipmap feature */ + struct { + void *blend_cso; + void *depthstencil_cso; + void *rasterizer_cso; + struct st_fragment_program *stfp; + struct st_vertex_program *stvp; + } gen_mipmap; + struct cso_cache *cache; }; |