Lines Matching refs:num_fields
369 unsigned num_fields; member in __anond9be30f10111::per_vertex_accumulator
375 num_fields(0) in per_vertex_accumulator()
385 assert(this->num_fields < ARRAY_SIZE(this->fields)); in add_field()
386 this->fields[this->num_fields].type = type; in add_field()
387 this->fields[this->num_fields].name = name; in add_field()
388 this->fields[this->num_fields].matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED; in add_field()
389 this->fields[this->num_fields].location = slot; in add_field()
390 this->fields[this->num_fields].offset = -1; in add_field()
391 this->fields[this->num_fields].interpolation = interp; in add_field()
392 this->fields[this->num_fields].centroid = 0; in add_field()
393 this->fields[this->num_fields].sample = 0; in add_field()
394 this->fields[this->num_fields].patch = 0; in add_field()
395 this->fields[this->num_fields].precision = precision; in add_field()
396 this->fields[this->num_fields].memory_read_only = 0; in add_field()
397 this->fields[this->num_fields].memory_write_only = 0; in add_field()
398 this->fields[this->num_fields].memory_coherent = 0; in add_field()
399 this->fields[this->num_fields].memory_volatile = 0; in add_field()
400 this->fields[this->num_fields].memory_restrict = 0; in add_field()
401 this->fields[this->num_fields].image_format = PIPE_FORMAT_NONE; in add_field()
402 this->fields[this->num_fields].explicit_xfb_buffer = 0; in add_field()
403 this->fields[this->num_fields].xfb_buffer = -1; in add_field()
404 this->fields[this->num_fields].xfb_stride = -1; in add_field()
405 this->num_fields++; in add_field()
412 return glsl_type::get_interface_instance(this->fields, this->num_fields, in construct_interface_instance()