summaryrefslogtreecommitdiff
path: root/src/glsl/builtin_variables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/builtin_variables.cpp')
-rw-r--r--src/glsl/builtin_variables.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp
index c30fb9226e..8ebc1fad4c 100644
--- a/src/glsl/builtin_variables.cpp
+++ b/src/glsl/builtin_variables.cpp
@@ -786,7 +786,8 @@ builtin_variable_generator::generate_constants()
add_const("gl_MaxViewports", state->Const.MaxViewports);
if (state->is_version(400, 0) ||
- state->ARB_tessellation_shader_enable) {
+ state->ARB_tessellation_shader_enable ||
+ state->EXT_tessellation_shader_enable) {
add_const("gl_MaxPatchVertices", state->Const.MaxPatchVertices);
add_const("gl_MaxTessGenLevel", state->Const.MaxTessGenLevel);
add_const("gl_MaxTessControlInputComponents", state->Const.MaxTessControlInputComponents);