Build: shut up warning to add unnecessary parens.

This commit is contained in:
John Kessenich 2019-07-17 19:15:47 -06:00
parent 74426f7570
commit 9f2236e58e

View File

@ -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");