From: Marek Olšák Date: Thu, 14 Nov 2019 02:20:55 +0000 (-0500) Subject: gallium/noop: call finalize_nir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc5097a7d94247b251ed7e721b89ca968a00279f;p=mesa.git gallium/noop: call finalize_nir For measuring st/mesa compile time. Reviewed-by: Timothy Arceri --- 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)