Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

small fix for alphaToOne bit location

Rodolfo Bogadoa6fbb1ec1656
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 1af948d24a..9e480dc39a 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -728,8 +728,8 @@ public:
u32 zeta_enable;
union {
- BitField<1, 1, u32> alpha_to_coverage;
- BitField<2, 1, u32> alpha_to_one;
+ BitField<0, 1, u32> alpha_to_coverage;
+ BitField<4, 1, u32> alpha_to_one;
} multisample_control;
INSERT_PADDING_WORDS(0x7);