zink: change descriptor flushing to assert
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 21 May 2021 20:54:46 +0000 (16:54 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 27 Jul 2021 22:34:21 +0000 (22:34 +0000)
commit4bd6a0299b00a1e34cf1910409ceeef2dfa976ad
tree1111fae67cb93bdb28acf97c7eb096c7311d874f
parent8ba44103b31d90b0c7531d66aa74254412485c85
zink: change descriptor flushing to assert

there should never be flushing due to pool depletion; instead, trigger an
oom flush and stall to replenish the pool after the draw/compute

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12012>
src/gallium/drivers/zink/zink_descriptors.c
src/gallium/drivers/zink/zink_descriptors.h
src/gallium/drivers/zink/zink_descriptors_lazy.c
src/gallium/drivers/zink/zink_draw.cpp
src/gallium/drivers/zink/zink_screen.h