Lines Matching defs:base
555 enum glsl_base_type base;
562 base = GLSL_TYPE_UINT;
566 base = GLSL_TYPE_UINT8;
570 base = GLSL_TYPE_UINT16;
574 base = GLSL_TYPE_UINT64;
577 unreachable(!"Invalid base type.");
580 this->type = glsl_type::get_instance(base, op0->type->vector_elements, 1);
943 assert(!"unexpected matrix base type");
1621 /* The only other base types are structures, arrays, and samplers.
1867 /* Based on the number of elements in the swizzle and the base type
1919 * table encodes the base index encoded in the previous table plus the actual
1946 /* Validate the first character in the swizzle string and look up the base
1952 const unsigned base = base_idx[str[0] - 'a'];
1962 swiz_idx[i] = idx_map[str[i] - 'a'] - base;