mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 15:06:32 +00:00
Replace . with _ when creating buffer viewer format from input attrs
This commit is contained in:
@@ -1109,7 +1109,8 @@ QString PipelineStateViewer::GetVBufferFormatString(uint32_t slot)
|
||||
format += QString::number(fmt.compCount);
|
||||
}
|
||||
|
||||
format += QFormatStr(" %1;\n").arg(QString(attrs[i].name));
|
||||
format +=
|
||||
QFormatStr(" %1;\n").arg(QString(attrs[i].name).replace(QLatin1Char('.'), QLatin1Char('_')));
|
||||
}
|
||||
|
||||
if(stride > 0)
|
||||
|
||||
Reference in New Issue
Block a user