Home | History | Annotate | Download | only in glsl

Lines Matching refs:num_fields

312    unsigned num_fields;
318 num_fields(0)
327 assert(this->num_fields < ARRAY_SIZE(this->fields));
328 this->fields[this->num_fields].type = type;
329 this->fields[this->num_fields].name = name;
330 this->fields[this->num_fields].matrix_layout = GLSL_MATRIX_LAYOUT_INHERITED;
331 this->fields[this->num_fields].location = slot;
332 this->fields[this->num_fields].offset = -1;
333 this->fields[this->num_fields].interpolation = INTERP_MODE_NONE;
334 this->fields[this->num_fields].centroid = 0;
335 this->fields[this->num_fields].sample = 0;
336 this->fields[this->num_fields].patch = 0;
337 this->fields[this->num_fields].precision = GLSL_PRECISION_NONE;
338 this->fields[this->num_fields].image_read_only = 0;
339 this->fields[this->num_fields].image_write_only = 0;
340 this->fields[this->num_fields].image_coherent = 0;
341 this->fields[this->num_fields].image_volatile = 0;
342 this->fields[this->num_fields].image_restrict = 0;
343 this->fields[this->num_fields].explicit_xfb_buffer = 0;
344 this->fields[this->num_fields].xfb_buffer = -1;
345 this->fields[this->num_fields].xfb_stride = -1;
346 this->num_fields++;
353 return glsl_type::get_interface_instance(this->fields, this->num_fields,