clover/nir: don't convert to NIR on library link
authorDave Airlie <airlied@redhat.com>
Mon, 9 Aug 2021 01:36:58 +0000 (11:36 +1000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 10 Aug 2021 21:38:39 +0000 (21:38 +0000)
commite78d5bb8e2bb87d53dce4fe61e1f21a933aae922
tree1f9a2003c6c935aca4ea418dd089dc0893adca51
parent6cc1568ff5cffa4c4ac1cd40d3ea5afede99e505
clover/nir: don't convert to NIR on library link

If just creating a library, just link the spir-v and store it.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12286>
src/gallium/frontends/clover/core/compiler.hpp