diff options
author | Ilia Mirkin <[email protected]> | 2014-07-20 11:36:49 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-05-16 14:51:22 +0200 |
commit | 6b262061203a6be8fe76402aa86e838254f937b8 (patch) | |
tree | b5f61c1d500718ede8a82465911709a0a3e08181 /src/gallium/include/pipe/p_context.h | |
parent | 4dbfe6b6274760412cf4ea8e6a910874ca12d998 (diff) |
gallium: add set_tess_state to configure default tessellation parameters
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 67deb046e29..c25bfa638c1 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -231,6 +231,10 @@ struct pipe_context { unsigned start_slot, unsigned num_views, struct pipe_sampler_view **); + void (*set_tess_state)(struct pipe_context *, + float default_outer_level[4], + float default_inner_level[2]); + /** * Bind an array of shader resources that will be used by the * graphics pipeline. Any resources that were previously bound to |