zink: remove compiled conditional for lavapipe usage
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 11 Apr 2022 00:19:06 +0000 (20:19 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 11 Apr 2022 00:59:15 +0000 (00:59 +0000)
commit42bb760c8d8486d1d314cb133fbc2f750fbba960
tree8099399e66e51d8360380aaa4331f59a98358cf3
parentdd078d13cb6b445ad02087a3e80433ef053b7490
zink: remove compiled conditional for lavapipe usage

this is super annoying since it means that a build of zink cannot
be mix-and-matched with an existing build of lavapipe, e.g., for faster
bisecting

the env var should be sufficient to handle this, and if someone sets it
and doesn't have swrast enabled then they can deal with it

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15844>
src/gallium/drivers/zink/meson.build
src/gallium/drivers/zink/zink_screen.c