maxwell_3d: Use names that match envytools for VertexType.
This commit is contained in:
parent
15925b8293
commit
3754e0fdfd
1 changed files with 8 additions and 8 deletions
|
@ -202,22 +202,22 @@ public:
|
|||
return {};
|
||||
}
|
||||
|
||||
std::string TypeToString() const {
|
||||
std::string TypeString() const {
|
||||
switch (type) {
|
||||
case Type::SignedNorm:
|
||||
return "SignedNorm";
|
||||
return "SNORM";
|
||||
case Type::UnsignedNorm:
|
||||
return "UnsignedNorm";
|
||||
return "UNORM";
|
||||
case Type::SignedInt:
|
||||
return "SignedInt";
|
||||
return "SINT";
|
||||
case Type::UnsignedInt:
|
||||
return "UnsignedInt";
|
||||
return "UINT";
|
||||
case Type::UnsignedScaled:
|
||||
return "UnsignedScaled";
|
||||
return "USCALED";
|
||||
case Type::SignedScaled:
|
||||
return "SignedScaled";
|
||||
return "SSCALED";
|
||||
case Type::Float:
|
||||
return "Float";
|
||||
return "FLOAT";
|
||||
}
|
||||
UNREACHABLE();
|
||||
return {};
|
||||
|
|
Loading…
Reference in a new issue