mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 21:55:52 +00:00
DXIL Disassembly use RD variable type output in AnnotateHandle
i.e. Texture2D<4xF32> -> Texture2D<float4>
This commit is contained in:
@@ -3251,10 +3251,12 @@ void Program::MakeRDDisassemblyString(const DXBC::Reflection *reflection)
|
||||
resKind == ResourceKind::Texture2DMS ||
|
||||
resKind == ResourceKind::Texture2DMSArray)
|
||||
{
|
||||
VarType varType = VarTypeForComponentType(compType);
|
||||
typeStr += "<";
|
||||
typeStr += ToStr(varType);
|
||||
if(compCount > 1)
|
||||
typeStr += StringFormat::Fmt("%dx", compCount);
|
||||
typeStr += StringFormat::Fmt("%s>", ToStr(compType).c_str());
|
||||
typeStr += StringFormat::Fmt("%d", compCount);
|
||||
typeStr += ">";
|
||||
}
|
||||
lineStr += "(";
|
||||
lineStr += typeStr;
|
||||
|
||||
Reference in New Issue
Block a user