Lines Matching defs:OPERATOR
177 // \note This one is done separately due to how the overloaded minus operator is implemented for vector-scalar operands.
198 // Reference functions for specific sequence operations for the sequence operator tests.
432 OPERATOR,
433 SIDE_EFFECT_OPERATOR // Test the side-effect (as opposed to the result) of a side-effect operator.
506 bool isUnaryPrefix; //!< Whether a unary operator is a prefix operator; redundant unless unary.
511 return BuiltinFuncInfo(caseName_, shaderFuncName_, outValue_, input0_, input1_, input2_, resultScale_, resultBias_, resultScale_, resultBias_, precisionMask_, evalFuncScalar_, evalFuncVec2_, evalFuncVec3_, evalFuncVec4_, OPERATOR);
516 return BuiltinFuncInfo(caseName_, shaderFuncName_, outValue_, input0_, input1_, input2_, resultScale_, resultBias_, referenceScale_, referenceBias_, precisionMask_, evalFuncScalar_, evalFuncVec2_, evalFuncVec3_, evalFuncVec4_, OPERATOR);
522 return BuiltinFuncInfo(caseName_, shaderFuncName_, outValue_, input0_, input1_, input2_, resultScale_, resultBias_, resultScale_, resultBias_, precisionMask_, evalFuncScalar_, evalFuncVec2_, evalFuncVec3_, evalFuncVec4_, OPERATOR, false);
541 BuiltinFuncGroup& operator<< (const BuiltinFuncInfo& info) { funcInfos.push_back(info); return *this; }
676 ShaderOperatorCase& operator= (const ShaderOperatorCase&); // not allowed!
886 : TestCaseGroup(context, "operator", "Operator tests.")
1376 BuiltinFuncGroup("unary_operator", "Unary operator tests")
1418 BuiltinFuncGroup binaryOpGroup("binary_operator", "Binary operator tests");
1458 // The following cases will be added for each operator, precision and fundamental type (float, int, uint) combination, where applicable:
1464 // The add operator.
1486 // The subtract operator.
1508 // The multiply operator.
1530 // The divide operator.
1552 // The modulus operator.
1571 // The bitwise and operator.
1590 // The bitwise or operator.
1609 // The bitwise xor operator.
1628 // The left shift operator. Second operand (shift amount) can be either int or uint, even for uint and int first operand, respectively.
1645 // The right shift operator. Second operand (shift amount) can be either int or uint, even for uint and int first operand, respectively.
1942 if (funcInfo.type == OPERATOR)
1986 if (funcInfo.type == OPERATOR || funcInfo.type == FUNCTION)
1990 if (funcInfo.type == OPERATOR && !isUnaryOp)
1998 if (funcInfo.type == OPERATOR && isUnaryOp && !funcInfo.isUnaryPrefix)
2035 // The ?: selection operator.
2061 TestCaseGroup* selectionGroup = new TestCaseGroup(m_context, "selection", "Selection operator tests");
2114 // The sequence operator (comma).
2116 TestCaseGroup* sequenceGroup = new TestCaseGroup(m_context, "sequence", "Sequence operator tests");