From fed51e6c92f195b7243808524f065569248c80f8 Mon Sep 17 00:00:00 2001 From: WinterSnowfall Date: Wed, 5 Mar 2025 15:57:48 +0200 Subject: [PATCH] [dxso] Fix uninitialized m_maxDefinedConstant variable --- src/dxso/dxso_compiler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dxso/dxso_compiler.h b/src/dxso/dxso_compiler.h index 4da547372..7a8d9e586 100644 --- a/src/dxso/dxso_compiler.h +++ b/src/dxso/dxso_compiler.h @@ -259,7 +259,7 @@ namespace dxvk { DxsoShaderMetaInfo m_meta; DxsoDefinedConstants m_constants; - uint32_t m_maxDefinedConstant; + uint32_t m_maxDefinedConstant = 0u; SpirvModule m_module; @@ -712,4 +712,4 @@ namespace dxvk { }; -} \ No newline at end of file +}