From 1b12b9c57560ba7c3e83964cd414ed63b2f66db4 Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Fri, 21 Dec 2012 04:28:05 +0000 Subject: [PATCH] Fix "forward" -> "faceforward" typo, which had caused the operator for it to not be mapped, and instead passed through as a function call. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20021 e7fa87d3-cd2b-0410-9028-fcbf551c1848 --- 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 96f307a2..d7f70f8d 100644 --- a/glslang/MachineIndependent/Initialize.cpp +++ b/glslang/MachineIndependent/Initialize.cpp @@ -899,7 +899,7 @@ void IdentifyBuiltIns(EShLanguage language, TSymbolTable& symbolTable) symbolTable.relateToOperator("dot", EOpDot); symbolTable.relateToOperator("cross", EOpCross); symbolTable.relateToOperator("normalize", EOpNormalize); - symbolTable.relateToOperator("forward", EOpFaceForward); + symbolTable.relateToOperator("faceforward", EOpFaceForward); symbolTable.relateToOperator("reflect", EOpReflect); symbolTable.relateToOperator("refract", EOpRefract);