virgl: Add support for NIR shaders when VIRGL_DEBUG=nir.
authorEmma Anholt <emma@anholt.net>
Thu, 9 Sep 2021 20:13:41 +0000 (13:13 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 Oct 2021 03:44:18 +0000 (03:44 +0000)
commit22a332f5acee1c8897fec905407097190c7235a2
tree4b509bd91689788d3c1fa76e26b549883f5eb58e
parent4e3e149ffdae8e3c8edd3794b162e4c528e61ad1
virgl: Add support for NIR shaders when VIRGL_DEBUG=nir.

This will let me incrementally fix nir-to-tgsi against virgl without
having to carry around the whole "remove TGSI from mesa/st" MR.

Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12800>
src/gallium/drivers/virgl/meson.build
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_screen.c
src/gallium/drivers/virgl/virgl_screen.h