glsl: make sampler/image scalar types
[mesa.git] / src / compiler / glsl_types.h
index a81b8fe7dc2c168312480bcc2b03292bc9c17e04..04490872385303c420750859de6c5c7382f71464 100644 (file)
@@ -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);
    }
 
    /**