/external/deqp/modules/gles31/functional/ |
D | es31fAtomicCounterTests.cpp | 639 for (int valueNdx = 0; valueNdx < (int)counterValues.size(); valueNdx++) in getCountersValues() local 640 counterValues[valueNdx] = values[valueNdx * counterCount + ndx]; in getCountersValues() 650 for (int valueNdx = 0; valueNdx < (int)values.size(); valueNdx++) in checkRange() local 652 if (values[valueNdx] != (deUint32)-1) in checkRange() 654 if (!deInRange32(values[valueNdx], min[valueNdx], max[valueNdx])) in checkRange() 657 …< TestLog::Message << "Value " << values[valueNdx] << " not in range [" << min[valueNdx] << ", " <… in checkRange() 678 for (int valueNdx = 0; valueNdx < (int)values.size(); valueNdx++) in checkUniquenessAndLinearity() local 680 if (values[valueNdx] != (deUint32)-1) in checkUniquenessAndLinearity() 682 minValue = std::min(minValue, values[valueNdx]); in checkUniquenessAndLinearity() 683 maxValue = std::max(maxValue, values[valueNdx]); in checkUniquenessAndLinearity() [all …]
|
D | es31fShaderIntegerFunctionTests.cpp | 146 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx) in generateRandomInputData() local 148 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; in generateRandomInputData() 152 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx) in generateRandomInputData() local 154 … dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); in generateRandomInputData() 566 int valueNdx = 0; in getInputValues() local 586 in0[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x; in getInputValues() 587 in1[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y; in getInputValues() 590 valueNdx += 1; in getInputValues() 593 while (valueNdx < numValues) in getInputValues() 601 in0[valueNdx*scalarSize + compNdx] = base0 >> adj0; in getInputValues() [all …]
|
D | es31fSynchronizationTests.cpp | 2309 for (int valueNdx = 0; valueNdx < m_workSize; ++valueNdx) in iterate() local 2317 valueChain[callNdx] = intermediateResults[callNdx][valueNdx]; in iterate() 2329 …<< "Intermediate buffer error, at value index " << valueNdx << ", applied operation index " << inv… in iterate() 2330 << "Intermediate buffer contains invalid values. Values at index " << valueNdx << "\n" in iterate() 2334 … << "Value[" << logCallNdx << "] = " << intermediateResults[logCallNdx][valueNdx] << tcu::TestLog:… in iterate() 2545 for (int valueNdx = 0; valueNdx < m_workSize * m_numCalls; ++valueNdx) in iterate() local 2547 if ((int)intermediateResults[valueNdx] != valueNdx) in iterate() 2551 …e buffer error, at value index " << valueNdx << ", expected " << valueNdx << ", got " << intermedi… in iterate() 2814 for (int valueNdx = 0; valueNdx < m_workSize; ++valueNdx) in iterate() local 2822 valueChain[callNdx] = intermediateResults[callNdx][valueNdx]; in iterate() [all …]
|
D | es31fShaderCommonFunctionTests.cpp | 1856 int valueNdx = 0; in getInputValues() local 1861 DE_ASSERT(valueNdx + DE_LENGTH_OF_ARRAY(easySpecialCases) <= numValues); in getInputValues() 1871 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues() 1872 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues() 1875 valueNdx += 1; in getInputValues() 1881 const int numEasyRandomCases = precision == glu::PRECISION_HIGHP ? 50 : (numValues-valueNdx); in getInputValues() 1883 DE_ASSERT(valueNdx + numEasyRandomCases <= numValues); in getInputValues() 1894 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues() 1895 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues() 1898 valueNdx += 1; in getInputValues() [all …]
|
/external/deqp/modules/glshared/ |
D | glsStateChangePerfTestCases.cpp | 170 for (int valueNdx = 0; valueNdx < (int)values.size(); valueNdx++) in calculateVariance() local 172 double value = (double)values[valueNdx]; in calculateVariance() 183 for (int valueNdx = 0; valueNdx < (int)values.size(); valueNdx++) in findMin() local 184 min = std::min(values[valueNdx], min); in findMin() 193 for (int valueNdx = 0; valueNdx < (int)values.size(); valueNdx++) in findMax() local 194 max = std::max(values[valueNdx], max); in findMax() 681 for (int valueNdx = 0; valueNdx < (int)values.size(); valueNdx++) in calculateAverage() local 682 sum += values[valueNdx]; in calculateAverage()
|
D | glsBuiltinPrecisionTests.cpp | 4757 for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++) in testStatement() local 4766 if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0) in testStatement() 4769 env.lookup(*variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx])); in testStatement() 4770 env.lookup(*variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx])); in testStatement() 4771 env.lookup(*variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx])); in testStatement() 4772 env.lookup(*variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx])); in testStatement() 4783 inExpectedRange = contains(reference1, outputs.out1[valueNdx]); in testStatement() 4784 inWarningRange = containsWarning(reference1, outputs.out1[valueNdx]); in testStatement() 4801 inExpectedRange = contains(reference0, outputs.out0[valueNdx]); in testStatement() 4802 inWarningRange = containsWarning(reference0, outputs.out0[valueNdx]); in testStatement() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 148 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx) in generateRandomInputData() local 150 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; in generateRandomInputData() 154 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx) in generateRandomInputData() local 156 … dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); in generateRandomInputData() 685 int valueNdx = 0; in getInputValues() local 705 in0[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x; in getInputValues() 706 in1[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y; in getInputValues() 709 valueNdx += 1; in getInputValues() 712 while (valueNdx < numValues) in getInputValues() 720 in0[valueNdx*scalarSize + compNdx] = base0 >> adj0; in getInputValues() [all …]
|
D | vktShaderCommonFunctionTests.cpp | 2112 int valueNdx = 0; in getInputValues() local 2117 DE_ASSERT(valueNdx + DE_LENGTH_OF_ARRAY(easySpecialCases) <= numValues); in getInputValues() 2127 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues() 2128 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues() 2131 valueNdx += 1; in getInputValues() 2137 const int numEasyRandomCases = precision == glu::PRECISION_HIGHP ? 50 : (numValues-valueNdx); in getInputValues() 2139 DE_ASSERT(valueNdx + numEasyRandomCases <= numValues); in getInputValues() 2150 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues() 2151 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues() 2154 valueNdx += 1; in getInputValues() [all …]
|
D | vktShaderBuiltinPrecisionTests.cpp | 5972 for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++) in iterate() local 5979 if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0) in iterate() 5982 env.lookup(*m_variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx])); in iterate() 5983 env.lookup(*m_variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx])); in iterate() 5984 env.lookup(*m_variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx])); in iterate() 5985 env.lookup(*m_variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx])); in iterate() 5995 …if (!status.check(contains(reference1, outputs.out1[valueNdx], m_caseCtx.isPackFloat16b), "Shader … in iterate() 6000 …if (!status.check(contains(reference0, outputs.out0[valueNdx], m_caseCtx.isPackFloat16b), "Shader … in iterate() 6004 …if (!status.check(contains(reference0, outputs.out0[valueNdx], m_caseCtx.isPackFloat16b), "Shader … in iterate() 6024 …ut16Bit ? value16ToString(highpFmt, inputs.in0[valueNdx]) : value32ToString(highpFmt, inputs.in0[v… in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 778 for (deUint32 valueNdx = 0; valueNdx < m_outBufferSize / outValueSize; valueNdx++) in verifyResult() local 785 const deUint32 attributeIndex = (valueNdx / numChannels) % 3; in verifyResult() 786 const deUint32* outValuePtr = (deUint32*)outDataPtr + valueNdx; in verifyResult() 791 const deUint32 elementIndex = valueNdx / (numScalarsPerVertex * m_numVertices); // instance id in verifyResult() 796 …inBufferValueIndex = (elementIndex * numChannels) + (valueNdx % numScalarsPerVertex) - (2 * numCha… in verifyResult() 801 const deUint32 vertexNdx = valueNdx / numScalarsPerVertex; in verifyResult() 803 const deUint32 elementIndex = valueNdx / numScalarsPerVertex; // vertex id in verifyResult() 808 …inBufferValueIndex = (getIndex(elementIndex) * (numChannels * 2)) + (valueNdx % numScalarsPerVerte… in verifyResult() 825 if (valueNdx && valueNdx % numScalarsPerVertex == 0) in verifyResult() 828 logMsg << "\n" << valueNdx << ": Value "; in verifyResult() [all …]
|
D | vktRobustnessBufferAccessTests.cpp | 1120 deUint32 valueNdx = 0; in verifyResult() local 1135 …logMsg << "\nValue " << valueNdx++ << " has been modified with an unknown value: " << *((deUint32 … in verifyResult() 1144 logMsg << "\n" << valueNdx++ << ": "; in verifyResult()
|
D | vktRobustBufferAccessWithVariablePointersTests.cpp | 1553 deUint32 valueNdx = 0; in verifyResult() local 1568 …logMsg << "\nValue " << valueNdx++ << " has been modified with an unknown value: " << *(static_cas… in verifyResult() 1577 logMsg << "\n" << valueNdx++ << ": "; in verifyResult()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesBufferSparseBinding.cpp | 260 for (deUint32 valueNdx = 0; valueNdx < m_bufferSize; ++valueNdx) in iterate() local 262 referenceData[valueNdx] = static_cast<deUint8>((valueNdx % bufferMemRequirement.alignment) + 1u); in iterate()
|
D | vktSparseResourcesBufferSparseResidency.cpp | 280 for (deUint32 valueNdx = 0; valueNdx < m_bufferSize; ++valueNdx) in iterate() local 282 … referenceData[valueNdx] = static_cast<deUint8>((valueNdx % bufferMemRequirements.alignment) + 1u); in iterate()
|
D | vktSparseResourcesBufferMemoryAliasing.cpp | 413 for (deUint32 valueNdx = 0; valueNdx < MODULO_DIVISOR; ++valueNdx) in iterate() local 415 referenceDataBlock[valueNdx] = valueNdx % MODULO_DIVISOR; in iterate()
|
D | vktSparseResourcesImageSparseBinding.cpp | 295 for (deUint32 valueNdx = 0; valueNdx < imageSizeInBytes; ++valueNdx) in iterate() local 297 …referenceData[valueNdx] = static_cast<deUint8>((valueNdx % imageSparseMemRequirements.alignment) +… in iterate()
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 403 for (deUint32 valueNdx = 0; valueNdx < imageSizeInBytes; ++valueNdx) in iterate() local 405 …referenceData[valueNdx] = static_cast<deUint8>((valueNdx % imageMemoryRequirements.alignment) + 1u… in iterate()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderLibrary.cpp | 898 for (int valueNdx = 0; valueNdx < (int)valueBlock.values.size(); valueNdx++) in parseValueBlock() local 900 const ShaderCase::Value& val = valueBlock.values[valueNdx]; in parseValueBlock()
|
D | glcShaderLibraryCase.cpp | 582 for (int valueNdx = 0; valueNdx < (int)valueBlock.values.size(); valueNdx++) in genCompareFunctions() local 584 const ShaderCase::Value& val = valueBlock.values[valueNdx]; in genCompareFunctions()
|
/external/deqp/framework/opengl/ |
D | gluShaderLibrary.cpp | 1772 for (size_t valueNdx = 0; valueNdx < valueBlock.outputs.size(); valueNdx++) in genCompareFunctions() local 1774 const Value& val = valueBlock.outputs[valueNdx]; in genCompareFunctions()
|
/external/deqp/framework/common/ |
D | tcuAstcUtil.cpp | 2412 for (int valueNdx = 0; valueNdx < numValues; valueNdx++) in generateRandomBlock() local 2413 iseInput.value.plain[valueNdx] = rnd.getInt(0, rangeMax); in generateRandomBlock()
|