diff options
| author | 2020-03-14 01:05:20 -0300 | |
|---|---|---|
| committer | 2020-03-14 01:05:20 -0300 | |
| commit | 42cb8f11241568fe55de40e731e3fe93b39df2d4 (patch) | |
| tree | 6395cc1b8f1f9ee4f8c80380f10a090ca4be37a9 /src | |
| parent | astc: Minor changes to InputBitStream (diff) | |
| download | yuzu-42cb8f11241568fe55de40e731e3fe93b39df2d4.tar.gz yuzu-42cb8f11241568fe55de40e731e3fe93b39df2d4.tar.xz yuzu-42cb8f11241568fe55de40e731e3fe93b39df2d4.zip | |
astc: Fix typos from search and replace
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/textures/astc.cpp | 6 |
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) { | |||
| 323 | return IntegerEncodedValue(IntegerEncoding::Qus32, Popcnt(check / 5 - 1)); | 323 | return IntegerEncodedValue(IntegerEncoding::Qus32, Popcnt(check / 5 - 1)); |
| 324 | } | 324 | } |
| 325 | 325 | ||
| 326 | // Apparently it can't be represented with a bounded s32eger sequence... | 326 | // Apparently it can't be represented with a bounded integer sequence... |
| 327 | // just iterate. | 327 | // just iterate. |
| 328 | maxVal--; | 328 | maxVal--; |
| 329 | } | 329 | } |
| @@ -755,7 +755,7 @@ public: | |||
| 755 | } | 755 | } |
| 756 | 756 | ||
| 757 | // Take all of the components, transform them to their 8-bit variants, | 757 | // Take all of the components, transform them to their 8-bit variants, |
| 758 | // and then pack each channel s32o an R8G8B8A8 32-bit s32eger. We assume | 758 | // and then pack each channel into an R8G8B8A8 32-bit integer. We assume |
| 759 | // that the architecture is little-endian, so the alpha channel will end | 759 | // that the architecture is little-endian, so the alpha channel will end |
| 760 | // up in the most-significant byte. | 760 | // up in the most-significant byte. |
| 761 | u32 Pack() const { | 761 | u32 Pack() const { |
| @@ -815,7 +815,7 @@ static void DecodeColorValues(u32* out, u8* data, const u32* modes, const u32 nP | |||
| 815 | } | 815 | } |
| 816 | } | 816 | } |
| 817 | 817 | ||
| 818 | // We now have enough to decode our s32eger sequence. | 818 | // We now have enough to decode our integer sequence. |
| 819 | std::vector<IntegerEncodedValue> decodedColorValues; | 819 | std::vector<IntegerEncodedValue> decodedColorValues; |
| 820 | decodedColorValues.reserve(32); | 820 | decodedColorValues.reserve(32); |
| 821 | 821 | ||