+void VertexSetup::require_format(const VertexFormat &fmt)
+{
+ bool has_int = false;
+ for(const UInt16 *a=fmt.begin(); a!=fmt.end(); ++a)
+ has_int = has_int | is_integer_attribute(*a);
+
+ if(has_int)
+ static Require _req(EXT_gpu_shader4);
+}
+
+void VertexSetup::update() const