зеркало из https://github.com/stride3d/xkslang.git
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
This commit is contained in:
Родитель
5f96bbf9fd
Коммит
1b12b9c575
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче