Lines Matching refs:sampleNdx
137 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
445 drawSample(glSurface, sampleNdx); in testMultisampleTexture()
448 convertToSceneSpec(scene, m_samplePositions[sampleNdx]); in testMultisampleTexture()
463 void SamplePosRasterizationTest::drawSample (tcu::Surface& dst, int sampleNdx) in drawSample() argument
474 …le position " + de::toString(sampleNdx+1) + "/" + de::toString(m_samples), "Test sample position "… in drawSample()
493 gl.uniform1i (m_samplerProgramSampleNdxLoc, (deInt32)sampleNdx); in drawSample()
496 …< tcu::TestLog::Message << "Reading from texture with sample index " << sampleNdx << tcu::TestLog:… in drawSample()
2057 for (int sampleNdx = 0; sampleNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleNdx) in init() local
2059 …seGroup(m_testCtx, (std::string("samples_") + de::toString(sampleCounts[sampleNdx])).c_str(), "Tes… in init()
2063 …sRasterizationTest(m_context, "sample_position", "test SAMPLE_POSITION", sampleCounts[sampleNdx])); in init()
2066 …mask_only", "Test with SampleMask only", sampleCounts[sampleNdx], SampleMaskCase… in init()
2067 …e", "Test with SampleMask and alpha to coverage", sampleCounts[sampleNdx], SampleMaskCase… in init()
2068 …e", "Test with SampleMask and sample coverage", sampleCounts[sampleNdx], SampleMaskCase… in init()
2069 … with SampleMask, sample coverage, and alpha to coverage", sampleCounts[sampleNdx], SampleMaskCase… in init()
2072 …Test with SampleMask, set higher bits than sample count", sampleCounts[sampleNdx], SampleMaskCase… in init()
2076 …eTypes[typeNdx].name).c_str(), textureTypes[typeNdx].name, sampleCounts[sampleNdx], textureTypes[t… in init()