Lines Matching defs:funcInfo
1236 const BuiltinFuncInfo& funcInfo = outerGroupInfo.funcInfos[funcInfoNdx];
1237 const char* shaderFuncName = funcInfo.shaderFuncName;
1238 bool isBoolCase = (funcInfo.precisionMask == PRECMASK_NA);
1239 bool isIntCase = (funcInfo.input0.valueType & (VALUE_INT | VALUE_INT_VEC | VALUE_INT_GENTYPE)) != 0;
1241 bool isBoolOut = (funcInfo.outValue & (VALUE_BOOL | VALUE_BOOL_VEC | VALUE_BOOL_GENTYPE)) != 0;
1242 bool isIntOut = (funcInfo.outValue & (VALUE_INT | VALUE_INT_VEC | VALUE_INT_GENTYPE)) != 0;
1245 if (!innerGroup || (string(innerGroup->getName()) != funcInfo.caseName))
1248 innerGroup = new TestCaseGroup(m_context, funcInfo.caseName, groupDesc.c_str());
1254 int outScalarSize = ((funcInfo.outValue == VALUE_FLOAT) || (funcInfo.outValue == VALUE_BOOL)) ? 1 : inScalarSize; // \todo [petri] Int.
1261 if (inScalarSize == 1) evalFunc = funcInfo.evalFuncScalar;
1262 else if (inScalarSize == 2) evalFunc = funcInfo.evalFuncVec2;
1263 else if (inScalarSize == 3) evalFunc = funcInfo.evalFuncVec3;
1264 else if (inScalarSize == 4) evalFunc = funcInfo.evalFuncVec4;
1274 if ((funcInfo.precisionMask & (1<<precision)) ||
1275 (funcInfo.precisionMask == PRECMASK_NA && precision == PRECISION_MEDIUMP)) // use mediump interpolators for booleans
1286 bool isUnaryOp = (funcInfo.input1.valueType == VALUE_NONE);
1299 shaderSpec.resultScale = funcInfo.resultScale;
1300 shaderSpec.resultBias = funcInfo.resultBias;
1302 if (funcInfo.type == OPERATOR)
1304 if (isUnaryOp && funcInfo.isUnaryPrefix)
1307 else if (funcInfo.type == FUNCTION)
1314 const Value& v = (inputNdx == 0) ? funcInfo.input0 : (inputNdx == 1) ? funcInfo.input1 : funcInfo.input2;
1315 const Value& prevV = (inputNdx == 1) ? funcInfo.input0 : (inputNdx == 2) ? funcInfo.input1 : funcInfo.input2;
1338 if (funcInfo.type == OPERATOR || funcInfo.type == FUNCTION)
1342 if (funcInfo.type == OPERATOR && !isUnaryOp)
1350 if (funcInfo.type == OPERATOR && isUnaryOp && !funcInfo.isUnaryPrefix)
1355 DE_ASSERT(funcInfo.type == SIDE_EFFECT_OPERATOR);
1357 if (inputNdx != 0 || (isUnaryOp && funcInfo.isUnaryPrefix))
1362 if (isUnaryOp && !funcInfo.isUnaryPrefix)
1370 if (funcInfo.type == FUNCTION)