c/client: Allow passing down debug_utils_enabled flag

This commit is contained in:
Zhongwang Zhang 2023-11-06 16:26:25 +08:00 committed by Jakob Bornecrantz
parent 3dde1f2d27
commit 23595274ee
3 changed files with 4 additions and 1 deletions

View file

@ -781,6 +781,7 @@ client_vk_compositor_create(struct xrt_compositor_native *xcn,
bool external_fence_fd_enabled,
bool external_semaphore_fd_enabled,
bool timeline_semaphore_enabled,
bool debug_utils_enabled,
uint32_t queueFamilyIndex,
uint32_t queueIndex)
{
@ -831,7 +832,7 @@ client_vk_compositor_create(struct xrt_compositor_native *xcn,
external_fence_fd_enabled, // external_fence_fd_enabled
external_semaphore_fd_enabled, // external_semaphore_fd_enabled
timeline_semaphore_enabled, // timeline_semaphore_enabled
false, // debug_utils_enabled,
debug_utils_enabled, // debug_utils_enabled
log_level); // log_level
if (ret != VK_SUCCESS) {
goto err_free;

View file

@ -105,6 +105,7 @@ client_vk_compositor_create(struct xrt_compositor_native *xcn,
bool external_fence_fd_enabled,
bool external_semaphore_fd_enabled,
bool timeline_semaphore_enabled,
bool debug_utils_enabled,
uint32_t queueFamilyIndex,
uint32_t queueIndex);

View file

@ -86,6 +86,7 @@ xrt_gfx_vk_provider_create(struct xrt_compositor_native *xcn,
external_fence_fd_enabled, //
external_semaphore_fd_enabled, //
timeline_semaphore_enabled, //
debug_utils_enabled, //
queue_family_index, //
queue_index); //