summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorFabian Bieler <[email protected]>2014-03-07 10:19:09 +0100
committerMarek Olšák <[email protected]>2015-07-23 00:59:24 +0200
commita2af956963b6bc4d29f37485e44c98008d2ef077 (patch)
tree53c3bba14abcd28e0ba64e2928a52bf6aebfc084 /src/mesa/main/context.c
parentdf3860a3e3269bfe77562058fd87b39ae2f57fcc (diff)
mesa: add tessellation shader enums
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/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index f4dc4e3c4da..380c21fb2bf 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -478,6 +478,8 @@ init_program_limits(struct gl_constants *consts, gl_shader_stage stage,
prog->MaxInputComponents = 16 * 4; /* old limit not to break tnl and swrast */
prog->MaxOutputComponents = 0; /* value not used */
break;
+ case MESA_SHADER_TESS_CTRL:
+ case MESA_SHADER_TESS_EVAL:
case MESA_SHADER_GEOMETRY:
prog->MaxParameters = MAX_VERTEX_PROGRAM_PARAMS;
prog->MaxAttribs = MAX_VERTEX_GENERIC_ATTRIBS;