DXIL Disassembly use RD variable type output in AnnotateHandle

i.e.
Texture2D<4xF32> -> Texture2D<float4>
This commit is contained in:
Jake Turner
2024-06-17 10:35:57 +01:00
parent 9825057527
commit fc1e5bb1ad
@@ -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;