Skip to content
Snippets Groups Projects
Commit adf47cd5 authored by Subv's avatar Subv
Browse files

GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine.

parent 8d70d1ea
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment