summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-30 09:58:46 +0200
committerNicolai Hähnle <[email protected]>2017-08-02 09:50:57 +0200
commita35a9e7c6f1ddba0b1e80a30f0f7114a2cdc402d (patch)
treed2c34edc2b396b0a2b0d352597fd85fc24d6f577 /src/gallium/auxiliary
parente794f8bf8bdb7cd0820251b46a9387ea5a7316da (diff)
gallium: add driconf options to pipe_screen_config
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-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 95e6b42cf71..f55312f548a 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);
}