mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 13:15:57 +00:00
Fix check for unknown DXGI format
This commit is contained in:
@@ -1990,7 +1990,9 @@ namespace renderdocui.Windows.PipelineState
|
||||
}
|
||||
}
|
||||
|
||||
if (format == "" && r.variableType.Name.Length > 0)
|
||||
// if view format is unknown, use the variable type
|
||||
if (!view.Format.special && view.Format.compCount == 0 &&
|
||||
view.Format.compByteWidth == 0 && r.variableType.Name.Length > 0)
|
||||
format = r.variableType.Name;
|
||||
|
||||
format += " " + r.name + ";";
|
||||
|
||||
Reference in New Issue
Block a user