From 61f71a318ef5fc74a333184605df605ebbe81631 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 27 Dec 2023 15:40:01 -0600 Subject: [PATCH] Expose PLVK_DEBUG_EXTRA for enabling extra debug layers --- app/streaming/video/ffmpeg-renderers/plvk.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/streaming/video/ffmpeg-renderers/plvk.cpp b/app/streaming/video/ffmpeg-renderers/plvk.cpp index 06287557..fd054e9c 100644 --- a/app/streaming/video/ffmpeg-renderers/plvk.cpp +++ b/app/streaming/video/ffmpeg-renderers/plvk.cpp @@ -341,7 +341,8 @@ bool PlVkRenderer::initialize(PDECODER_PARAMETERS params) pl_vk_inst_params vkInstParams = pl_vk_inst_default_params; { bool ok; - vkInstParams.debug = !!qEnvironmentVariableIntValue("PLVK_DEBUG", &ok); + vkInstParams.debug_extra = !!qEnvironmentVariableIntValue("PLVK_DEBUG_EXTRA", &ok); + vkInstParams.debug = vkInstParams.debug_extra || !!qEnvironmentVariableIntValue("PLVK_DEBUG", &ok); #ifdef QT_DEBUG if (!ok) { vkInstParams.debug = true;