Lines Matching refs:type_size
39 int (*type_size)(const struct glsl_type *type);
46 int (*type_size)(const struct glsl_type *))
60 location += type_size(var->type);
90 int (*type_size)(const struct glsl_type *),
119 return nir_imm_int(b, type_size(glsl_vec4_type()) * slot_offset);
131 unsigned size = type_size(tail->type);
148 field_offset += type_size(glsl_get_struct_field(parent_type, i));
215 nir_intrinsic_set_range(load, state->type_size(var->type));
422 state->type_size, &component_offset);
485 int (*type_size)(const struct glsl_type *),
492 state.type_size = type_size;
505 int (*type_size)(const struct glsl_type *),
510 nir_lower_io_impl(function->impl, modes, type_size, options);