Lines Matching defs:OPERATOR
155 // Reference functions for specific sequence operations for the sequence operator tests.
251 OPERATOR,
252 SIDE_EFFECT_OPERATOR // Test the side-effect (as opposed to the result) of a side-effect operator.
290 bool isUnaryPrefix; //!< Whether a unary operator is a prefix operator; redundant unless unary.
295 return BuiltinFuncInfo(caseName_, shaderFuncName_, outValue_, input0_, input1_, input2_, resultScale_, resultBias_, precisionMask_, evalFuncScalar_, evalFuncVec2_, evalFuncVec3_, evalFuncVec4_, OPERATOR);
301 return BuiltinFuncInfo(caseName_, shaderFuncName_, outValue_, input0_, input1_, input2_, resultScale_, resultBias_, precisionMask_, evalFuncScalar_, evalFuncVec2_, evalFuncVec3_, evalFuncVec4_, OPERATOR, false);
320 BuiltinFuncGroup& operator<< (const BuiltinFuncInfo& info) { funcInfos.push_back(info); return *this; }
416 ShaderOperatorCase& operator= (const ShaderOperatorCase&); // not allowed!
605 : TestCaseGroup(context, "operator", "Operator tests.")
936 // TestCaseGroup* group = new TestCaseGroup(m_testCtx, "additive", "Additive operator tests.");
960 BuiltinFuncGroup("unary_operator", "Unary operator tests")
990 BuiltinFuncGroup("binary_operator", "Binary operator tests")
1302 if (funcInfo.type == OPERATOR)
1338 if (funcInfo.type == OPERATOR || funcInfo.type == FUNCTION)
1342 if (funcInfo.type == OPERATOR && !isUnaryOp)
1350 if (funcInfo.type == OPERATOR && isUnaryOp && !funcInfo.isUnaryPrefix)
1387 // The ?: selection operator.
1409 TestCaseGroup* selectionGroup = new TestCaseGroup(m_context, "selection", "Selection operator tests");
1459 // The sequence operator (comma).
1461 TestCaseGroup* sequenceGroup = new TestCaseGroup(m_context, "sequence", "Sequence operator tests");
1527 // Regression tests for sequence operator.
1528 // http://khronos.org/registry/webgl/sdk/tests/conformance/glsl/bugs/sequence-operator-evaluation-order.html
1550 // ESSL 1.00 section 5.9, about sequence operator:
1552 // Also use a ternary operator where the third operand has side effects to make sure
1555 "Expression where first operand of a sequence operator has side effects which affect the second operand that is a ternary operator", (
1571 "Expression where first operand of a sequence operator has side effects which affect the second operand that is an and operator", (
1591 "Expression where first operand of a sequence operator has side effects which affect the second operand that is an or operator", (