crocus: fixup index buffer dirtying.
authorDave Airlie <airlied@redhat.com>
Mon, 5 Jul 2021 02:45:13 +0000 (12:45 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Jul 2021 02:45:13 +0000 (12:45 +1000)
commit0aab06e6d39e3832d42c714629b05926f53c1c00
treed7b91fc685ad08eda47e61ba2708f98bdb04d800
parent32b8d473064cf410dcc9f1138d1d346573a28e27
crocus: fixup index buffer dirtying.

This fixes a possible problem if a non-indexed draw comes in first
in a new batch, then the batch might not emit the index buffer.

I'm unsure if we see this, I just spotted it trying to fix alacritty

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11705>
src/gallium/drivers/crocus/crocus_state.c