mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-29 22:04:17 +01:00
Fix Color RT Disabling Bug
Color RTs are disabled by setting their format as `None`, it was removed while transitioning to macros and resulted in a missing format exception. It has been readded as several applications depend on this behavior.
This commit is contained in:
parent
a2285669b3
commit
edd51c3dfa
@ -193,6 +193,9 @@ namespace skyline::gpu::interconnect {
|
||||
#define FORMAT_SAME_NORM_INT_FLOAT_CASE(fmt) FORMAT_NORM_INT_FLOAT_CASE(fmt, fmt)
|
||||
|
||||
switch (format) {
|
||||
case maxwell3d::ColorRenderTarget::Format::None:
|
||||
return {};
|
||||
|
||||
FORMAT_SAME_NORM_INT_CASE(R8);
|
||||
FORMAT_SAME_NORM_INT_FLOAT_CASE(R16);
|
||||
FORMAT_SAME_NORM_INT_CASE(R8G8);
|
||||
|
Loading…
Reference in New Issue
Block a user