private void AddArgsImpl( SimpleValHLSL val, ref bool first, Span span) { if (!first) span.Write(", "); first = false; span.Write("{0}", val); }