mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Format sampled image types correctly
This commit is contained in:
@@ -287,6 +287,19 @@ struct SPVTypeData
|
||||
ToStr::Get(texdim).c_str(),
|
||||
typestring.c_str());
|
||||
}
|
||||
else if(type == eSampledImage)
|
||||
{
|
||||
name = "Sampled" + baseType->GetName();
|
||||
}
|
||||
else if(type == eSampler)
|
||||
{
|
||||
name = "Sampler";
|
||||
}
|
||||
else
|
||||
{
|
||||
RDCERR("Unexpected type!");
|
||||
name = StringFormat::Fmt("Unhandled_%u_Type", type);
|
||||
}
|
||||
}
|
||||
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user