shader/transform_feedback: Expose buffer stride

This commit is contained in:
ReinUsesLisp 2020-03-06 05:03:13 -03:00
parent 7acebd7eb6
commit ae6189d7c2
3 changed files with 4 additions and 1 deletions

View file

@ -777,7 +777,8 @@ private:
}
const VaryingTFB& tfb = it->second;
return fmt::format("xfb_buffer = {}, xfb_offset = {}", tfb.buffer, tfb.offset);
return fmt::format("xfb_buffer = {}, xfb_offset = {}, xfb_stride = {}", tfb.buffer,
tfb.offset, tfb.stride);
}
void DeclareOutputAttribute(Attribute::Index index) {