From 897177020bb702cd18eafcc1d8c4e7f502a8a65d Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 5 Oct 2015 03:26:48 +0200 Subject: st/mesa: translate geometry shaders into TGSI when we get them Reviewed-by: Dave Airlie Reviewed-by: Brian Paul Tested-by: Brian Paul --- src/mesa/state_tracker/st_program.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mesa/state_tracker/st_program.h') diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h index d4b5c1f427a..3a4c2604812 100644 --- a/src/mesa/state_tracker/st_program.h +++ b/src/mesa/state_tracker/st_program.h @@ -200,6 +200,7 @@ struct st_gp_variant struct st_geometry_program { struct gl_geometry_program Base; /**< The Mesa geometry program */ + struct pipe_shader_state tgsi; struct glsl_to_tgsi_visitor* glsl_to_tgsi; struct st_gp_variant *variants; @@ -442,6 +443,10 @@ extern bool st_translate_fragment_program(struct st_context *st, struct st_fragment_program *stfp); +extern bool +st_translate_geometry_program(struct st_context *st, + struct st_geometry_program *stgp); + extern void st_print_current_vertex_program(void); -- cgit v1.2.3