diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2019-04-15 00:32:27 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2019-04-23 23:49:39 +0000 |
commit | 3c2e8267d0b2300963d9a04aa4c46058ef448e49 (patch) | |
tree | 4f79ad7b0db05268145913a0ff45654c48a143a1 /src/amd/vulkan/radv_private.h | |
parent | b53d256db89ef6e5b7d9ec85b6d72350b608f336 (diff) |
radv: Add support for driconf.
This includes 0 options.
The cache parsing is located at a position where we can easily add
config filtering by VkApplicationInfo.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index cd3af7e614d..248a5ec0ac7 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -48,6 +48,7 @@ #include "compiler/shader_enums.h" #include "util/macros.h" #include "util/list.h" +#include "util/xmlconfig.h" #include "main/macros.h" #include "vk_alloc.h" #include "vk_debug_report.h" @@ -339,6 +340,9 @@ struct radv_instance { struct vk_debug_report_instance debug_report_callbacks; struct radv_instance_extension_table enabled_extensions; + + struct driOptionCache dri_options; + struct driOptionCache available_dri_options; }; VkResult radv_init_wsi(struct radv_physical_device *physical_device); |