virtual void visit(Passthrough &);
};
+class LayoutDefaulter: private TraversingVisitor
+{
+private:
+ InterfaceLayout *in_iface = 0;
+ bool need_winding = true;
+ bool need_spacing = true;
+
+public:
+ void apply(Stage &);
+
+private:
+ virtual void visit(InterfaceLayout &);
+};
+
/**
Assigns sizes to arrays which don't have a size. Geometry shader inputs are
sized by topology. Other arrays are sized by their use with literal indices.