diff options
author | Subv <subv2112@gmail.com> | 2018-06-06 05:01:20 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-06-06 05:01:20 +0200 |
commit | adf47cd59a08a87fc922411826118020eed92c98 (patch) | |
tree | 1cb2d1f106d2045528788c76fb0681e2264649f5 /src/video_core | |
parent | GPU: Allow the usage of RGBA32_FLOAT in the texture copy engine. (diff) | |
download | yuzu-adf47cd59a08a87fc922411826118020eed92c98.tar yuzu-adf47cd59a08a87fc922411826118020eed92c98.tar.gz yuzu-adf47cd59a08a87fc922411826118020eed92c98.tar.bz2 yuzu-adf47cd59a08a87fc922411826118020eed92c98.tar.lz yuzu-adf47cd59a08a87fc922411826118020eed92c98.tar.xz yuzu-adf47cd59a08a87fc922411826118020eed92c98.tar.zst yuzu-adf47cd59a08a87fc922411826118020eed92c98.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/gpu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 1c9a523fc..66351fe6e 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -28,6 +28,8 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) { switch (format) { case RenderTargetFormat::RGBA32_FLOAT: return 16; + case RenderTargetFormat::RGBA16_FLOAT: + return 8; case RenderTargetFormat::RGBA8_UNORM: case RenderTargetFormat::RGB10_A2_UNORM: return 4; |