From adf47cd59a08a87fc922411826118020eed92c98 Mon Sep 17 00:00:00 2001 From: Subv Date: Tue, 5 Jun 2018 22:01:20 -0500 Subject: GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine. --- src/video_core/gpu.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit v1.2.3