Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
should be the same as the number of set viewports and can be up to
PIPE_MAX_VIEWPORTS.
* ``set_viewport_states``
+* ``set_tess_state`` configures the default tessellation parameters:
+ * ``default_outer_level`` is the default value for the outer tessellation
+ levels. This corresponds to GL's ``PATCH_DEFAULT_OUTER_LEVEL``.
+ * ``default_inner_level`` is the default value for the inner tessellation
+ levels. This corresponds to GL's ``PATCH_DEFAULT_INNER_LEVEL``.
Sampler Views
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