diff options
author | Marek Olšák <[email protected]> | 2015-10-05 03:26:48 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-10-09 22:02:18 +0200 |
commit | 897177020bb702cd18eafcc1d8c4e7f502a8a65d (patch) | |
tree | 30fadd230e3354b952d6ac780479e4d56635e19d /src/mesa/state_tracker/st_program.h | |
parent | a907b5dd162b7911b8c21f6d54837831bc078059 (diff) |
st/mesa: translate geometry shaders into TGSI when we get them
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Tested-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
-rw-r--r-- | src/mesa/state_tracker/st_program.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |