mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Process packing rules when parsing formatting strings
* Instead of having a global tight/non-tight we now let the format string specify the packing rules (defaulting to scalar - i.e. tight packing as before), and use the resulting properties to calculate packing.
This commit is contained in:
@@ -281,7 +281,7 @@ void ConstantBufferPreviewer::processFormat(const QString &format)
|
||||
{
|
||||
QString errors;
|
||||
|
||||
m_formatOverride = BufferFormatter::ParseFormatString(format, ~0ULL, false, errors);
|
||||
m_formatOverride = BufferFormatter::ParseFormatString(format, ~0ULL, errors);
|
||||
ui->formatSpecifier->setErrors(errors);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user