projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27801b9
)
gallium/noop: call finalize_nir
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 14 Nov 2019 02:20:55 +0000
(21:20 -0500)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 15 Nov 2019 19:34:49 +0000
(14:34 -0500)
For measuring st/mesa compile time.
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/gallium/auxiliary/driver_noop/noop_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/driver_noop/noop_pipe.c
b/src/gallium/auxiliary/driver_noop/noop_pipe.c
index fe7267c39caef03e8d1ade8366ed5c94273314aa..4ffff6c1db4f539588284e60b876fe3e2943266f 100644
(file)
--- 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)