I could not find any remaining users.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
const char *field = t->fields.structure[i].name;
size_t new_length = name_length;
- if (t->fields.structure[i].type->is_record())
- this->visit_field(&t->fields.structure[i]);
-
if (t->is_interface() && t->fields.structure[i].offset != -1)
this->set_buffer_offset(t->fields.structure[i].offset);
}
}
-void
-program_resource_visitor::visit_field(const glsl_struct_field *)
-{
-}
-
void
program_resource_visitor::enter_record(const glsl_type *, const char *, bool,
const enum glsl_interface_packing)
const enum glsl_interface_packing packing,
bool last_field) = 0;
- /**
- * Visit a record before visiting its fields
- *
- * For structures-of-structures or interfaces-of-structures, this visits
- * the inner structure before visiting its fields.
- *
- * The default implementation does nothing.
- */
- virtual void visit_field(const glsl_struct_field *field);
-
virtual void enter_record(const glsl_type *type, const char *name,
bool row_major, const enum glsl_interface_packing packing);