From 9f2236e58ed06c770a6beffe8a3b6b4a32111c42 Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Wed, 17 Jul 2019 19:15:47 -0600 Subject: [PATCH] Build: shut up warning to add unnecessary parens. --- glslang/MachineIndependent/Initialize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/MachineIndependent/Initialize.cpp b/glslang/MachineIndependent/Initialize.cpp index 3d3e108..602bf85 100644 --- a/glslang/MachineIndependent/Initialize.cpp +++ b/glslang/MachineIndependent/Initialize.cpp @@ -5144,7 +5144,7 @@ void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvV } //E_SPV_NV_compute_shader_derivatives - if (profile == EEsProfile && version >= 320 || profile != EEsProfile && version >= 450) { + if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) { stageBuiltins[EShLangCompute].append(derivatives); stageBuiltins[EShLangCompute].append(derivativeControls); stageBuiltins[EShLangCompute].append("\n"); -- 2.7.4