glsl: Add GLSL_TYPE_FUNCTION to the base types enums
[mesa.git] / src / mesa / drivers / dri / i965 / brw_vec4_visitor.cpp
index 5a60fe43bf8894b5d83f009331a1d64f72fb69c6..e51c140c0f28924b906e5bd0988c7c7d9b495758 100644 (file)
@@ -615,6 +615,7 @@ type_size(const struct glsl_type *type)
    case GLSL_TYPE_DOUBLE:
    case GLSL_TYPE_ERROR:
    case GLSL_TYPE_INTERFACE:
+   case GLSL_TYPE_FUNCTION:
       unreachable("not reached");
    }