mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 06:16:23 -05:00
GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine.
This commit is contained in:
parent
8d70d1ea45
commit
adf47cd59a
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue