summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl_types.h b/src/compiler/glsl_types.h
index a81b8fe7dc2..04490872385 100644
--- a/src/compiler/glsl_types.h
+++ b/src/compiler/glsl_types.h
@@ -441,7 +441,7 @@ struct glsl_type {
{
return (vector_elements == 1)
&& (base_type >= GLSL_TYPE_UINT)
- && (base_type <= GLSL_TYPE_BOOL);
+ && (base_type <= GLSL_TYPE_IMAGE);
}
/**