Skip to content

Commit

Permalink
initialize no matter what
Browse files Browse the repository at this point in the history
  • Loading branch information
dnfield authored and artdeell committed Dec 29, 2023
1 parent a642e31 commit 44ad13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libshaderc_util/src/compiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ std::tuple<bool, std::vector<uint32_t>, size_t> Compiler::Compile(
shader.setEnvTargetHlslFunctionality1();
}
if (vulkan_rules_relaxed_) {
glslang::EShSource language;
glslang::EShSource language = glslang::EShSourceNone;
switch(source_language_) {
case SourceLanguage::GLSL:
language = glslang::EShSourceGlsl;
Expand Down

0 comments on commit 44ad13e

Please sign in to comment.