/external/deqp/modules/gles31/functional/ |
D | es31fShaderIntegerFunctionTests.cpp | 88 for (int compNdx = 0; compNdx < numComponents; compNdx++) in operator <<() local 90 if (compNdx != 0) in operator <<() 95 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 96 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 97 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 98 …case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); … in operator <<() 147 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in generateRandomInputData() local 148 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; in generateRandomInputData() 153 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in generateRandomInputData() local 154 … dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); in generateRandomInputData() [all …]
|
D | es31fShaderCommonFunctionTests.cpp | 375 for (int compNdx = 0; compNdx < numComponents; compNdx++) in operator <<() local 377 if (compNdx != 0) in operator <<() 382 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 383 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 384 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 385 case glu::TYPE_BOOL: str << HexBool(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 545 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local 547 const float in0 = ((const float*)inputs[0])[compNdx]; in compare() 548 const float out0 = ((const float*)outputs[0])[compNdx]; in compare() 554 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare() [all …]
|
D | es31fSSBOLayoutCase.cpp | 760 for (int compNdx = 0; compNdx < vecSize; compNdx++) in generateValue() local 762 deUint8* const compPtr = vecPtr + compSize*compNdx; in generateValue()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 90 for (int compNdx = 0; compNdx < numComponents; compNdx++) in operator <<() local 92 if (compNdx != 0) in operator <<() 97 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 98 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 99 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 100 …case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); … in operator <<() 149 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in generateRandomInputData() local 150 dst[valueNdx*scalarSize + compNdx] = rnd.getUint32() & integerMask; in generateRandomInputData() 155 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in generateRandomInputData() local 156 … dst[valueNdx*scalarSize + compNdx] = extendSignTo32(rnd.getUint32() & integerMask, integerLength); in generateRandomInputData() [all …]
|
D | vktShaderCommonFunctionTests.cpp | 318 for (int compNdx = 0; compNdx < numComponents; compNdx++) in operator <<() local 320 if (compNdx != 0) in operator <<() 325 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 326 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 327 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 328 case glu::TYPE_BOOL: str << HexBool(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 631 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local 633 const float in0 = ((const float*)inputs[0])[compNdx]; in compare() 634 const float out0 = ((const float*)outputs[0])[compNdx]; in compare() 640 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare() [all …]
|
D | vktShaderBuiltinPrecisionTests.cpp | 2489 for (int compNdx = 0; compNdx < T::SIZE; ++compNdx) in doApply() local 2491 if (iargs.b.contains(compNdx)) in doApply() 2492 ret = unionIVal<typename T::Element>(ret, iargs.a[compNdx]); in doApply()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 301 for (int compNdx = 0; compNdx < numComponents; compNdx++) in operator <<() local 303 if (compNdx != 0) in operator <<() 308 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 309 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 310 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 311 case glu::TYPE_BOOL: str << HexBool(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 467 for (int compNdx = 0; compNdx < scalarSize; compNdx++) in compare() local 469 const float in0 = ((const float*)inputs[0])[compNdx]; in compare() 470 const float out0 = ((const float*)outputs[0])[compNdx]; in compare() 476 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare() [all …]
|
D | es3fTransformFeedbackTests.cpp | 545 for (int compNdx = 0; compNdx < numComps; compNdx++) in genAttributeData() local 547 int offset = attrib.offset+elemNdx*stride+compNdx*elementSize; in genAttributeData() 735 for (int compNdx = 0; compNdx < numComponents; compNdx++) in compareTransformFeedbackOutput() local 737 const deUint8* inPtr = inBasePtr + inStride*inNdx + attribute.offset + compNdx*sizeof(deUint32); in compareTransformFeedbackOutput() 738 const deUint8* outPtr = outBasePtr + outStride*outNdx + outOffset + compNdx*sizeof(deUint32); in compareTransformFeedbackOutput() 766 …"), output = " << outNdx << ", input = " << inNdx << ", component = " << compNdx << TestLog::EndMe… in compareTransformFeedbackOutput()
|
/external/deqp/framework/randomshaders/ |
D | rsgBinaryOps.cpp | 195 for (int compNdx = 0; compNdx < EXEC_VEC_WIDTH; compNdx++) in evaluate() local 196 …omponent(elemNdx).asFloat(compNdx) = EvaluateComp()(a.component(elemNdx).asFloat(compNdx), b.compo… in evaluate() 203 for (int compNdx = 0; compNdx < EXEC_VEC_WIDTH; compNdx++) in evaluate() local 204 …st.component(elemNdx).asInt(compNdx) = EvaluateComp()(a.component(elemNdx).asInt(compNdx), b.compo… in evaluate() 450 for (int compNdx = 0; compNdx < EXEC_VEC_WIDTH; compNdx++) in evaluate() local 451 dst.asBool(compNdx) = EvaluateComp()(a.asFloat(compNdx), b.asFloat(compNdx)); in evaluate() 455 for (int compNdx = 0; compNdx < EXEC_VEC_WIDTH; compNdx++) in evaluate() local 456 dst.asBool(compNdx) = EvaluateComp()(a.asInt(compNdx), b.asInt(compNdx)); in evaluate() 795 for (int compNdx = 0; compNdx < EXEC_VEC_WIDTH; compNdx++) in evaluate() local 800 …mpare<IsEqual>::compare(a.component(elemNdx).asFloat(compNdx), b.component(elemNdx).asFloat(compNd… in evaluate() [all …]
|
D | rsgExecutionContext.cpp | 156 for (int compNdx = 0; compNdx < EXEC_VEC_WIDTH; compNdx++) in assignMasked() local 158 if (mask.asBool(compNdx)) in assignMasked() 159 dstElem.asScalar(compNdx) = srcElem.asScalar(compNdx); in assignMasked()
|
D | rsgVariableValue.hpp | 97 …Access component (int compNdx) const { return ConstStridedValueAccess(getType().getElementTyp… in component() 130 …ccess component (int compNdx) { return StridedValueAccess(this->getType().getElementType(), t… in component() argument 208 ConstValueRangeAccess component (int compNdx) const; 223 inline ConstValueRangeAccess ConstValueRangeAccess::component (int compNdx) const in component() 225 return ConstValueRangeAccess(m_type->getElementType(), m_min + compNdx, m_max + compNdx); in component() 249 ValueRangeAccess component (int compNdx); 254 inline ValueRangeAccess ValueRangeAccess::component (int compNdx) in component() argument 256 return ValueRangeAccess(m_type->getElementType(), m_min + compNdx, m_max + compNdx); in component()
|
D | rsgBuiltinFunctions.hpp | 115 for (int compNdx = 0; compNdx < EXEC_VEC_WIDTH; compNdx++) in evaluate() local 116 dstComp.asFloat(compNdx) = Evaluate()(srcComp.asFloat(compNdx)); in evaluate()
|
D | rsgProgramExecutor.cpp | 160 void copyVarying (ValueAccess dst, ConstStridedValueAccess<Stride> src, int compNdx) in copyVarying() argument 164 dst.component(elemNdx).asFloat() = src.component(elemNdx).asFloat(compNdx); in copyVarying()
|
/external/deqp/framework/common/ |
D | tcuRandomValueIterator.hpp | 41 for (int compNdx = 0; compNdx < 4; compNdx++) in getRandomValue() local 42 data[vecNdx*4+compNdx] = ((const deUint8*)&rval)[compNdx]; in getRandomValue()
|
D | tcuTexLookupVerifier.cpp | 265 for (int compNdx = 0; compNdx < 4; compNdx++) in isLinearRangeValid() local 267 if (!prec.colorMask[compNdx]) in isLinearRangeValid() 271 const bool sMin0 = i0[compNdx] >= rMin[compNdx]; in isLinearRangeValid() 272 const bool sMin1 = i1[compNdx] >= rMin[compNdx]; in isLinearRangeValid() 273 const bool sMax0 = i0[compNdx] > rMax[compNdx]; in isLinearRangeValid() 274 const bool sMax1 = i1[compNdx] > rMax[compNdx]; in isLinearRangeValid()
|
/external/deqp/modules/glshared/ |
D | glsShaderPerformanceMeasurer.cpp | 92 for (int compNdx = 0; compNdx < numComponents; compNdx++) in generateVertices() local 93 …numComponents + compNdx] = triQuadInterpolate(xf, yf, tcu::Vec4(spec.p00[compNdx], spec.p01[compNd… in generateVertices()
|
D | glsRandomShaderCase.cpp | 186 for (int compNdx = 0; compNdx < numComponents; compNdx++) in init() local 188 float minVal = valueRange.getMin().component(compNdx).asFloat(); in init() 189 float maxVal = valueRange.getMax().component(compNdx).asFloat(); in init() 192 rsg::getVertexInterpolationCoords(xd, yd, xf, yf, compNdx); in init() 196 dst[compNdx] = minVal + f * (maxVal-minVal); in init()
|
D | glsLongStressCase.cpp | 1010 for (int compNdx = 0; compNdx < numComponents; compNdx++) in generateRandomAttribData() local 1011 …data[vtxNdx*numComponents + compNdx] = rnd.getFloat(attrSpec.minValue.f[compNdx], attrSpec.maxValu… in generateRandomAttribData() 1020 for (int compNdx = 0; compNdx < numComponents; compNdx++) in generateRandomAttribData() local 1021 …data[vtxNdx*numComponents + compNdx] = rnd.getInt(attrSpec.minValue.i[compNdx], attrSpec.maxValue.… in generateRandomAttribData()
|
D | glsUniformBlockCase.cpp | 644 for (int compNdx = 0; compNdx < vecSize; compNdx++) in generateValue() local 646 deUint8* compPtr = vecPtr + compSize*compNdx; in generateValue()
|
/external/deqp/modules/internal/ |
D | ditFrameworkTests.cpp | 645 for (int compNdx = 0; compNdx < 4; compNdx++) in ConstantInterpolationTest() local 652 c.varying[compNdx] = v; in ConstantInterpolationTest()
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderOperatorTests.cpp | 367 for (int compNdx = 0; compNdx < numComponents; compNdx++) \ in generateVertices() 368 …dInterpolate((XF), (YF), tcu::Vec4(spec.p00[compNdx], spec.p01[compNdx], spec.p10[compNdx], spec.p… in generateVertices()
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderOperatorTests.cpp | 367 for (int compNdx = 0; compNdx < numComponents; compNdx++) \ in generateVertices() 368 …dInterpolate((XF), (YF), tcu::Vec4(spec.p00[compNdx], spec.p01[compNdx], spec.p10[compNdx], spec.p… in generateVertices()
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 672 for (int compNdx = 0; compNdx < numComps; compNdx++) in copyToLayout() local 674 …const deUint32 data = value.elements[arrayNdx*scalarSize + vecNdx*numComps + compNdx].bool32 ? ~0u… in copyToLayout() 676 …deMemcpy((deUint8*)dst + entryLayout.offset + vecNdx*entryLayout.vecStride + compNdx * sizeof(deUi… in copyToLayout()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 591 for (int compNdx = 0; compNdx < vecSize; compNdx++) in generateValue() local 593 deUint8* compPtr = vecPtr + compSize*compNdx; in generateValue()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 675 for (int compNdx = 0; compNdx < vecSize; compNdx++) in generateValue() local 677 deUint8* const compPtr = vecPtr + compSize*compNdx; in generateValue()
|