Lines Matching defs:num_fields
1680 unsigned num_fields = type->length;
1681 glsl_struct_field *fields = new glsl_struct_field[num_fields];
1683 num_fields * sizeof(*fields));
1684 for (unsigned i = 0; i < num_fields; i++) {
1689 if (is_ssbo && i == (num_fields - 1))
1701 glsl_type::get_interface_instance(fields, num_fields,
1712 unsigned num_fields = ifc_type->length;
1713 glsl_struct_field *fields = new glsl_struct_field[num_fields];
1715 num_fields * sizeof(*fields));
1717 for (unsigned i = 0; i < num_fields; i++) {
1732 glsl_type::get_interface_instance(fields, num_fields, packing,
1735 for (unsigned i = 0; i < num_fields; i++) {