Format sampled image types correctly

This commit is contained in:
baldurk
2016-02-07 18:46:54 +01:00
parent 879384500b
commit 090d033a57
@@ -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;