diff options
| author | 2018-09-23 19:10:19 +0200 | |
|---|---|---|
| committer | 2018-09-23 19:17:22 +0200 | |
| commit | b91e2d55f39e55d4aabde9ccbd56ebaa5b3a21ca (patch) | |
| tree | 1e3f17975d748bafdac4afb8f07be630b0f09530 /src | |
| parent | Merge pull request #1378 from lioncash/thread (diff) | |
| download | yuzu-b91e2d55f39e55d4aabde9ccbd56ebaa5b3a21ca.tar.gz yuzu-b91e2d55f39e55d4aabde9ccbd56ebaa5b3a21ca.tar.xz yuzu-b91e2d55f39e55d4aabde9ccbd56ebaa5b3a21ca.zip | |
correct BC6H
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp index 86682d7cb..f9d97d928 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | |||
| @@ -141,8 +141,8 @@ static constexpr std::array<FormatTuple, SurfaceParams::MaxPixelFormat> tex_form | |||
| 141 | {GL_COMPRESSED_RGBA_BPTC_UNORM_ARB, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8, ComponentType::UNorm, | 141 | {GL_COMPRESSED_RGBA_BPTC_UNORM_ARB, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8, ComponentType::UNorm, |
| 142 | true}, // BC7U | 142 | true}, // BC7U |
| 143 | {GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB, GL_RGB, GL_UNSIGNED_INT_8_8_8_8, | 143 | {GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB, GL_RGB, GL_UNSIGNED_INT_8_8_8_8, |
| 144 | ComponentType::UNorm, true}, // BC6H_UF16 | 144 | ComponentType::Float, true}, // BC6H_UF16 |
| 145 | {GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB, GL_RGB, GL_UNSIGNED_INT_8_8_8_8, ComponentType::UNorm, | 145 | {GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB, GL_RGB, GL_UNSIGNED_INT_8_8_8_8, ComponentType::Float, |
| 146 | true}, // BC6H_SF16 | 146 | true}, // BC6H_SF16 |
| 147 | {GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // ASTC_2D_4X4 | 147 | {GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // ASTC_2D_4X4 |
| 148 | {GL_RG8, GL_RG, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // G8R8U | 148 | {GL_RG8, GL_RG, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // G8R8U |