Lines Matching refs:tcu
58 : tcu::Exception(message)
106 throw tcu::NotSupportedError("Test requires render target with size " + de::toString(m_renderSize) + "x" + de::toString(m_renderSize) + " or greater");
116 throw tcu::NotSupportedError("Sample count not supported");
126 throw tcu::NotSupportedError("Sample count not supported");
148 static const tcu::Vec4 fullscreenQuad[] =
150 tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f),
151 tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f),
152 tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f),
153 tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f),
190 throw tcu::TestError("fbo not complete");
198 m_testCtx.getLog() << tcu::TestLog::Message << "Asked for " << m_numRequestedSamples << " samples, got " << queriedSampleCount << " samples." << tcu::TestLog::EndMessage;
202 throw tcu::TestError("Got less texture samples than asked for");
209 m_testCtx.getLog() << tcu::TestLog::Section("SamplerShader", "Sampler shader") << *m_textureSamplerProgram << tcu::TestLog::EndSection;
210 throw tcu::TestError("could not build program");
226 throw tcu::TestError("fbo not complete");
230 m_testCtx.getLog() << tcu::TestLog::Message << "Asked for " << m_numRequestedSamples << " samples, got " << queriedSampleCount << " samples." << tcu::TestLog::EndMessage;
234 throw tcu::TestError("Got less renderbuffer samples samples than asked for");
253 throw tcu::TestError("resolve fbo not complete");
288 m_testCtx.getLog() << tcu::TestLog::Section("RenderShader", "Render shader") << *m_program << tcu::TestLog::EndSection;
290 throw tcu::TestError("could not build program");
396 void MultisampleRenderCase::verifyResultImageAndSetResult (const tcu::Surface& resultImage)
407 m_testCtx.getLog() << tcu::TestLog::Message << "Quality warning, error = " << ex.what() << tcu::TestLog::EndMessage;
415 void MultisampleRenderCase::verifyResultBuffersAndSetResult (const std::vector<tcu::Surface>& resultBuffers)
426 m_testCtx.getLog() << tcu::TestLog::Message << "Quality warning, error = " << ex.what() << tcu::TestLog::EndMessage;
445 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Iteration" + de::toString(m_iteration), sectionDescription);
454 m_testCtx.getLog() << tcu::TestLog::Section("RenderShader", "Render shader") << *m_program << tcu::TestLog::EndSection;
456 throw tcu::TestError("could not build program");
467 m_testCtx.getLog() << tcu::TestLog::Message << "Rendering " << m_renderSceneDescription << " with render shader to fbo." << tcu::TestLog::EndMessage;
470 m_testCtx.getLog() << tcu::TestLog::Message << "Rendering " << m_renderSceneDescription << " with render shader to default framebuffer." << tcu::TestLog::EndMessage;
510 tcu::Surface resultImage(m_renderSize, m_renderSize);
512 m_testCtx.getLog() << tcu::TestLog::Message << "Reading pixels from default framebuffer." << tcu::TestLog::EndMessage;
523 tcu::Surface resultImage(m_renderSize, m_renderSize);
527 m_testCtx.getLog() << tcu::TestLog::Message << "Blitting result from fbo to single sample fbo. (Resolve multisample)" << tcu::TestLog::EndMessage;
534 m_testCtx.getLog() << tcu::TestLog::Message << "Reading pixels from single sample framebuffer." << tcu::TestLog::EndMessage;
550 tcu::Surface resultImage (m_renderSize, m_renderSize);
553 m_testCtx.getLog() << tcu::TestLog::Message << "Using sampler shader to sample the multisample texture to single sample framebuffer." << tcu::TestLog::EndMessage;
555 m_testCtx.getLog() << tcu::TestLog::Message << "Drawing texture to single sample framebuffer. Using sampler shader." << tcu::TestLog::EndMessage;
558 throw tcu::TestError("Location u_sampler was -1.");
586 m_testCtx.getLog() << tcu::TestLog::Message << "Reading pixels from single sample framebuffer." << tcu::TestLog::EndMessage;
602 std::vector<tcu::Surface> resultBuffers (m_numTargetSamples);
605 m_testCtx.getLog() << tcu::TestLog::Message << "Reading multisample texture sample buffers." << tcu::TestLog::EndMessage;
607 m_testCtx.getLog() << tcu::TestLog::Message << "Reading texture." << tcu::TestLog::EndMessage;
610 throw tcu::TestError("Location u_sampler was -1.");
612 throw tcu::TestError("Location u_sampleNdx was -1.");
637 m_testCtx.getLog() << tcu::TestLog::Message << "Reading sample buffers" << tcu::TestLog::EndMessage;
732 bool MultisampleRenderCase::verifySampleBuffers (const std::vector<tcu::Surface>& resultBuffers)
741 static const tcu::Vec4 fullscreenQuad[] =
743 tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f),
744 tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f),
745 tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f),
746 tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f),