summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/pipe-loader/pipe_loader.c
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2017-06-30 09:58:46 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2017-07-31 15:56:56 +0200
commit6c8fa09f2d86a3391d496e75c45acf8a07c431e2 (patch)
treec9f853f0e530db4c7d425698d2e09d96f86a733e /src/gallium/auxiliary/pipe-loader/pipe_loader.c
parentac8e8e185ee49e68be149e7f0f47873a6174622f (diff)
gallium: add driconf options to pipe_screen_config
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader/pipe_loader.c')
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.c b/src/gallium/auxiliary/pipe-loader/pipe_loader.c
index 95e6b42cf7..f55312f548 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.c
@@ -111,6 +111,9 @@ struct pipe_screen *
pipe_loader_create_screen(struct pipe_loader_device *dev,
struct pipe_screen_config *config)
{
+ pipe_loader_load_options(dev);
+ config->options = &dev->option_cache;
+
return dev->ops->create_screen(dev, config);
}