Lines Matching refs:baseType
350 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
352 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType);
358 UaddCarryCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
359 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "uaddCarry", shaderType)
361 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision)));
362 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision)));
363 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision)));
364 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP)));
454 UsubBorrowCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
455 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "usubBorrow", shaderType)
457 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision)));
458 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision)));
459 m_spec.outputs.push_back(Symbol("diff", glu::VarType(baseType, precision)));
460 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP)));
548 UmulExtendedCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
549 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "umulExtended", shaderType)
551 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision)));
552 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision)));
553 m_spec.outputs.push_back(Symbol("msb", glu::VarType(baseType, precision)));
554 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(baseType, precision)));
638 ImulExtendedCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
639 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "imulExtended", shaderType)
641 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision)));
642 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision)));
643 m_spec.outputs.push_back(Symbol("msb", glu::VarType(baseType, precision)));
644 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(baseType, precision)));
729 BitfieldExtractCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
730 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "bitfieldExtract", shaderType)
732 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision)));
735 m_spec.outputs.push_back(Symbol("extracted", glu::VarType(baseType, precision)));
792 BitfieldInsertCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
793 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "bitfieldInsert", shaderType)
795 m_spec.inputs.push_back(Symbol("base", glu::VarType(baseType, precision)));
796 m_spec.inputs.push_back(Symbol("insert", glu::VarType(baseType, precision)));
799 m_spec.outputs.push_back(Symbol("result", glu::VarType(baseType, precision)));
869 BitfieldReverseCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
870 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "bitfieldReverse", shaderType)
872 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision)));
873 m_spec.outputs.push_back(Symbol("result", glu::VarType(baseType, glu::PRECISION_HIGHP)));
915 BitCountCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
916 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "bitCount", shaderType)
918 const int vecSize = glu::getDataTypeScalarSize(baseType);
921 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision)));
975 FindLSBCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
976 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "findLSB", shaderType)
978 const int vecSize = glu::getDataTypeScalarSize(baseType);
981 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision)));
1053 FindMSBCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
1054 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "findMSB", shaderType)
1056 const int vecSize = glu::getDataTypeScalarSize(baseType);
1059 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision)));