Home
last modified time | relevance | path

Searched refs:sampleNdx (Results 1 – 13 of 13) sorted by relevance

/external/deqp/modules/egl/
DteglMakeCurrentPerfTests.cpp412 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); sampleNdx++) in logResults() local
413 log << TestLog::Sample << deInt64(m_samples[sampleNdx]) << TestLog::EndSample; in logResults()
432 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); sampleNdx++) in logResults() local
434 totalTimeUs += m_samples[sampleNdx]; in logResults()
443 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); sampleNdx++) in logResults() local
445 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults()
450 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); sampleNdx++) in logResults() local
452 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults()
460 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); sampleNdx++) in logResults() local
462 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp932 for (int sampleNdx = beginNdx; sampleNdx < endNdx; sampleNdx += step) in fitLineToSamples() local
936 point.x() = (float)(samples[sampleNdx].writtenSize); in fitLineToSamples()
937 point.y() = (float)(samples[sampleNdx].duration.*target); in fitLineToSamples()
950 for (int sampleNdx = beginNdx; sampleNdx < endNdx; sampleNdx += step) in fitLineToSamples() local
954 point.x() = (float)(samples[sampleNdx].renderDataSize); in fitLineToSamples()
955 point.y() = (float)(samples[sampleNdx].duration.*target); in fitLineToSamples()
1092 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in bucketizeSamplesUniformly() local
1094 DE_ASSERT(samples[sampleNdx].allocatedSize != 0); in bucketizeSamplesUniformly()
1096 if (!minBufferSize || samples[sampleNdx].allocatedSize < minBufferSize) in bucketizeSamplesUniformly()
1097 minBufferSize = samples[sampleNdx].allocatedSize; in bucketizeSamplesUniformly()
[all …]
Des3pDepthTests.cpp649 for (size_t sampleNdx = 0; sampleNdx < samples.size(); sampleNdx++) in logSamples() local
651 const Sample& sample = samples[sampleNdx]; in logSamples()
666 for (size_t sampleNdx = 0; sampleNdx < samples.size(); sampleNdx++) in logSamples() local
668 const Sample& sample = samples[sampleNdx]; in logSamples()
/external/deqp/modules/gles31/functional/
Des31fSampleVariableTests.cpp550 for (int sampleNdx = 0; sampleNdx < (int)resultBuffers.size(); ++sampleNdx) in verifySampleBuffers() local
551 …:TestLog::Image("Buffer" + de::toString(sampleNdx), "Sample " + de::toString(sampleNdx), resultBuf… in verifySampleBuffers()
556 for (int sampleNdx = 0; sampleNdx < (int)resultBuffers.size(); ++sampleNdx) in verifySampleBuffers() local
560 const float sampleIdColor = sampleNdx / (float)m_numTargetSamples; in verifySampleBuffers()
562 …m_testCtx.getLog() << tcu::TestLog::Message << "Verifying sample " << (sampleNdx+1) << "/" << (int… in verifySampleBuffers()
563 …allOk &= verifyImageWithVerifier(resultBuffers[sampleNdx], m_testCtx.getLog(), ColorVerifier(tcu::… in verifySampleBuffers()
695 for (int sampleNdx = 0; sampleNdx < (int)resultBuffers.size(); ++sampleNdx) in verifySampleBuffers() local
696 …:TestLog::Image("Buffer" + de::toString(sampleNdx), "Sample " + de::toString(sampleNdx), resultBuf… in verifySampleBuffers()
705 for (int sampleNdx = 0; sampleNdx < (int)resultBuffers.size(); ++sampleNdx) in verifySampleBuffers() local
708 …m_testCtx.getLog() << tcu::TestLog::Message << "Verifying sample " << (sampleNdx+1) << "/" << (int… in verifySampleBuffers()
[all …]
Des31fTextureMultisampleTests.cpp137 bool testMultisampleTexture (int sampleNdx);
138 void drawSample (tcu::Surface& dst, int sampleNdx);
269 for (int sampleNdx = 0; sampleNdx < m_samples; ++sampleNdx) in init() local
271 if (m_samplePositions[sampleNdx].x() < 0.0f || m_samplePositions[sampleNdx].x() > 1.0f || in init()
272 m_samplePositions[sampleNdx].y() < 0.0f || m_samplePositions[sampleNdx].y() > 1.0f) in init()
274 … Sample position of sample " << sampleNdx << " should be in range ([0, 1], [0, 1]). Got " << m_sam… in init()
373 for (int sampleNdx = 0; sampleNdx < m_samples; ++sampleNdx) in genMultisampleTexture() local
377 gl.getMultisamplefv(GL_SAMPLE_POSITION, (deUint32)sampleNdx, position); in genMultisampleTexture()
381 …m_testCtx.getLog() << tcu::TestLog::Message << "\t" << sampleNdx << ": (" << position[0] << ", " <… in genMultisampleTexture()
439 bool SamplePosRasterizationTest::testMultisampleTexture (int sampleNdx) in testMultisampleTexture() argument
[all …]
Des31fMultisampleShaderRenderCase.cpp614 for (int sampleNdx = 0; sampleNdx < m_numTargetSamples; ++sampleNdx) in drawOneIteration() local
615 resultBuffers[sampleNdx].setSize(m_renderSize, m_renderSize); in drawOneIteration()
639 for (int sampleNdx = 0; sampleNdx < m_numTargetSamples; ++sampleNdx) in drawOneIteration() local
641 gl.uniform1i(sampleLocation, sampleNdx); in drawOneIteration()
645 glu::readPixels(m_context.getRenderContext(), 0, 0, resultBuffers[sampleNdx].getAccess()); in drawOneIteration()
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp708 for (int sampleNdx = 0; sampleNdx < NumSamples; sampleNdx++) in rasterizeMultiSample() local
710 const deInt64 ox = samplePos[sampleNdx*2 + 0]; in rasterizeMultiSample()
711 const deInt64 oy = samplePos[sampleNdx*2 + 1]; in rasterizeMultiSample()
715 e01[sampleNdx][fragNdx] = evaluateEdge(m_edge01, sx[fragNdx] + ox, sy[fragNdx] + oy); in rasterizeMultiSample()
716 e12[sampleNdx][fragNdx] = evaluateEdge(m_edge12, sx[fragNdx] + ox, sy[fragNdx] + oy); in rasterizeMultiSample()
717 e20[sampleNdx][fragNdx] = evaluateEdge(m_edge20, sx[fragNdx] + ox, sy[fragNdx] + oy); in rasterizeMultiSample()
722 for (int sampleNdx = 0; sampleNdx < NumSamples; sampleNdx++) in rasterizeMultiSample() local
724 … 0, 0, sampleNdx, isInsideCCW(m_edge01, e01[sampleNdx][0]) && isInsideCCW(m_edge12, e12[sampl… in rasterizeMultiSample()
725 …0, sampleNdx, !outX1 && isInsideCCW(m_edge01, e01[sampleNdx][1]) && isInsideCCW(m_edge12, e12[sa… in rasterizeMultiSample()
726 …1, sampleNdx, !outY1 && isInsideCCW(m_edge01, e01[sampleNdx][2]) && isInsideCCW(m_edge12, e12[sa… in rasterizeMultiSample()
[all …]
DrrRasterizer.hpp43 inline deUint64 getCoverageBit (int numSamples, int x, int y, int sampleNdx) in getCoverageBit() argument
49 return 1ull << ((x*2 + y)*numSamples + sampleNdx); in getCoverageBit()
61 inline deUint64 setCoverageValue (deUint64 mask, int numSamples, int x, int y, int sampleNdx, bool … in setCoverageValue() argument
63 const deUint64 bit = getCoverageBit(numSamples, x, y, sampleNdx); in setCoverageValue()
68 inline bool getCoverageValue (deUint64 mask, int numSamples, int x, int y, int sampleNdx) in getCoverageValue() argument
70 return (mask & getCoverageBit(numSamples, x, y, sampleNdx)) != 0; in getCoverageValue()
DrrShadingContext.hpp158 …eadFragmentDepth (const FragmentShadingContext& context, int packetNdx, int fragNdx, int sampleNdx) in readFragmentDepth() argument
162 return context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx]; in readFragmentDepth()
165 …(const FragmentShadingContext& context, int packetNdx, int fragNdx, int sampleNdx, float depthValu… in writeFragmentDepth() argument
169 context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx] = depthValue; in writeFragmentDepth()
DrrRenderer.cpp1148 for (int sampleNdx = 0; sampleNdx < numRasterizedPackets * 4 * numSamples; ++sampleNdx) in rasterizePrimitive() local
1149 …buffers.fragmentDepthBuffer[sampleNdx] = de::clamp(buffers.fragmentDepthBuffer[sampleNdx] + depthO… in rasterizePrimitive()
1157 for (int sampleNdx = 0; sampleNdx < numRasterizedPackets * 4 * numSamples; ++sampleNdx) in rasterizePrimitive() local
1158 …buffers.fragmentDepthBuffer[sampleNdx] = de::clamp(buffers.fragmentDepthBuffer[sampleNdx], depthCl… in rasterizePrimitive()
1210 for (int sampleNdx = 0; sampleNdx < numRasterizedPackets * 4 * numSamples; ++sampleNdx) in rasterizePrimitive() local
1211 …buffers.fragmentDepthBuffer[sampleNdx] = de::clamp(buffers.fragmentDepthBuffer[sampleNdx], depthCl… in rasterizePrimitive()
1275 for (int sampleNdx = 0; sampleNdx < numRasterizedPackets * 4 * numSamples; ++sampleNdx) in rasterizePrimitive() local
1276 …buffers.fragmentDepthBuffer[sampleNdx] = de::clamp(buffers.fragmentDepthBuffer[sampleNdx], depthCl… in rasterizePrimitive()
/external/deqp/executor/tools/
DxeExtractSampleLists.cpp61 for (int sampleNdx = 0; sampleNdx < sampleList.samples.getNumItems(); sampleNdx++) in writeSampleList() local
63 …xe::ri::Sample& sample = static_cast<const xe::ri::Sample&>(sampleList.samples.getItem(sampleNdx)); in writeSampleList()
/external/deqp/framework/common/
DtcuBilinearImageCompare.cpp166 for (int sampleNdx = 0; sampleNdx < DE_LENGTH_OF_ARRAY(s_offsets); sampleNdx++) in comparePixelRGBA8() local
168 const int u = ((x-1)<<NUM_SUBPIXEL_BITS) + (int)s_offsets[sampleNdx][0]; in comparePixelRGBA8()
169 const int v = ((y-1)<<NUM_SUBPIXEL_BITS) + (int)s_offsets[sampleNdx][1]; in comparePixelRGBA8()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp3207 const int sampleNdx = 0; // multisample read buffer case is already handled in blitFramebuffer() local
3214 …writeDepthOnly(dst, sampleNdx, xo, yo, src.raw().getPixel(sampleNdx, deFloorFloatToInt32(sX), deFl… in blitFramebuffer()
3228 const int sampleNdx = 0; // multisample read buffer case is already handled in blitFramebuffer() local
3235 …writeStencilOnly(dst, sampleNdx, xo, yo, src.raw().getPixelInt(sampleNdx, deFloorFloatToInt32(sX),… in blitFramebuffer()