Lines Matching defs:baseType

414 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
416 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType);
422 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
423 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "abs", shaderType)
425 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
426 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
504 SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
505 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType)
507 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
508 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
610 RoundEvenCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
611 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "roundEven", shaderType)
613 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
614 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
721 ModfCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
722 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "modf", shaderType)
724 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
725 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
726 m_spec.outputs.push_back(Symbol("out1", glu::VarType(baseType, precision)));
787 IsnanCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
788 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "isnan", shaderType)
790 DE_ASSERT(glu::isDataTypeFloatOrVec(baseType));
792 const int vecSize = glu::getDataTypeScalarSize(baseType);
795 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
868 IsinfCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
869 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "isinf", shaderType)
871 DE_ASSERT(glu::isDataTypeFloatOrVec(baseType));
873 const int vecSize = glu::getDataTypeScalarSize(baseType);
876 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
949 FloatBitsToUintIntCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned)
950 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), outIsSigned ? "floatBitsToInt" : "floatBitsToUint", shaderType)
952 const int vecSize = glu::getDataTypeScalarSize(baseType);
956 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1009 FloatBitsToIntCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1010 : FloatBitsToUintIntCase(context, baseType, precision, shaderType, true)
1018 FloatBitsToUintCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1019 : FloatBitsToUintIntCase(context, baseType, precision, shaderType, false)
1027 BitsToFloatCase (Context& context, glu::DataType baseType, glu::ShaderType shaderType)
1028 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, glu::PRECISION_HIGHP, shaderType).c_str(), glu::isDataTypeIntOrIVec(baseType) ? "intBitsToFloat" : "uintBitsToFloat", shaderType)
1030 const bool inIsSigned = glu::isDataTypeIntOrIVec(baseType);
1031 const int vecSize = glu::getDataTypeScalarSize(baseType);
1034 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, glu::PRECISION_HIGHP)));
1077 FloorCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1078 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "floor", shaderType)
1080 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1081 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1173 TruncCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1174 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "trunc", shaderType)
1176 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1177 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1281 RoundCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1282 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "round", shaderType)
1284 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1285 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1409 CeilCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1410 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "ceil", shaderType)
1412 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1413 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1514 FractCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1515 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "fract", shaderType)
1517 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1518 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));