util/u_threaded: fix a CPU storage crash due to an invalid codepath taken
authorMarek Olšák <marek.olsak@amd.com>
Fri, 15 Jul 2022 11:31:49 +0000 (07:31 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 28 Jul 2022 01:11:01 +0000 (01:11 +0000)
commit83d820973c16d2b1500731fc60439247f315832b
tree94063db2a8edc0a597af46f71793570c5f19aaa9
parent62207cf8855a3b1f74ec0320198a4cb9894c984d
util/u_threaded: fix a CPU storage crash due to an invalid codepath taken

Fixes: 3df9d8ed807 - gallium/u_threaded: implement pipelined partial buffer uploads using CPU storage

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6837
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6594
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6613

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17556>
src/gallium/auxiliary/util/u_threaded_context.c