summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/uniform_initializer_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/tests/uniform_initializer_utils.cpp')
-rw-r--r--src/glsl/tests/uniform_initializer_utils.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/tests/uniform_initializer_utils.cpp b/src/glsl/tests/uniform_initializer_utils.cpp
index b90bdcaed3b..5006387036f 100644
--- a/src/glsl/tests/uniform_initializer_utils.cpp
+++ b/src/glsl/tests/uniform_initializer_utils.cpp
@@ -102,6 +102,7 @@ generate_data_element(void *mem_ctx, const glsl_type *type,
case GLSL_TYPE_VOID:
case GLSL_TYPE_ERROR:
case GLSL_TYPE_INTERFACE:
+ case GLSL_TYPE_SUBROUTINE:
ASSERT_TRUE(false);
break;
}
@@ -134,6 +135,7 @@ generate_data_element(void *mem_ctx, const glsl_type *type,
case GLSL_TYPE_VOID:
case GLSL_TYPE_ERROR:
case GLSL_TYPE_INTERFACE:
+ case GLSL_TYPE_SUBROUTINE:
ASSERT_TRUE(false);
break;
}
@@ -238,6 +240,7 @@ verify_data(gl_constant_value *storage, unsigned storage_array_size,
case GLSL_TYPE_VOID:
case GLSL_TYPE_ERROR:
case GLSL_TYPE_INTERFACE:
+ case GLSL_TYPE_SUBROUTINE:
ASSERT_TRUE(false);
break;
}