Merge remote-tracking branch 'mesa-public/master' into vulkan
[mesa.git] / src / glsl / nir / nir_lower_io.c
index 71bfd347c1affd254ce67dd6107ac7da26549e61..6a4494d5fd2da8b50d10352c69d5ce42f699efa0 100644 (file)
@@ -108,6 +108,7 @@ type_size_scalar(const struct glsl_type *type)
       return 0;
    case GLSL_TYPE_IMAGE:
       return 0;
+   case GLSL_TYPE_FUNCTION:
    case GLSL_TYPE_VOID:
    case GLSL_TYPE_ERROR:
    case GLSL_TYPE_DOUBLE: