private EmitValHLSL EvaluateRecordAttrs(
Span span,
MidElementDecl record )
{
var recordType = EmitType(record);
var attribVals = (from a in record.Attributes
where a.IsOutput
select EmitAttribRef(a, span)).Eager();
var recordVal = new TupleValHLSL(
recordType,
attribVals);
return recordVal;
}