Home
last modified time | relevance | path

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

/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp211 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate() local
213 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate()
214 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate()
216 const deUint32 res = outputs[valNdx]; in iterate()
226 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate()
227 << ", expected packSnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
299 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
301 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
302 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
305 const float res0 = outputs[valNdx].x(); in iterate()
[all …]
Des31fShaderAtomicOpTests.cpp220 for (deUint32 valNdx = 0; valNdx < product(m_numWorkGroups); valNdx++) in iterate() local
221 …*(deUint32*)(&bufData[0] + groupVarInfo.offset + groupVarInfo.arrayStride*valNdx) = m_initialValue; in iterate()
273 for (int valNdx = 0; valNdx < numValues; valNdx++) in getInputs() local
274 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal); in getInputs()
426 for (int valNdx = 0; valNdx < numValues; valNdx++) in getInputs() local
427 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal); in getInputs()
508 for (int valNdx = 0; valNdx < numValues; valNdx++) in getInputs() local
509 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal); in getInputs()
Des31fShaderCommonFunctionTests.cpp422 for (int valNdx = 0; valNdx < m_numValues; valNdx++) in iterate() local
426 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
429 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
435 …m_testCtx.getLog() << TestLog::Message << "ERROR: comparison failed for value " << valNdx << ":\n … in iterate()
887 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++) in getInputValues() local
898 ((deUint32*)values[0])[valNdx] = value; in getInputValues()
970 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++) in getInputValues() local
981 ((deUint32*)values[0])[valNdx] = value; in getInputValues()
Des31fShaderIntegerFunctionTests.cpp280 for (int valNdx = 0; valNdx < m_numValues; valNdx++) in iterate() local
284 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
287 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
293 …m_testCtx.getLog() << TestLog::Message << "ERROR: comparison failed for value " << valNdx << ":\n … in iterate()
Des31fBasicComputeShaderTests.cpp1547 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate() local
1549 …nst deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + valueInfo.arrayStride*valNdx)); in iterate()
1552 refSum += (deUint32)valNdx; in iterate()
1555 … throw tcu::TestError(string("Comparison failed for Output.values[") + de::toString(valNdx) + "]"); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp224 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate() local
226 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate()
227 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate()
229 const deUint32 res = outputs[valNdx]; in iterate()
239 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate()
240 << ", expected packSnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
331 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
333 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
334 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
337 const float res0 = outputs[valNdx].x(); in iterate()
[all …]
DvktShaderCommonFunctionTests.cpp542 for (int valNdx = 0; valNdx < m_numValues; valNdx++) in iterate() local
546 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
549 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
555 …testCtx.getLog() << TestLog::Message << "ERROR: comparison failed for value " << valNdx << ":\n "… in iterate()
1028 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++) in getInputValues() local
1039 ((deUint32*)values[0])[valNdx] = value; in getInputValues()
1126 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++) in getInputValues() local
1137 ((deUint32*)values[0])[valNdx] = value; in getInputValues()
DvktShaderIntegerFunctionTests.cpp419 for (int valNdx = 0; valNdx < m_numValues; valNdx++) in iterate() local
423 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
426 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
432 …testCtx.getLog() << TestLog::Message << "ERROR: comparison failed for value " << valNdx << ":\n "… in iterate()
DvktShaderExecutor.cpp518 for (int valNdx = 0; valNdx < numValues; valNdx++) in computeVertexPositions() local
520 const int ix = valNdx % renderSize.x(); in computeVertexPositions()
521 const int iy = valNdx / renderSize.x(); in computeVertexPositions()
525 positions[valNdx] = tcu::Vec2(fx, fy); in computeVertexPositions()
1432 for (int valNdx = 0; valNdx < numValues; valNdx++) in execute() local
1434 const deUint32* srcPtr = (const deUint32*)tmpBuf.getAccess().getDataPtr() + valNdx * 4; in execute()
1435 deUint32* dstPtr = &dstPtrBase[outSize * valNdx + outVecSize * locNdx]; in execute()
/external/deqp/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp207 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate() local
209 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate()
210 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate()
212 const deUint32 res = outputs[valNdx]; in iterate()
222 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate()
223 << ", expected packSnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
295 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
297 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
298 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
301 const float res0 = outputs[valNdx].x(); in iterate()
[all …]
Des3fShaderCommonFunctionTests.cpp348 for (int valNdx = 0; valNdx < m_numValues; valNdx++) in iterate() local
352 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
355 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
361 …m_testCtx.getLog() << TestLog::Message << "ERROR: comparison failed for value " << valNdx << ":\n … in iterate()
809 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++) in getInputValues() local
820 ((deUint32*)values[0])[valNdx] = value; in getInputValues()
890 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++) in getInputValues() local
901 ((deUint32*)values[0])[valNdx] = value; in getInputValues()
/external/deqp/executor/tools/
DxeExtractSampleLists.cpp65 for (int valNdx = 0; valNdx < sample.values.getNumItems(); valNdx++) in writeSampleList() local
67 …e::ri::SampleValue& value = static_cast<const xe::ri::SampleValue&>(sample.values.getItem(valNdx)); in writeSampleList()
69 if (valNdx != 0) in writeSampleList()
DxeExtractValues.cpp183 for (int valNdx = 0; valNdx < (int)tagNames.size(); valNdx++) in testCaseResultComplete() local
184 tagResult.values[valNdx] = findValueByTag(fullResult.resultItems, tagNames[valNdx]); in testCaseResultComplete()
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp1170 for (size_t valNdx = 0; valNdx < valueBlock.inputs.size(); valNdx++) in execute() local
1172 const Value& val = valueBlock.inputs[valNdx]; in execute()
1236 for (size_t valNdx = 0; valNdx < valueBlock.outputs.size(); valNdx++) in execute() local
1238 const Value& val = valueBlock.outputs[valNdx]; in execute()
1248 for (size_t valNdx = 0; valNdx < valueBlock.uniforms.size(); valNdx++) in execute() local
1250 const Value& val = valueBlock.uniforms[valNdx]; in execute()
DglsShaderExecUtil.cpp584 for (int valNdx = 0; valNdx < numValues; valNdx++) in execute() local
586 const int ix = valNdx % framebufferW; in execute()
587 const int iy = valNdx / framebufferW; in execute()
591 positions[valNdx] = tcu::Vec2(fx, fy); in execute()
684 for (int valNdx = 0; valNdx < numValues; valNdx++) in execute() local
686 const deUint32* srcPtr = (const deUint32*)tmpBuf.getAccess().getDataPtr() + valNdx*4; in execute()
687 deUint32* dstPtr = &dstPtrBase[outSize*valNdx + outVecSize*locNdx]; in execute()
/external/deqp/framework/opengl/
DgluShaderLibrary.cpp71 for (size_t valNdx = 0; valNdx < values.size(); ++valNdx) in isValid() local
73 const Value& value = values[valNdx]; in isValid()
1732 for (size_t valNdx = 0; valNdx < values.size(); valNdx++) in dumpValues() local
1733 dumpValue(log, values[valNdx], storageName, arrayNdx); in dumpValues()