Monado OpenXR Runtime
comp_vulkan_arguments Struct Reference

Arguments to Vulkan bundle initialisation, all args needs setting. More...

#include <util/comp_vulkan.h>

Collaboration diagram for comp_vulkan_arguments:

Data Fields

uint32_t required_instance_version
 Vulkan version that is required. More...
 
PFN_vkGetInstanceProcAddr get_instance_proc_address
 Function to get all Vulkan functions from. More...
 
struct u_string_listrequired_instance_extensions
 Extensions that the instance is created with. More...
 
struct u_string_listoptional_instance_extensions
 Extensions that the instance is created with. More...
 
struct u_string_listrequired_device_extensions
 Extensions that the device is created with. More...
 
struct u_string_listoptional_device_extensions
 Extensions that the device is created with. More...
 
enum u_logging_level log_level
 Logging level to be set on the vk_bundle. More...
 
bool only_compute_queue
 Should we look for a queue with no graphics, only compute. More...
 
bool timeline_semaphore
 Should we try to enable timeline semaphores if available. More...
 
int selected_gpu_index
 Vulkan physical device to be selected, -1 for auto. More...
 
int client_gpu_index
 Vulkan physical device index for clients to use, -1 for auto. More...
 

Detailed Description

Arguments to Vulkan bundle initialisation, all args needs setting.

Field Documentation

◆ client_gpu_index

int comp_vulkan_arguments::client_gpu_index

Vulkan physical device index for clients to use, -1 for auto.

◆ get_instance_proc_address

PFN_vkGetInstanceProcAddr comp_vulkan_arguments::get_instance_proc_address

Function to get all Vulkan functions from.

Referenced by comp_vulkan_init_bundle().

◆ log_level

enum u_logging_level comp_vulkan_arguments::log_level

Logging level to be set on the vk_bundle.

Referenced by comp_vulkan_init_bundle().

◆ only_compute_queue

bool comp_vulkan_arguments::only_compute_queue

Should we look for a queue with no graphics, only compute.

◆ optional_device_extensions

struct u_string_list* comp_vulkan_arguments::optional_device_extensions

Extensions that the device is created with.

◆ optional_instance_extensions

struct u_string_list* comp_vulkan_arguments::optional_instance_extensions

Extensions that the instance is created with.

◆ required_device_extensions

struct u_string_list* comp_vulkan_arguments::required_device_extensions

Extensions that the device is created with.

◆ required_instance_extensions

struct u_string_list* comp_vulkan_arguments::required_instance_extensions

Extensions that the instance is created with.

◆ required_instance_version

uint32_t comp_vulkan_arguments::required_instance_version

Vulkan version that is required.

◆ selected_gpu_index

int comp_vulkan_arguments::selected_gpu_index

Vulkan physical device to be selected, -1 for auto.

◆ timeline_semaphore

bool comp_vulkan_arguments::timeline_semaphore

Should we try to enable timeline semaphores if available.


The documentation for this struct was generated from the following file: