diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-25 03:04:23 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-27 03:16:55 +0200 |
commit | 3754e0fdfdb46a74965427160cde3818ffaa54c4 (patch) | |
tree | 940ed86a63f4d7513897730adad92d8248c7c93f | |
parent | maxwell_3d: Add VertexAttribute struct and cleanup. (diff) | |
download | yuzu-3754e0fdfdb46a74965427160cde3818ffaa54c4.tar yuzu-3754e0fdfdb46a74965427160cde3818ffaa54c4.tar.gz yuzu-3754e0fdfdb46a74965427160cde3818ffaa54c4.tar.bz2 yuzu-3754e0fdfdb46a74965427160cde3818ffaa54c4.tar.lz yuzu-3754e0fdfdb46a74965427160cde3818ffaa54c4.tar.xz yuzu-3754e0fdfdb46a74965427160cde3818ffaa54c4.tar.zst yuzu-3754e0fdfdb46a74965427160cde3818ffaa54c4.zip |
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index c242786da..9d63fa803 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -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 {}; |