Home
last modified time | relevance | path

Searched refs:valueNdx (Results 1 – 22 of 22) 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()
538 int valueNdx = 0; in getInputValues() local
558 in0[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x; in getInputValues()
559 in1[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y; in getInputValues()
562 valueNdx += 1; in getInputValues()
565 while (valueNdx < numValues) in getInputValues()
573 in0[valueNdx*scalarSize + compNdx] = base0 >> adj0; in getInputValues()
[all …]
Des31fSynchronizationTests.cpp2314 for (int valueNdx = 0; valueNdx < m_workSize; ++valueNdx) in iterate() local
2322 valueChain[callNdx] = intermediateResults[callNdx][valueNdx]; in iterate()
2334 …<< "Intermediate buffer error, at value index " << valueNdx << ", applied operation index " << inv… in iterate()
2335 << "Intermediate buffer contains invalid values. Values at index " << valueNdx << "\n" in iterate()
2339 … << "Value[" << logCallNdx << "] = " << intermediateResults[logCallNdx][valueNdx] << tcu::TestLog:… in iterate()
2550 for (int valueNdx = 0; valueNdx < m_workSize * m_numCalls; ++valueNdx) in iterate() local
2552 if ((int)intermediateResults[valueNdx] != valueNdx) in iterate()
2556 …e buffer error, at value index " << valueNdx << ", expected " << valueNdx << ", got " << intermedi… in iterate()
2818 for (int valueNdx = 0; valueNdx < m_workSize; ++valueNdx) in iterate() local
2826 valueChain[callNdx] = intermediateResults[callNdx][valueNdx]; in iterate()
[all …]
Des31fShaderCommonFunctionTests.cpp1816 int valueNdx = 0; in getInputValues() local
1821 DE_ASSERT(valueNdx + DE_LENGTH_OF_ARRAY(easySpecialCases) <= numValues); in getInputValues()
1831 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues()
1832 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues()
1835 valueNdx += 1; in getInputValues()
1841 const int numEasyRandomCases = precision == glu::PRECISION_HIGHP ? 50 : (numValues-valueNdx); in getInputValues()
1843 DE_ASSERT(valueNdx + numEasyRandomCases <= numValues); in getInputValues()
1854 ((float*)values[0])[valueNdx*scalarSize + compNdx] = in0; in getInputValues()
1855 ((int*)values[1])[valueNdx*scalarSize + compNdx] = in1; in getInputValues()
1858 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.cpp4757 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/
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()
664 int valueNdx = 0; in getInputValues() local
684 in0[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].x; in getInputValues()
685 in1[valueNdx*scalarSize + compNdx] = easyCases[easyCaseNdx].y; in getInputValues()
688 valueNdx += 1; in getInputValues()
691 while (valueNdx < numValues) in getInputValues()
699 in0[valueNdx*scalarSize + compNdx] = base0 >> adj0; in getInputValues()
[all …]
DvktShaderBuiltinPrecisionTests.cpp6257 for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++) in iterate() local
6268 if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0) in iterate()
6271 env.lookup(*m_variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx])); in iterate()
6272 env.lookup(*m_variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx])); in iterate()
6273 env.lookup(*m_variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx])); in iterate()
6274 env.lookup(*m_variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx])); in iterate()
6284 …if (!status.check(contains(reference1, outputs.out1[valueNdx], m_caseCtx.isPackFloat16b), "Shader … in iterate()
6290 …const tcu::Maybe<In1> modularDivisor = (m_modularOp ? tcu::just(inputs.in1[valueNdx]) : tcu::nothi… in iterate()
6293 …if (!status.check(contains(reference0, outputs.out0[valueNdx], m_caseCtx.isPackFloat16b, modularDi… in iterate()
6297 …if (!status.check(contains(reference0, outputs.out0[valueNdx], m_caseCtx.isPackFloat16b, modularDi… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp804 for (deUint32 valueNdx = 0; valueNdx < m_outBufferSize / outValueSize; valueNdx++) in verifyResult() local
811 const deUint32 attributeIndex = (valueNdx / numChannels) % 3; in verifyResult()
815 (void*)(ptr64 + valueNdx) : in verifyResult()
816 (void*)(ptr32 + valueNdx)); in verifyResult()
821 const deUint32 elementIndex = valueNdx / (numScalarsPerVertex * m_numVertices); // instance id in verifyResult()
826 …inBufferValueIndex = (elementIndex * numChannels) + (valueNdx % numScalarsPerVertex) - (2 * numCha… in verifyResult()
831 const deUint32 vertexNdx = valueNdx / numScalarsPerVertex; in verifyResult()
833 const deUint32 elementIndex = valueNdx / numScalarsPerVertex; // vertex id in verifyResult()
838 …inBufferValueIndex = (getIndex(elementIndex) * (numChannels * 2)) + (valueNdx % numScalarsPerVerte… in verifyResult()
855 if (valueNdx && valueNdx % numScalarsPerVertex == 0) in verifyResult()
[all …]
DvktRobustnessBufferAccessTests.cpp1137 deUint32 valueNdx = 0; in verifyResult() local
1152 …logMsg << "\nValue " << valueNdx++ << " has been modified with an unknown value: " << *((deUint32 … in verifyResult()
1161 logMsg << "\n" << valueNdx++ << ": "; in verifyResult()
DvktRobustBufferAccessWithVariablePointersTests.cpp1603 deUint32 valueNdx = 0; in verifyResult() local
1621 …logMsg << "\nValue " << valueNdx++ << " has been modified with an unknown value: " << *(static_cas… in verifyResult()
1630 logMsg << "\n" << valueNdx++ << ": "; in verifyResult()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawExplicitVertexParameterTests.cpp554 for (deUint32 valueNdx = 0u; valueNdx < numValues; valueNdx++) in iterate() local
556 if (deFloatAbs(ptr[valueNdx].x() - ptr[valueNdx].y()) > 0.0005f) in iterate()
558 …::TestLog::Message << "Expected value " << valueNdx << " is " << ptr[valueNdx].x() << ", got " << … in iterate()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp263 for (deUint32 valueNdx = 0; valueNdx < m_bufferSize; ++valueNdx) in iterate() local
265 referenceData[valueNdx] = static_cast<deUint8>((valueNdx % bufferMemRequirement.alignment) + 1u); in iterate()
DvktSparseResourcesBufferSparseResidency.cpp281 for (deUint32 valueNdx = 0; valueNdx < m_bufferSize; ++valueNdx) in iterate() local
283 … referenceData[valueNdx] = static_cast<deUint8>((valueNdx % bufferMemRequirements.alignment) + 1u); in iterate()
DvktSparseResourcesBufferMemoryAliasing.cpp414 for (deUint32 valueNdx = 0; valueNdx < MODULO_DIVISOR; ++valueNdx) in iterate() local
416 referenceDataBlock[valueNdx] = valueNdx % MODULO_DIVISOR; in iterate()
DvktSparseResourcesImageSparseBinding.cpp327 for (deUint32 valueNdx = 0; valueNdx < imageSizeInBytes; ++valueNdx) in iterate() local
329 …referenceData[valueNdx] = static_cast<deUint8>((valueNdx % imageMemoryRequirements.alignment) + 1u… in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp448 for (deUint32 valueNdx = 0; valueNdx < imageSizeInBytes; ++valueNdx) in iterate() local
450 …referenceData[valueNdx] = static_cast<deUint8>((valueNdx % imageMemoryRequirements.alignment) + 1u… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDispatchTests.cpp475 for (int valueNdx = 0; valueNdx < DE_LENGTH_OF_ARRAY(kConditionValueResults); ++valueNdx) in init() local
477 const auto& valueResults = kConditionValueResults[valueNdx]; in init()
/external/deqp/external/openglcts/modules/common/
DglcShaderLibrary.cpp898 for (int valueNdx = 0; valueNdx < (int)valueBlock.values.size(); valueNdx++) in parseValueBlock() local
900 const ShaderCase::Value& val = valueBlock.values[valueNdx]; in parseValueBlock()
DglcShaderLibraryCase.cpp582 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/
DgluShaderLibrary.cpp1772 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/
DtcuAstcUtil.cpp2412 for (int valueNdx = 0; valueNdx < numValues; valueNdx++) in generateRandomBlock() local
2413 iseInput.value.plain[valueNdx] = rnd.getInt(0, rangeMax); in generateRandomBlock()