swr: Fix crashes on Windows
authorjzielins <jan.zielinski@intel.com>
Thu, 17 Dec 2020 13:46:18 +0000 (14:46 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 18 Dec 2020 11:25:45 +0000 (11:25 +0000)
commit2c9bc0d20eae8eed23d6763e78d198ccc6c92ccf
treefeec651c05462fdc346ca11f8f7352ffc0e7bcd8
parent9860b19086a09c72f4ac3866d78c2052c33e3187
swr: Fix crashes on Windows

SWR is missing implementation of pipe_context::flush_resource
function, which is now in the execution path on Windows.
This change adds an empty implementation (flush_resource
is NOOP in SWR) to prevent crashes

Reviewed-by: Krzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8159>
src/gallium/drivers/swr/swr_context.cpp