diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 74ac0ec0389..ff787adcf34 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -916,7 +916,8 @@ static void si_test_vmfault(struct si_screen *sscreen) exit(0); } -struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws) +struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws, + unsigned flags) { struct si_screen *sscreen = CALLOC_STRUCT(si_screen); unsigned num_threads, num_compiler_threads, num_compiler_threads_lowprio, i; @@ -934,7 +935,7 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws) si_init_screen_state_functions(sscreen); - if (!r600_common_screen_init(&sscreen->b, ws) || + if (!r600_common_screen_init(&sscreen->b, ws, flags) || !si_init_gs_info(sscreen) || !si_init_shader_cache(sscreen)) { FREE(sscreen); |