summaryrefslogtreecommitdiff
path: root/lib/mesa/src/compiler/glsl/tests/uniform_initializer_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/compiler/glsl/tests/uniform_initializer_utils.cpp')
-rw-r--r--lib/mesa/src/compiler/glsl/tests/uniform_initializer_utils.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/mesa/src/compiler/glsl/tests/uniform_initializer_utils.cpp b/lib/mesa/src/compiler/glsl/tests/uniform_initializer_utils.cpp
index a1c68c827..8c00c69b2 100644
--- a/lib/mesa/src/compiler/glsl/tests/uniform_initializer_utils.cpp
+++ b/lib/mesa/src/compiler/glsl/tests/uniform_initializer_utils.cpp
@@ -110,6 +110,11 @@ generate_data_element(void *mem_ctx, const glsl_type *type,
case GLSL_TYPE_INTERFACE:
case GLSL_TYPE_SUBROUTINE:
case GLSL_TYPE_FUNCTION:
+ case GLSL_TYPE_FLOAT16:
+ case GLSL_TYPE_UINT16:
+ case GLSL_TYPE_INT16:
+ case GLSL_TYPE_UINT8:
+ case GLSL_TYPE_INT8:
ASSERT_TRUE(false);
break;
}
@@ -150,6 +155,11 @@ generate_data_element(void *mem_ctx, const glsl_type *type,
case GLSL_TYPE_INTERFACE:
case GLSL_TYPE_SUBROUTINE:
case GLSL_TYPE_FUNCTION:
+ case GLSL_TYPE_FLOAT16:
+ case GLSL_TYPE_UINT16:
+ case GLSL_TYPE_INT16:
+ case GLSL_TYPE_UINT8:
+ case GLSL_TYPE_INT8:
ASSERT_TRUE(false);
break;
}
@@ -278,6 +288,11 @@ verify_data(gl_constant_value *storage, unsigned storage_array_size,
case GLSL_TYPE_INTERFACE:
case GLSL_TYPE_SUBROUTINE:
case GLSL_TYPE_FUNCTION:
+ case GLSL_TYPE_FLOAT16:
+ case GLSL_TYPE_UINT16:
+ case GLSL_TYPE_INT16:
+ case GLSL_TYPE_UINT8:
+ case GLSL_TYPE_INT8:
ASSERT_TRUE(false);
break;
}