diff options
author | Marek Olšák <[email protected]> | 2019-11-13 21:20:55 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-11-15 14:34:49 -0500 |
commit | bc5097a7d94247b251ed7e721b89ca968a00279f (patch) | |
tree | f103bbf8aedf87463f272c11633fe0b8872df38b /src/gallium | |
parent | 27801b90fa7821b4f57f893174c1f0a0949c39d9 (diff) |
gallium/noop: call finalize_nir
For measuring st/mesa compile time.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/driver_noop/noop_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |