summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-07-20 11:36:49 -0400
committerMarek Olšák <marek.olsak@amd.com>2015-05-16 14:51:22 +0200
commit6b262061203a6be8fe76402aa86e838254f937b8 (patch)
treeb5f61c1d500718ede8a82465911709a0a3e08181 /src/gallium/docs
parent4dbfe6b6274760412cf4ea8e6a910874ca12d998 (diff)
downloadexternal_mesa3d-6b262061203a6be8fe76402aa86e838254f937b8.zip
external_mesa3d-6b262061203a6be8fe76402aa86e838254f937b8.tar.gz
external_mesa3d-6b262061203a6be8fe76402aa86e838254f937b8.tar.bz2
gallium: add set_tess_state to configure default tessellation parameters
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>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/context.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst
index 5861f46..0908ee7 100644
--- a/src/gallium/docs/source/context.rst
+++ b/src/gallium/docs/source/context.rst
@@ -79,6 +79,11 @@ objects. They all follow simple, one-method binding calls, e.g.
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