mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-20 03:30:45 -04:00
GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine.
This commit is contained in:
@@ -28,6 +28,8 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
|
|||||||
switch (format) {
|
switch (format) {
|
||||||
case RenderTargetFormat::RGBA32_FLOAT:
|
case RenderTargetFormat::RGBA32_FLOAT:
|
||||||
return 16;
|
return 16;
|
||||||
|
case RenderTargetFormat::RGBA16_FLOAT:
|
||||||
|
return 8;
|
||||||
case RenderTargetFormat::RGBA8_UNORM:
|
case RenderTargetFormat::RGBA8_UNORM:
|
||||||
case RenderTargetFormat::RGB10_A2_UNORM:
|
case RenderTargetFormat::RGB10_A2_UNORM:
|
||||||
return 4;
|
return 4;
|
||||||
|
|||||||
Reference in New Issue
Block a user