Home | History | Annotate | Download | only in functional

Lines Matching refs:baseType

492 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
494 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType);
500 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
501 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "abs", shaderType)
503 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
504 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
582 SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
583 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType)
585 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
586 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
688 RoundEvenCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
689 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "roundEven", shaderType)
691 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
692 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
799 ModfCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
800 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "modf", shaderType)
802 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
803 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
804 m_spec.outputs.push_back(Symbol("out1", glu::VarType(baseType, precision)));
865 IsnanCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
866 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "isnan", shaderType)
868 DE_ASSERT(glu::isDataTypeFloatOrVec(baseType));
870 const int vecSize = glu::getDataTypeScalarSize(baseType);
873 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
948 IsinfCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
949 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "isinf", shaderType)
951 DE_ASSERT(glu::isDataTypeFloatOrVec(baseType));
953 const int vecSize = glu::getDataTypeScalarSize(baseType);
956 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1032 FloatBitsToUintIntCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned)
1033 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), outIsSigned ? "floatBitsToInt" : "floatBitsToUint", shaderType)
1035 const int vecSize = glu::getDataTypeScalarSize(baseType);
1039 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1092 FloatBitsToIntCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1093 : FloatBitsToUintIntCase(context, baseType, precision, shaderType, true)
1101 FloatBitsToUintCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1102 : FloatBitsToUintIntCase(context, baseType, precision, shaderType, false)
1110 BitsToFloatCase (Context& context, glu::DataType baseType, glu::ShaderType shaderType)
1111 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, glu::PRECISION_HIGHP, shaderType).c_str(), glu::isDataTypeIntOrIVec(baseType) ? "intBitsToFloat" : "uintBitsToFloat", shaderType)
1113 const bool inIsSigned = glu::isDataTypeIntOrIVec(baseType);
1114 const int vecSize = glu::getDataTypeScalarSize(baseType);
1117 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, glu::PRECISION_HIGHP)));
1160 FloorCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1161 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "floor", shaderType)
1163 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1164 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1256 TruncCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1257 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "trunc", shaderType)
1259 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1260 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1364 RoundCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1365 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "round", shaderType)
1367 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1368 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1492 CeilCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1493 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "ceil", shaderType)
1495 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1496 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1597 FractCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1598 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "fract", shaderType)
1600 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1601 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1740 FrexpCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1741 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "frexp", shaderType)
1743 const int vecSize = glu::getDataTypeScalarSize(baseType);
1746 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1747 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, glu::PRECISION_HIGHP)));
1831 LdexpCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1832 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "ldexp", shaderType)
1834 const int vecSize = glu::getDataTypeScalarSize(baseType);
1837 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1839 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, glu::PRECISION_HIGHP)));
1967 FmaCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1968 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "fma", shaderType)
1970 m_spec.inputs.push_back(Symbol("a", glu::VarType(baseType, precision)));
1971 m_spec.inputs.push_back(Symbol("b", glu::VarType(baseType, precision)));
1972 m_spec.inputs.push_back(Symbol("c", glu::VarType(baseType, precision)));
1973 m_spec.outputs.push_back(Symbol("res", glu::VarType(baseType, precision)));