Lines Matching refs:functionCall
6701 void TParseContext::checkTextureGather(TIntermAggregate *functionCall) in checkTextureGather() argument
6703 const TOperator op = functionCall->getOp(); in checkTextureGather()
6704 const TFunction *func = functionCall->getFunction(); in checkTextureGather()
6710 TIntermSequence *arguments = functionCall->getSequence(); in checkTextureGather()
6755 error(functionCall->getLine(), "Texture component must be a constant expression", in checkTextureGather()
6763 error(functionCall->getLine(), "Component must be in the range [0;3]", in checkTextureGather()
6771 void TParseContext::checkTextureOffset(TIntermAggregate *functionCall) in checkTextureOffset() argument
6773 const TOperator op = functionCall->getOp(); in checkTextureOffset()
6774 const TFunction *func = functionCall->getFunction(); in checkTextureOffset()
6776 TIntermSequence *arguments = functionCall->getSequence(); in checkTextureOffset()
6819 error(functionCall->getLine(), "Texture offsets must be a constant expression", in checkTextureOffset()
6829 error(functionCall->getLine(), "Texture offsets must be an array of 4 elements", in checkTextureOffset()
6858 error(functionCall->getLine(), "Texture offset must be a constant expression", in checkTextureOffset()
6896 void TParseContext::checkInterpolationFS(TIntermAggregate *functionCall) in checkInterpolationFS() argument
6898 const TFunction *func = functionCall->getFunction(); in checkInterpolationFS()
6899 if (!BuiltInGroup::IsInterpolationFS(functionCall->getOp())) in checkInterpolationFS()
6906 if (functionCall->getAsAggregate()) in checkInterpolationFS()
6908 const TIntermSequence *argp = functionCall->getSequence(); in checkInterpolationFS()
6914 assert(functionCall->getAsUnaryNode()); in checkInterpolationFS()
6915 arg0 = functionCall->getAsUnaryNode()->getOperand(); in checkInterpolationFS()
6931 void TParseContext::checkAtomicMemoryBuiltinFunctions(TIntermAggregate *functionCall) in checkAtomicMemoryBuiltinFunctions() argument
6933 const TFunction *func = functionCall->getFunction(); in checkAtomicMemoryBuiltinFunctions()
6934 if (BuiltInGroup::IsAtomicMemory(functionCall->getOp())) in checkAtomicMemoryBuiltinFunctions()
6936 TIntermSequence *arguments = functionCall->getSequence(); in checkAtomicMemoryBuiltinFunctions()
6965 void TParseContext::checkImageMemoryAccessForBuiltinFunctions(TIntermAggregate *functionCall) in checkImageMemoryAccessForBuiltinFunctions() argument
6967 const TOperator op = functionCall->getOp(); in checkImageMemoryAccessForBuiltinFunctions()
6971 TIntermSequence *arguments = functionCall->getSequence(); in checkImageMemoryAccessForBuiltinFunctions()
7015 const TIntermAggregate *functionCall) in checkImageMemoryAccessForUserDefinedFunctions() argument
7017 ASSERT(functionCall->getOp() == EOpCallFunctionInAST); in checkImageMemoryAccessForUserDefinedFunctions()
7019 const TIntermSequence &arguments = *functionCall->getSequence(); in checkImageMemoryAccessForUserDefinedFunctions()
7039 error(functionCall->getLine(), in checkImageMemoryAccessForUserDefinedFunctions()
7047 error(functionCall->getLine(), in checkImageMemoryAccessForUserDefinedFunctions()
7055 error(functionCall->getLine(), in checkImageMemoryAccessForUserDefinedFunctions()
7063 error(functionCall->getLine(), in checkImageMemoryAccessForUserDefinedFunctions()