diff --git a/src/gallium/auxiliary/driver_ddebug/dd_screen.c b/src/gallium/auxiliary/driver_ddebug/dd_screen.c index 57abbd899e1..72f8f164351 100644 --- a/src/gallium/auxiliary/driver_ddebug/dd_screen.c +++ b/src/gallium/auxiliary/driver_ddebug/dd_screen.c @@ -679,6 +679,9 @@ ddebug_screen_create(struct pipe_screen *screen) SCR_INIT(vertex_state_destroy); dscreen->base.get_driver_pipe_screen = dd_get_driver_pipe_screen; + /* copy all caps */ + *(struct pipe_caps *)&dscreen->base.caps = screen->caps; + #undef SCR_INIT dscreen->screen = screen; diff --git a/src/gallium/auxiliary/driver_noop/noop_pipe.c b/src/gallium/auxiliary/driver_noop/noop_pipe.c index b180d8f73f3..c67db0899a2 100644 --- a/src/gallium/auxiliary/driver_noop/noop_pipe.c +++ b/src/gallium/auxiliary/driver_noop/noop_pipe.c @@ -831,6 +831,9 @@ struct pipe_screen *noop_screen_create(struct pipe_screen *oscreen) screen->query_compression_modifiers = noop_query_compression_modifiers; screen->get_driver_pipe_screen = noop_get_driver_pipe_screen; + /* copy all caps */ + *(struct pipe_caps *)&screen->caps = oscreen->caps; + slab_create_parent(&noop_screen->pool_transfers, sizeof(struct pipe_transfer), 64);