nak/sm20: TexDepBar::textures_left is 6 bits

Fixes: 309c48cbb7 ("nak/sm20: Add texture ops")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35403>
This commit is contained in:
Faith Ekstrand 2025-07-11 14:18:14 -04:00 committed by Marge Bot
parent b932ae00e5
commit fbeb70cbbc

View file

@ -2837,7 +2837,7 @@ impl SM20Op for OpTexDepBar {
fn encode(&self, e: &mut SM20Encoder<'_>) {
e.set_opcode(SM20Unit::Tex, 0x3c);
e.set_field(5..9, 0xf_u8); // flags
e.set_field(26..30, self.textures_left);
e.set_field(26..32, self.textures_left);
}
}