nine: always update vertex buffers after updating vertex elements

gallium will require this. (radeonsi won't work otherwise)

Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27736>
This commit is contained in:
Marek Olšák
2025-02-10 16:35:46 -05:00
committed by Marge Bot
parent 36d8191176
commit ecbbbae5c3
+3 -1
View File
@@ -1261,8 +1261,10 @@ nine_update_state(struct NineDevice9 *device)
prepare_dsa(device);
if (group & NINE_STATE_VIEWPORT)
update_viewport(device);
if (group & (NINE_STATE_VDECL | NINE_STATE_VS | NINE_STATE_STREAMFREQ))
if (group & (NINE_STATE_VDECL | NINE_STATE_VS | NINE_STATE_STREAMFREQ)) {
update_vertex_elements(device);
context->changed.vtxbuf_dirty = true;
}
}
if (likely(group & (NINE_STATE_FREQUENT | NINE_STATE_VS | NINE_STATE_PS | NINE_STATE_SWVP))) {