summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/driver_ddebug/dd_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/driver_ddebug/dd_screen.c')
-rw-r--r--lib/mesa/src/gallium/auxiliary/driver_ddebug/dd_screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/driver_ddebug/dd_screen.c b/lib/mesa/src/gallium/auxiliary/driver_ddebug/dd_screen.c
index dadcde63a..b9a60b1a3 100644
--- a/lib/mesa/src/gallium/auxiliary/driver_ddebug/dd_screen.c
+++ b/lib/mesa/src/gallium/auxiliary/driver_ddebug/dd_screen.c
@@ -414,12 +414,12 @@ dd_screen_memobj_destroy(struct pipe_screen *_screen,
* screen
*/
-static void
-dd_screen_finalize_nir(struct pipe_screen *_screen, void *nir, bool optimize)
+static char *
+dd_screen_finalize_nir(struct pipe_screen *_screen, void *nir)
{
struct pipe_screen *screen = dd_screen(_screen)->screen;
- screen->finalize_nir(screen, nir, optimize);
+ return screen->finalize_nir(screen, nir);
}
static void