Lines Matching defs:funcInfo
1874 const BuiltinFuncInfo& funcInfo = outerGroupInfo.funcInfos[funcInfoNdx];
1875 const char* shaderFuncName = funcInfo.shaderFuncName;
1876 bool isBoolCase = (funcInfo.precisionMask == PRECMASK_NA);
1877 bool isBoolOut = (funcInfo.outValue & (VALUE_BOOL | VALUE_BOOL_VEC | VALUE_BOOL_GENTYPE)) != 0;
1878 bool isIntOut = (funcInfo.outValue & (VALUE_INT | VALUE_INT_VEC | VALUE_INT_GENTYPE)) != 0;
1879 bool isUintOut = (funcInfo.outValue & (VALUE_UINT | VALUE_UINT_VEC | VALUE_UINT_GENTYPE)) != 0;
1882 if (!innerGroup || (string(innerGroup->getName()) != funcInfo.caseName))
1885 innerGroup = new TestCaseGroup(m_context, funcInfo.caseName, groupDesc.c_str());
1891 int outScalarSize = ((funcInfo.outValue == VALUE_FLOAT) || (funcInfo.outValue == VALUE_BOOL)) ? 1 : inScalarSize; // \todo [petri] Int.
1899 if (inScalarSize == 1) evalFunc = funcInfo.evalFuncScalar;
1900 else if (inScalarSize == 2) evalFunc = funcInfo.evalFuncVec2;
1901 else if (inScalarSize == 3) evalFunc = funcInfo.evalFuncVec3;
1902 else if (inScalarSize == 4) evalFunc = funcInfo.evalFuncVec4;
1912 if ((funcInfo.precisionMask & (1<<precision)) ||
1913 (funcInfo.precisionMask == PRECMASK_NA && precision == PRECISION_MEDIUMP)) // use mediump interpolators for booleans
1924 bool isUnaryOp = (funcInfo.input1.valueType == VALUE_NONE);
1937 shaderSpec.resultScale = funcInfo.resultScale;
1938 shaderSpec.resultBias = funcInfo.resultBias;
1939 shaderSpec.referenceScale = funcInfo.referenceScale;
1940 shaderSpec.referenceBias = funcInfo.referenceBias;
1942 if (funcInfo.type == OPERATOR)
1944 if (isUnaryOp && funcInfo.isUnaryPrefix)
1947 else if (funcInfo.type == FUNCTION)
1954 const Value& prevV = (inputNdx == 1) ? funcInfo.input0 : (inputNdx == 2) ? funcInfo.input1 : funcInfo.input2;
1955 const Value& v = (inputNdx == 0) ? funcInfo.input0 : (inputNdx == 1) ? funcInfo.input1 : funcInfo.input2;
1986 if (funcInfo.type == OPERATOR || funcInfo.type == FUNCTION)
1990 if (funcInfo.type == OPERATOR && !isUnaryOp)
1998 if (funcInfo.type == OPERATOR && isUnaryOp && !funcInfo.isUnaryPrefix)
2003 DE_ASSERT(funcInfo.type == SIDE_EFFECT_OPERATOR);
2005 if (inputNdx != 0 || (isUnaryOp && funcInfo.isUnaryPrefix))
2010 if (isUnaryOp && !funcInfo.isUnaryPrefix)
2018 if (funcInfo.type == FUNCTION)