diff options
author | Marek Olšák <[email protected]> | 2017-06-21 00:38:06 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-23 19:50:20 +0200 |
commit | a98a04ec80deb6a6b452165cf54a79c6ea824ab2 (patch) | |
tree | 96b781d28dba368164abbaf4f9ecd3bcdbae6308 /src/gallium/drivers/r600/r600_pipe.c | |
parent | 118b2008ba18d6cf5d511e0a0bacbb846aad6982 (diff) |
gallium/radeon: pass create_screen flags to r600_common_screen_init
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index a225f417f27..f0ea4095762 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -632,7 +632,7 @@ static struct pipe_resource *r600_resource_create(struct pipe_screen *screen, return r600_resource_create_common(screen, templ); } -struct pipe_screen *r600_screen_create(struct radeon_winsys *ws) +struct pipe_screen *r600_screen_create(struct radeon_winsys *ws, unsigned flags) { struct r600_screen *rscreen = CALLOC_STRUCT(r600_screen); @@ -647,7 +647,7 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws) rscreen->b.b.get_shader_param = r600_get_shader_param; rscreen->b.b.resource_create = r600_resource_create; - if (!r600_common_screen_init(&rscreen->b, ws)) { + if (!r600_common_screen_init(&rscreen->b, ws, flags)) { FREE(rscreen); return NULL; } |