diff options
author | Unknown <gregoire.hage@gmail.com> | 2018-08-01 15:31:42 +0200 |
---|---|---|
committer | Unknown <gregoire.hage@gmail.com> | 2018-08-01 15:31:42 +0200 |
commit | 0d8fcab1368e95c51956927e3a35b5a0fa939a75 (patch) | |
tree | 196219c41cdeebfc0dd5e0a1706a56a58d9c9dd7 /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Merge pull request #882 from lioncash/unused (diff) | |
download | yuzu-0d8fcab1368e95c51956927e3a35b5a0fa939a75.tar yuzu-0d8fcab1368e95c51956927e3a35b5a0fa939a75.tar.gz yuzu-0d8fcab1368e95c51956927e3a35b5a0fa939a75.tar.bz2 yuzu-0d8fcab1368e95c51956927e3a35b5a0fa939a75.tar.lz yuzu-0d8fcab1368e95c51956927e3a35b5a0fa939a75.tar.xz yuzu-0d8fcab1368e95c51956927e3a35b5a0fa939a75.tar.zst yuzu-0d8fcab1368e95c51956927e3a35b5a0fa939a75.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index bf0458b94..b73dc2b06 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -232,6 +232,8 @@ struct SurfaceParams { return PixelFormat::RG16S; case Tegra::RenderTargetFormat::R16_FLOAT: return PixelFormat::R16F; + case Tegra::RenderTargetFormat::R32_FLOAT: + return PixelFormat::R32F; default: LOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format)); UNREACHABLE(); @@ -439,6 +441,7 @@ struct SurfaceParams { case Tegra::RenderTargetFormat::RG32_FLOAT: case Tegra::RenderTargetFormat::RG16_FLOAT: case Tegra::RenderTargetFormat::R16_FLOAT: + case Tegra::RenderTargetFormat::R32_FLOAT: return ComponentType::Float; case Tegra::RenderTargetFormat::RGBA32_UINT: case Tegra::RenderTargetFormat::RG16_UINT: |