diff options
author | Subv <subv2112@gmail.com> | 2018-07-26 06:19:15 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-07-26 15:52:21 +0200 |
commit | f85cff0f48a62ae6ae645bb1dd25689135603d69 (patch) | |
tree | eaa2cce135ccbdb8e81142de7ccd8d84af5d8956 /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Merge pull request #827 from lioncash/log (diff) | |
download | yuzu-f85cff0f48a62ae6ae645bb1dd25689135603d69.tar yuzu-f85cff0f48a62ae6ae645bb1dd25689135603d69.tar.gz yuzu-f85cff0f48a62ae6ae645bb1dd25689135603d69.tar.bz2 yuzu-f85cff0f48a62ae6ae645bb1dd25689135603d69.tar.lz yuzu-f85cff0f48a62ae6ae645bb1dd25689135603d69.tar.xz yuzu-f85cff0f48a62ae6ae645bb1dd25689135603d69.tar.zst yuzu-f85cff0f48a62ae6ae645bb1dd25689135603d69.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index bb39c0a6f..bf0458b94 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -230,7 +230,8 @@ struct SurfaceParams { return PixelFormat::RG16; case Tegra::RenderTargetFormat::RG16_SNORM: return PixelFormat::RG16S; - + case Tegra::RenderTargetFormat::R16_FLOAT: + return PixelFormat::R16F; default: LOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format)); UNREACHABLE(); @@ -437,6 +438,7 @@ struct SurfaceParams { case Tegra::RenderTargetFormat::RGBA32_FLOAT: case Tegra::RenderTargetFormat::RG32_FLOAT: case Tegra::RenderTargetFormat::RG16_FLOAT: + case Tegra::RenderTargetFormat::R16_FLOAT: return ComponentType::Float; case Tegra::RenderTargetFormat::RGBA32_UINT: case Tegra::RenderTargetFormat::RG16_UINT: |