diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-24 01:10:00 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-07-24 03:22:54 +0200 |
commit | a27c0099ededac2d1fb1745a437a446450dfea10 (patch) | |
tree | f50d597af8bec5e7403217945d061f3e6ecaff4f /src/video_core/gpu.cpp | |
parent | gl_rasterizer_cache: Implement RenderTargetFormat RGBA32_FLOAT. (diff) | |
download | yuzu-a27c0099ededac2d1fb1745a437a446450dfea10.tar yuzu-a27c0099ededac2d1fb1745a437a446450dfea10.tar.gz yuzu-a27c0099ededac2d1fb1745a437a446450dfea10.tar.bz2 yuzu-a27c0099ededac2d1fb1745a437a446450dfea10.tar.lz yuzu-a27c0099ededac2d1fb1745a437a446450dfea10.tar.xz yuzu-a27c0099ededac2d1fb1745a437a446450dfea10.tar.zst yuzu-a27c0099ededac2d1fb1745a437a446450dfea10.zip |
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r-- | src/video_core/gpu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index b094d48c3..60c49d672 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -35,6 +35,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) { case RenderTargetFormat::RGBA32_FLOAT: return 16; case RenderTargetFormat::RGBA16_FLOAT: + case RenderTargetFormat::RG32_FLOAT: return 8; case RenderTargetFormat::RGBA8_UNORM: case RenderTargetFormat::RGB10_A2_UNORM: |