Mesa (master): gallium/noop: call finalize_nir
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Nov 15 19:35:43 UTC 2019
Module: Mesa
Branch: master
Commit: bc5097a7d94247b251ed7e721b89ca968a00279f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc5097a7d94247b251ed7e721b89ca968a00279f
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Nov 13 21:20:55 2019 -0500
gallium/noop: call finalize_nir
For measuring st/mesa compile time.
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
---
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)
More information about the mesa-commit
mailing list