Lines Matching defs:method
2025 /* Handle "method calls" in GLSL 1.20 - namely, array.length() */
2029 const char *method;
2030 method = field->primary_expression.identifier;
2037 if (strcmp(method, "length") == 0) {
2039 _mesa_glsl_error(&loc, state, "length method takes no arguments");
2070 _mesa_glsl_error(&loc, state, "length method on matrix only"
2079 _mesa_glsl_error(&loc, state, "length method on matrix only"
2088 _mesa_glsl_error(&loc, state, "unknown method: `%s'", method);
2111 * 2. methods - Only the .length() method of array types.