summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cache.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-09-21 07:00:20 -0400
committerZack Rusin <[email protected]>2007-09-21 07:00:20 -0400
commit6cb87cf26f904b891faa42268f373864fa33541d (patch)
tree3af84bdc648094b7515ed924bd5d3b2f4e03c407 /src/mesa/state_tracker/st_cache.h
parentb0fa489eba9170c4b102bf0feb1b1c3f02a34e4e (diff)
Make the alpha test state a cso.
Diffstat (limited to 'src/mesa/state_tracker/st_cache.h')
-rw-r--r--src/mesa/state_tracker/st_cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cache.h b/src/mesa/state_tracker/st_cache.h
index 483af6fdb43..422f668c561 100644
--- a/src/mesa/state_tracker/st_cache.h
+++ b/src/mesa/state_tracker/st_cache.h
@@ -39,6 +39,10 @@ struct pipe_blend_state;
struct pipe_sampler_state;
struct st_context;
+const struct cso_alpha_test *
+st_cached_alpha_test_state(struct st_context *st,
+ const struct pipe_alpha_test_state *alpha);
+
const struct cso_blend *
st_cached_blend_state(struct st_context *st,
const struct pipe_blend_state *blend);