mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-25 07:05:48 +00:00
Remove CompType::Double
* This is a leftover artifact from before we had general extended type support and double was the only non-32 bit type we handled. Now we support most type formats so doubles are just CompType::Float with 8 byte width
This commit is contained in:
@@ -539,7 +539,7 @@ QString BufferFormatter::GetTextureFormatString(const TextureDescription &tex)
|
||||
}
|
||||
else
|
||||
{
|
||||
if(tex.format.compType == CompType::Float || tex.format.compType == CompType::Double)
|
||||
if(tex.format.compType == CompType::Float)
|
||||
baseType = lit("double");
|
||||
else if(tex.format.compType == CompType::SInt)
|
||||
baseType = lit("long");
|
||||
@@ -1527,10 +1527,6 @@ QVariantList GetVariants(ResourceFormat format, const ShaderVariableDescriptor &
|
||||
ret.push_back(f / (float)0x0000ffff);
|
||||
}
|
||||
}
|
||||
else if(format.compType == CompType::Double)
|
||||
{
|
||||
ret.push_back(readObj<double>(data, end, ok));
|
||||
}
|
||||
else
|
||||
{
|
||||
// unorm/snorm
|
||||
|
||||
Reference in New Issue
Block a user