summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-10-23 06:18:37 +0100
committerDave Airlie <[email protected]>2017-10-26 00:55:52 +0100
commit3c34d11589f05e0876a92bd77fd37d3b79a69d35 (patch)
tree7198696bdf0b4741dd34719f36bad1de654bcca1 /src/mesa/state_tracker/st_program.h
parent3720d913dd39852be7debfa17823f730a77bb478 (diff)
st/program: rework basic variant interface
This just passes st_common_program and uses it. Reviewed-by: Timothy Arceri <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
-rw-r--r--src/mesa/state_tracker/st_program.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h
index 8e9f4c5e826..27cc9b6e92f 100644
--- a/src/mesa/state_tracker/st_program.h
+++ b/src/mesa/state_tracker/st_program.h
@@ -384,8 +384,7 @@ st_get_cp_variant(struct st_context *st,
extern struct st_basic_variant *
st_get_basic_variant(struct st_context *st,
unsigned pipe_shader,
- struct pipe_shader_state *tgsi,
- struct st_basic_variant **variants);
+ struct st_common_program *p);
extern void
st_release_vp_variants( struct st_context *st,