glsl: Remove program_resource_visitor::visit_field(const glsl_struct_field *)
[mesa.git] / src / compiler / glsl / linker.h
index 5cec121e63468d527f32efdadd2805dd8d8c9d4f..03ed9d5f84cb062c4184fe3de8b01ecf67c2a5b7 100644 (file)
@@ -159,16 +159,6 @@ protected:
                             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);