summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-14 05:05:20 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-14 05:05:20 +0100
commit42cb8f11241568fe55de40e731e3fe93b39df2d4 (patch)
tree6395cc1b8f1f9ee4f8c80380f10a090ca4be37a9 /src/video_core
parentastc: Minor changes to InputBitStream (diff)
downloadyuzu-42cb8f11241568fe55de40e731e3fe93b39df2d4.tar
yuzu-42cb8f11241568fe55de40e731e3fe93b39df2d4.tar.gz
yuzu-42cb8f11241568fe55de40e731e3fe93b39df2d4.tar.bz2
yuzu-42cb8f11241568fe55de40e731e3fe93b39df2d4.tar.lz
yuzu-42cb8f11241568fe55de40e731e3fe93b39df2d4.tar.xz
yuzu-42cb8f11241568fe55de40e731e3fe93b39df2d4.tar.zst
yuzu-42cb8f11241568fe55de40e731e3fe93b39df2d4.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/textures/astc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp
index 5fce8546c..404708d92 100644
--- a/src/video_core/textures/astc.cpp
+++ b/src/video_core/textures/astc.cpp
@@ -323,7 +323,7 @@ static constexpr IntegerEncodedValue CreateEncoding(u32 maxVal) {
return IntegerEncodedValue(IntegerEncoding::Qus32, Popcnt(check / 5 - 1));
}
- // Apparently it can't be represented with a bounded s32eger sequence...
+ // Apparently it can't be represented with a bounded integer sequence...
// just iterate.
maxVal--;
}
@@ -755,7 +755,7 @@ public:
}
// Take all of the components, transform them to their 8-bit variants,
- // and then pack each channel s32o an R8G8B8A8 32-bit s32eger. We assume
+ // and then pack each channel into an R8G8B8A8 32-bit integer. We assume
// that the architecture is little-endian, so the alpha channel will end
// up in the most-significant byte.
u32 Pack() const {
@@ -815,7 +815,7 @@ static void DecodeColorValues(u32* out, u8* data, const u32* modes, const u32 nP
}
}
- // We now have enough to decode our s32eger sequence.
+ // We now have enough to decode our integer sequence.
std::vector<IntegerEncodedValue> decodedColorValues;
decodedColorValues.reserve(32);