rsx: Fix swapped width/height in NV309E_SET_FORMAT decoder

This commit is contained in:
Phil Coulson 2026-05-12 22:02:01 +08:00 committed by kd-11
parent fb1c1eeaef
commit 021f16f775

View File

@ -3775,12 +3775,12 @@ struct registers_decoder<NV309E_SET_FORMAT>
u8 sw_height_log2() const
{
return bf_decoder<16, 8>(value);
return bf_decoder<24, 8>(value);
}
u8 sw_width_log2() const
{
return bf_decoder<24, 8>(value);
return bf_decoder<16, 8>(value);
}
};