Home
last modified time | relevance | path

Searched refs:valNdx (Results 1 – 18 of 18) 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.cpp1585 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate() local
1587 …nst deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + valueInfo.arrayStride*valNdx)); in iterate()
1590 refSum += (deUint32)valNdx; in iterate()
1593 … throw tcu::TestError(string("Comparison failed for Output.values[") + de::toString(valNdx) + "]"); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp212 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate() local
214 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate()
215 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate()
217 const deUint32 res = outputs[valNdx]; in iterate()
227 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate()
228 << ", expected packSnorm2x16(" << inputs[valNdx] << ") = " << tcu::toHex(ref) in iterate()
318 for (int valNdx = 0; valNdx < (int)inputs.size(); valNdx++) in iterate() local
320 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
321 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
324 const float res0 = outputs[valNdx].x(); in iterate()
[all …]
DvktShaderExecutor.cpp657 for (int valNdx = 0; valNdx < numValues; valNdx++) in computeVertexPositions() local
659 const int ix = valNdx % renderSize.x(); in computeVertexPositions()
660 const int iy = valNdx / renderSize.x(); in computeVertexPositions()
664 positions[valNdx] = tcu::Vec2(fx, fy); in computeVertexPositions()
1368 for (int valNdx = 0; valNdx < numValues; valNdx++) in execute() local
1370 const deUint16* srcPtr = (const deUint16*)tmpBuf.getAccess().getDataPtr() + valNdx * 4; in execute()
1371 deUint16* dstPtr = &dstPtrBase[outSize * valNdx + outVecSize * locNdx]; in execute()
1383 for (int valNdx = 0; valNdx < numValues; valNdx++) in execute() local
1385 const deUint32* srcPtr = (const deUint32*)tmpBuf.getAccess().getDataPtr() + valNdx * 4; in execute()
1386 deUint32* dstPtr = &dstPtrBase[outSize * valNdx + outVecSize * locNdx]; in execute()
DvktShaderCommonFunctionTests.cpp531 for (int valNdx = 0; valNdx < m_numValues; valNdx++) in iterate() local
535 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
538 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
544 …testCtx.getLog() << TestLog::Message << "ERROR: comparison failed for value " << valNdx << ":\n "… in iterate()
1013 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++) in getInputValues() local
1024 ((deUint32*)values[0])[valNdx] = value; in getInputValues()
1110 for (int valNdx = 0; valNdx < numValues*scalarSize; valNdx++) in getInputValues() local
1121 ((deUint32*)values[0])[valNdx] = value; in getInputValues()
DvktShaderIntegerFunctionTests.cpp407 for (int valNdx = 0; valNdx < m_numValues; valNdx++) in iterate() local
411 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
414 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
420 …testCtx.getLog() << TestLog::Message << "ERROR: comparison failed for value " << valNdx << ":\n "… in iterate()
/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.cpp1197 for (size_t valNdx = 0; valNdx < valueBlock.inputs.size(); valNdx++) in execute() local
1199 const Value& val = valueBlock.inputs[valNdx]; in execute()
1263 for (size_t valNdx = 0; valNdx < valueBlock.outputs.size(); valNdx++) in execute() local
1265 const Value& val = valueBlock.outputs[valNdx]; in execute()
1275 for (size_t valNdx = 0; valNdx < valueBlock.uniforms.size(); valNdx++) in execute() local
1277 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/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp376 for (int valNdx = 0; valNdx < numValues; valNdx++) in execute() local
378 const ShaderCase::Value& val = valueBlock.values[valNdx]; in execute()
991 for (int valNdx = 0; valNdx < numValues; valNdx++) in dumpValues() local
993 const ShaderCase::Value& val = valueBlock.values[valNdx]; in dumpValues()
/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()
1709 for (size_t valNdx = 0; valNdx < values.size(); valNdx++) in dumpValues() local
1710 dumpValue(log, values[valNdx], storageName, arrayNdx); in dumpValues()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp66 for (int valNdx = 0; valNdx < numValues; valNdx++) in computeVertexPositions() local
68 const int ix = valNdx % renderSize.x(); in computeVertexPositions()
69 const int iy = valNdx / renderSize.x(); in computeVertexPositions()
73 positions[valNdx] = tcu::Vec2(fx, fy); in computeVertexPositions()