Home
last modified time | relevance | path

Searched refs:valueNdx (Results 1 – 16 of 16) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fAtomicCounterTests.cpp639 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 …]
Des31fShaderIntegerFunctionTests.cpp146 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 …]
Des31fSynchronizationTests.cpp2291 for (int valueNdx = 0; valueNdx < m_workSize; ++valueNdx) in iterate() local
2299 valueChain[callNdx] = intermediateResults[callNdx][valueNdx]; in iterate()
2311 …<< "Intermediate buffer error, at value index " << valueNdx << ", applied operation index " << inv… in iterate()
2312 << "Intermediate buffer contains invalid values. Values at index " << valueNdx << "\n" in iterate()
2316 … << "Value[" << logCallNdx << "] = " << intermediateResults[logCallNdx][valueNdx] << tcu::TestLog:… in iterate()
2527 for (int valueNdx = 0; valueNdx < m_workSize * m_numCalls; ++valueNdx) in iterate() local
2529 if ((int)intermediateResults[valueNdx] != valueNdx) in iterate()
2533 …e buffer error, at value index " << valueNdx << ", expected " << valueNdx << ", got " << intermedi… in iterate()
2795 for (int valueNdx = 0; valueNdx < m_workSize; ++valueNdx) in iterate() local
2803 valueChain[callNdx] = intermediateResults[callNdx][valueNdx]; in iterate()
[all …]
Des31fShaderCommonFunctionTests.cpp1856 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/
DglsStateChangePerfTestCases.cpp170 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()
DglsBuiltinPrecisionTests.cpp4589 for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++) in testStatement() local
4595 if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0) in testStatement()
4598 env.lookup(*variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx])); in testStatement()
4599 env.lookup(*variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx])); in testStatement()
4600 env.lookup(*variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx])); in testStatement()
4601 env.lookup(*variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx])); in testStatement()
4612 if (!m_status.check(contains(reference1, outputs.out1[valueNdx]), in testStatement()
4617 if (!m_status.check(contains(reference0, outputs.out0[valueNdx]), in testStatement()
4635 << valueToString(highpFmt, inputs.in0[valueNdx]) << "\n"; in testStatement()
4641 << valueToString(highpFmt, inputs.in1[valueNdx]) << "\n"; in testStatement()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp148 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 …]
DvktShaderCommonFunctionTests.cpp2112 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 …]
DvktShaderBuiltinPrecisionTests.cpp4464 for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++) in iterate() local
4470 env.lookup(*m_variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx])); in iterate()
4471 env.lookup(*m_variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx])); in iterate()
4472 env.lookup(*m_variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx])); in iterate()
4473 env.lookup(*m_variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx])); in iterate()
4484 if (!status.check(contains(reference1, outputs.out1[valueNdx]), in iterate()
4489 if (!status.check(contains(reference0, outputs.out0[valueNdx]), in iterate()
4507 << valueToString(highpFmt, inputs.in0[valueNdx]) << "\n"; in iterate()
4513 << valueToString(highpFmt, inputs.in1[valueNdx]) << "\n"; in iterate()
4519 << valueToString(highpFmt, inputs.in2[valueNdx]) << "\n"; in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp208 for (deUint32 valueNdx = 0; valueNdx < m_bufferSize; ++valueNdx) in iterate() local
210 referenceData[valueNdx] = static_cast<deUint8>((valueNdx % bufferMemRequirement.alignment) + 1u); in iterate()
DvktSparseResourcesBufferSparseResidency.cpp244 for (deUint32 valueNdx = 0; valueNdx < m_bufferSize; ++valueNdx) in iterate() local
246 referenceData[valueNdx] = static_cast<deUint8>((valueNdx % bufferMemRequirements.alignment) + 1u); in iterate()
DvktSparseResourcesBufferMemoryAliasing.cpp374 for (deUint32 valueNdx = 0; valueNdx < MODULO_DIVISOR; ++valueNdx) in iterate() local
376 referenceDataBlock[valueNdx] = valueNdx % MODULO_DIVISOR; in iterate()
DvktSparseResourcesImageSparseBinding.cpp255 for (deUint32 valueNdx = 0; valueNdx < imageSizeInBytes; ++valueNdx) in iterate() local
257 …referenceData[valueNdx] = static_cast<deUint8>((valueNdx % imageSparseMemRequirements.alignment) +… in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp340 for (deUint32 valueNdx = 0; valueNdx < imageSizeInBytes; ++valueNdx) in iterate() local
342 …referenceData[valueNdx] = static_cast<deUint8>((valueNdx % imageMemoryRequirements.alignment) + 1u… in iterate()
/external/deqp/framework/opengl/
DgluShaderLibrary.cpp1795 for (size_t valueNdx = 0; valueNdx < valueBlock.outputs.size(); valueNdx++) in genCompareFunctions() local
1797 const Value& val = valueBlock.outputs[valueNdx]; in genCompareFunctions()
/external/deqp/framework/common/
DtcuAstcUtil.cpp2400 for (int valueNdx = 0; valueNdx < numValues; valueNdx++) in generateRandomBlock() local
2401 iseInput.value.plain[valueNdx] = rnd.getInt(0, rangeMax); in generateRandomBlock()