diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-10 18:07:37 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-08-12 01:06:42 +0200 |
commit | 88ffa422d42e9fec2e56272a584f22b1db454ad0 (patch) | |
tree | 21a679c79e25643b3c862e7195217acc57235788 /src/video_core/gpu.cpp | |
parent | gl_rasterizer: Implement render target format RGBA8_SNORM. (diff) | |
download | yuzu-88ffa422d42e9fec2e56272a584f22b1db454ad0.tar yuzu-88ffa422d42e9fec2e56272a584f22b1db454ad0.tar.gz yuzu-88ffa422d42e9fec2e56272a584f22b1db454ad0.tar.bz2 yuzu-88ffa422d42e9fec2e56272a584f22b1db454ad0.tar.lz yuzu-88ffa422d42e9fec2e56272a584f22b1db454ad0.tar.xz yuzu-88ffa422d42e9fec2e56272a584f22b1db454ad0.tar.zst yuzu-88ffa422d42e9fec2e56272a584f22b1db454ad0.zip |
Diffstat (limited to '')
-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 e0fc10a51..834940b83 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -67,6 +67,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) { case RenderTargetFormat::R16_UINT: case RenderTargetFormat::R16_SINT: case RenderTargetFormat::R16_FLOAT: + case RenderTargetFormat::RG8_SNORM: return 2; case RenderTargetFormat::R8_UNORM: return 1; |