summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-09-21 12:41:07 +1200
committerMarek Olšák <[email protected]>2015-07-23 00:59:25 +0200
commitbb97cc66c149d0782ec269aab29700252fda9db0 (patch)
treee2d7b5af60722f5898bf4372c79787cfafa8a938 /src/mesa/main/config.h
parenta2af956963b6bc4d29f37485e44c98008d2ef077 (diff)
mesa: add tessellation shader state and limits
Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 177f1766016..66eb6cb206d 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -296,6 +296,14 @@
/** For GL_ARB_pipeline_statistics_query */
#define MAX_PIPELINE_STATISTICS 11
+/** For GL_ARB_tessellation_shader */
+/*@{*/
+#define MAX_TESS_GEN_LEVEL 64
+#define MAX_PATCH_VERTICES 32
+#define MAX_TESS_PATCH_COMPONENTS 120
+#define MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 4096
+/*@}*/
+
/*
* Color channel component order
*