diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/shader/decode/image.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader/decode/image.cpp b/src/video_core/shader/decode/image.cpp index 7f94dacc8..08ebca38b 100644 --- a/src/video_core/shader/decode/image.cpp +++ b/src/video_core/shader/decode/image.cpp | |||
| @@ -119,7 +119,7 @@ ComponentType GetComponentType(Tegra::Engines::SamplerDescriptor descriptor, | |||
| 119 | } | 119 | } |
| 120 | break; | 120 | break; |
| 121 | } | 121 | } |
| 122 | UNIMPLEMENTED_MSG("texture format not implement={}", format); | 122 | UNIMPLEMENTED_MSG("Texture format not implemented={}", format); |
| 123 | return ComponentType::FLOAT; | 123 | return ComponentType::FLOAT; |
| 124 | } | 124 | } |
| 125 | 125 | ||
| @@ -212,7 +212,7 @@ u32 GetComponentSize(TextureFormat format, std::size_t component) { | |||
| 212 | case TextureFormat::G4R4: | 212 | case TextureFormat::G4R4: |
| 213 | return (component == 0 || component == 1) ? 4 : 0; | 213 | return (component == 0 || component == 1) ? 4 : 0; |
| 214 | default: | 214 | default: |
| 215 | UNIMPLEMENTED_MSG("texture format not implement={}", format); | 215 | UNIMPLEMENTED_MSG("Texture format not implemented={}", format); |
| 216 | return 0; | 216 | return 0; |
| 217 | } | 217 | } |
| 218 | } | 218 | } |
| @@ -249,7 +249,7 @@ std::size_t GetImageComponentMask(TextureFormat format) { | |||
| 249 | case TextureFormat::R1: | 249 | case TextureFormat::R1: |
| 250 | return std::size_t{R}; | 250 | return std::size_t{R}; |
| 251 | default: | 251 | default: |
| 252 | UNIMPLEMENTED_MSG("texture format not implement={}", format); | 252 | UNIMPLEMENTED_MSG("Texture format not implemented={}", format); |
| 253 | return std::size_t{R | G | B | A}; | 253 | return std::size_t{R | G | B | A}; |
| 254 | } | 254 | } |
| 255 | } | 255 | } |