From fbabd37acafc5d422a2c176db6b132dff3087622 Mon Sep 17 00:00:00 2001 From: Arcady Goldmints-Orlov Date: Fri, 31 Mar 2023 17:07:37 -0600 Subject: [PATCH] Remove a redundant condition in an if statement This was added erroneously in commit 12bc9aa9c. --- glslang/HLSL/hlslParseHelper.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/glslang/HLSL/hlslParseHelper.cpp b/glslang/HLSL/hlslParseHelper.cpp index 6e0d314a..48989f02 100644 --- a/glslang/HLSL/hlslParseHelper.cpp +++ b/glslang/HLSL/hlslParseHelper.cpp @@ -7565,7 +7565,6 @@ const TFunction* HlslParseContext::findFunction(const TSourceLoc& loc, TFunction candidateList[0]->getBuiltInOp() == EOpMethodRestartStrip || candidateList[0]->getBuiltInOp() == EOpMethodIncrementCounter || candidateList[0]->getBuiltInOp() == EOpMethodDecrementCounter || - candidateList[0]->getBuiltInOp() == EOpMethodAppend || candidateList[0]->getBuiltInOp() == EOpMethodConsume)) { return candidateList[0]; }