Commit fcab0cf0 authored by Lubosz Sarnecki's avatar Lubosz Sarnecki

src: Vulkan validation is now enabled with GULKAN_DEBUG=1.

parent 5e7faf32
......@@ -68,7 +68,7 @@ xrd_overlay_client_new (void)
return NULL;
self->gc = openvr_compositor_gulkan_client_new (true);
self->gc = openvr_compositor_gulkan_client_new ();
if (!self->gc)
g_printerr ("Unable to initialize Vulkan!\n");
......@@ -12,8 +12,6 @@
#include <gulkan.h>
#include <openvr-glib.h>
static bool use_validation = true;
typedef struct VertexDataScene
graphene_point3d_t position;
......@@ -543,8 +541,7 @@ _init_vulkan (XrdSceneRenderer *self)
xrd_scene_renderer_init_vulkan_simple (XrdSceneRenderer *self)
gulkan_client_init_vulkan (GULKAN_CLIENT (self),
NULL, NULL, use_validation);
gulkan_client_init_vulkan (GULKAN_CLIENT (self), NULL, NULL);
if (!_init_vulkan (self))
return false;
......@@ -555,8 +552,7 @@ xrd_scene_renderer_init_vulkan_simple (XrdSceneRenderer *self)
xrd_scene_renderer_init_vulkan_openvr (XrdSceneRenderer *self)
if (!openvr_compositor_gulkan_client_init (GULKAN_CLIENT (self),
if (!openvr_compositor_gulkan_client_init (GULKAN_CLIENT (self)))
return false;
if (!_init_vulkan (self))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment