Lines Matching defs:base_type
49 glsl_base_type base_type, unsigned vector_elements,
52 base_type(base_type),
70 base_type(GLSL_TYPE_SAMPLER),
83 base_type(GLSL_TYPE_STRUCT),
312 switch (base_type) {
332 while (type->base_type == GLSL_TYPE_ARRAY)
336 switch (type->base_type) {
366 base_type(GLSL_TYPE_ARRAY),
396 glsl_type::get_instance(unsigned base_type, unsigned rows, unsigned columns)
398 if (base_type == GLSL_TYPE_VOID)
407 switch (base_type) {
420 if ((base_type != GLSL_TYPE_FLOAT) || (rows == 1))
477 assert(t->base_type == GLSL_TYPE_ARRAY);
551 assert(t->base_type == GLSL_TYPE_STRUCT);
562 if (this->base_type != GLSL_TYPE_STRUCT)
577 if (this->base_type != GLSL_TYPE_STRUCT)
592 switch (this->base_type) {