mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Sanitise : in pipeline state vertex input names
This commit is contained in:
@@ -1448,6 +1448,7 @@ QString PipelineStateViewer::GetVBufferFormatString(uint32_t slot)
|
||||
QString sanitised_name = real_name;
|
||||
|
||||
sanitised_name.replace(QLatin1Char('.'), QLatin1Char('_'))
|
||||
.replace(QLatin1Char(':'), QLatin1Char('_'))
|
||||
.replace(QLatin1Char('['), QLatin1Char('_'))
|
||||
.replace(QLatin1Char(']'), QLatin1Char('_'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user