Lines Matching refs:precision

111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision)  in getShaderUintBitCount()  argument
117 return bitCounts[precision]; in getShaderUintBitCount()
137 …rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, … in generateRandomInputData() argument
140 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); in generateRandomInputData()
322 static const char* getPrecisionPostfix (glu::Precision precision) in getPrecisionPostfix() argument
331 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix))); in getPrecisionPostfix()
332 return s_postfix[precision]; in getPrecisionPostfix()
350 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::S… in getIntegerFuncCaseName() argument
352 …return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePost… in getIntegerFuncCaseName()
358 …UaddCarryCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType… in UaddCarryCase() argument
359 …: IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "u… in UaddCarryCase()
361 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UaddCarryCase()
362 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UaddCarryCase()
363 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); in UaddCarryCase()
372 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues() local
374 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in getInputValues()
419 …generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
420 …generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
426 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare() local
428 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in compare()
454 …UsubBorrowCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderTyp… in UsubBorrowCase() argument
455 …: IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "u… in UsubBorrowCase()
457 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UsubBorrowCase()
458 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UsubBorrowCase()
459 m_spec.outputs.push_back(Symbol("diff", glu::VarType(baseType, precision))); in UsubBorrowCase()
468 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues() local
470 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in getInputValues()
513 …generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
514 …generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
520 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare() local
522 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in compare()
548 …UmulExtendedCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderT… in UmulExtendedCase() argument
549 …: IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "u… in UmulExtendedCase()
551 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UmulExtendedCase()
552 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UmulExtendedCase()
553 m_spec.outputs.push_back(Symbol("msb", glu::VarType(baseType, precision))); in UmulExtendedCase()
554 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(baseType, precision))); in UmulExtendedCase()
638 …ImulExtendedCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderT… in ImulExtendedCase() argument
639 …: IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "i… in ImulExtendedCase()
641 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in ImulExtendedCase()
642 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in ImulExtendedCase()
643 m_spec.outputs.push_back(Symbol("msb", glu::VarType(baseType, precision))); in ImulExtendedCase()
644 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(baseType, precision))); in ImulExtendedCase()
729 …BitfieldExtractCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::Shad… in BitfieldExtractCase() argument
730 …: IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "b… in BitfieldExtractCase()
732 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision))); in BitfieldExtractCase()
733 m_spec.inputs.push_back(Symbol("offset", glu::VarType(glu::TYPE_INT, precision))); in BitfieldExtractCase()
734 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision))); in BitfieldExtractCase()
735 m_spec.outputs.push_back(Symbol("extracted", glu::VarType(baseType, precision))); in BitfieldExtractCase()
743 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues() local
744 const bool ignoreSign = precision != glu::PRECISION_HIGHP && glu::isDataTypeIntOrIVec(type); in getInputValues()
745 const int numBits = getShaderUintBitCount(m_shaderType, precision) - (ignoreSign ? 1 : 0); in getInputValues()
759 generateRandomInputData(rnd, m_shaderType, type, precision, inValue, numValues); in getInputValues()
792 …BitfieldInsertCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::Shade… in BitfieldInsertCase() argument
793 …: IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "b… in BitfieldInsertCase()
795 m_spec.inputs.push_back(Symbol("base", glu::VarType(baseType, precision))); in BitfieldInsertCase()
796 m_spec.inputs.push_back(Symbol("insert", glu::VarType(baseType, precision))); in BitfieldInsertCase()
797 m_spec.inputs.push_back(Symbol("offset", glu::VarType(glu::TYPE_INT, precision))); in BitfieldInsertCase()
798 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision))); in BitfieldInsertCase()
799 m_spec.outputs.push_back(Symbol("result", glu::VarType(baseType, precision))); in BitfieldInsertCase()
807 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues() local
808 const int numBits = getShaderUintBitCount(m_shaderType, precision); in getInputValues()
823 generateRandomInputData(rnd, m_shaderType, type, precision, inBase, numValues); in getInputValues()
824 generateRandomInputData(rnd, m_shaderType, type, precision, inInsert, numValues); in getInputValues()
830 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare() local
832 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in compare()
869 …BitfieldReverseCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::Shad… in BitfieldReverseCase() argument
870 …: IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "b… in BitfieldReverseCase()
872 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision))); in BitfieldReverseCase()
881 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues() local
884 generateRandomInputData(rnd, m_shaderType, type, precision, inValue, numValues); in getInputValues()
890 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare() local
891 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in compare()
915 …BitCountCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType … in BitCountCase() argument
916 …: IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "b… in BitCountCase()
921 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision))); in BitCountCase()
930 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues() local
933 generateRandomInputData(rnd, m_shaderType, type, precision, inValue, numValues); in getInputValues()
939 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare() local
940 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in compare()
975 …FindLSBCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType s… in FindLSBCase() argument
976 …: IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "f… in FindLSBCase()
981 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision))); in FindLSBCase()
990 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues() local
993 generateRandomInputData(rnd, m_shaderType, type, precision, inValue, numValues); in getInputValues()
999 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare() local
1001 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in compare()
1053 …FindMSBCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType s… in FindMSBCase() argument
1054 …: IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "f… in FindMSBCase()
1059 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision))); in FindMSBCase()
1068 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues() local
1071 generateRandomInputData(rnd, m_shaderType, type, precision, inValue, numValues); in getInputValues()
1077 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare() local
1080 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in compare()