summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-20 09:13:51 -0600
committerBrian <[email protected]>2008-03-20 09:13:51 -0600
commit85e4ec6d118e340eaccd176aa622221642a2e754 (patch)
tree927233550a61088cd368efe5223a86ff0a4a8dab /src/mesa/state_tracker/st_context.h
parent6a9a3afcf923ec5c67069cdb1656f52675cd8ede (diff)
gallium: use the utility pasthrough shaders
This avoids the Mesa->TGSI translation step.
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index ca8307c4ba0..8058086d875 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -142,12 +142,19 @@ struct st_context
GLuint combined_prog_sn;
} pixel_xfer;
+ /** for glBitmap */
struct {
struct st_fragment_program *program; /**< bitmap tex/kil program */
GLuint user_prog_sn; /**< user fragment program serial no. */
struct st_fragment_program *combined_prog;
} bitmap;
+ /** for glClear */
+ struct {
+ void *vs;
+ void *fs;
+ } clear;
+
struct gen_mipmap_state *gen_mipmap;
struct blit_state *blit;