mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-06 08:28:37 +02:00
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:
parent
36d8191176
commit
ecbbbae5c3
1 changed files with 3 additions and 1 deletions
|
|
@ -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))) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue