diff options
author | Marek Olšák <[email protected]> | 2016-01-30 16:24:29 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-02-09 21:19:50 +0100 |
commit | 75be3ee9f9f7078a415498547637365035650cf9 (patch) | |
tree | 7ea8bb659f2b477f9dc9e6db8e3b50e38a839a40 /src/mesa/state_tracker/st_program.h | |
parent | b8d31fdedfa3b2f060b42e7145771c5325340733 (diff) |
st/mesa: unify get_variant functions for TCS, TES, GS
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
-rw-r--r-- | src/mesa/state_tracker/st_program.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h index 80d6f81d267..7717d02cd3f 100644 --- a/src/mesa/state_tracker/st_program.h +++ b/src/mesa/state_tracker/st_program.h @@ -350,21 +350,10 @@ st_get_fp_variant(struct st_context *st, struct st_fragment_program *stfp, const struct st_fp_variant_key *key); - -extern struct st_basic_variant * -st_get_gp_variant(struct st_context *st, - struct st_geometry_program *stgp, - const struct st_basic_variant_key *key); - -extern struct st_basic_variant * -st_get_tcp_variant(struct st_context *st, - struct st_tessctrl_program *sttcp, - const struct st_basic_variant_key *key); - extern struct st_basic_variant * -st_get_tep_variant(struct st_context *st, - struct st_tesseval_program *sttep, - const struct st_basic_variant_key *key); +st_get_basic_variant(struct st_context *st, + struct pipe_shader_state *tgsi, + struct st_basic_variant **variants); extern void st_release_vp_variants( struct st_context *st, |