From bc5097a7d94247b251ed7e721b89ca968a00279f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 13 Nov 2019 21:20:55 -0500 Subject: [PATCH] gallium/noop: call finalize_nir For measuring st/mesa compile time. Reviewed-by: Timothy Arceri --- src/gallium/auxiliary/driver_noop/noop_pipe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/auxiliary/driver_noop/noop_pipe.c b/src/gallium/auxiliary/driver_noop/noop_pipe.c index fe7267c39ca..4ffff6c1db4 100644 --- a/src/gallium/auxiliary/driver_noop/noop_pipe.c +++ b/src/gallium/auxiliary/driver_noop/noop_pipe.c @@ -516,6 +516,9 @@ static const void *noop_get_compiler_options(struct pipe_screen *pscreen, static void noop_finalize_nir(struct pipe_screen *pscreen, void *nir, bool optimize) { + struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; + + screen->finalize_nir(screen, nir, optimize); } struct pipe_screen *noop_screen_create(struct pipe_screen *oscreen) -- 2.30.2