Lines Matching refs:size

21  * \brief Multisample texture size tests
92 void createTexture (const tcu::IVec3& size);
94 void runShader (tcu::Surface& dst, const tcu::IVec3& size);
174 TCU_THROW(NotSupportedError, "rendertarget size must be at least 1x1");
272 m_testCtx.getLog() << tcu::TestLog::Message << "\nIteration " << (m_iteration+1) << " / " << (int)m_iterations.size() << tcu::TestLog::EndMessage;
276 // set texture size
280 // query texture size
286 m_testCtx.getLog() << tcu::TestLog::Message << "Got GL_OUT_OF_MEMORY, skipping this size" << tcu::TestLog::EndMessage;
307 if (++m_iteration < (int)m_iterations.size())
313 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid texture size");
317 m_testCtx.getLog() << tcu::TestLog::Message << "Could not test any texture size, texture creation failed." << tcu::TestLog::EndMessage;
408 void TextureSizeCase::createTexture (const tcu::IVec3& size)
413 m_testCtx.getLog() << tcu::TestLog::Message << "Creating texture with size " << size.x() << "x" << size.y() << tcu::TestLog::EndMessage;
415 m_testCtx.getLog() << tcu::TestLog::Message << "Creating texture with size " << size.x() << "x" << size.y() << "x" << size.z() << tcu::TestLog::EndMessage;
422 gl.texStorage2DMultisample(getTextureGLTarget(), m_numSamples, getTextureGLInternalFormat(), size.x(), size.y(), GL_FALSE);
424 gl.texStorage3DMultisample(getTextureGLTarget(), m_numSamples, getTextureGLInternalFormat(), size.x(), size.y(), size.z(), GL_FALSE);
441 void TextureSizeCase::runShader (tcu::Surface& dst, const tcu::IVec3& size)
467 gl.uniform3iv(shaderSizeLoc, 1, size.getPtr());
469 gl.uniform2iv(shaderSizeLoc, 1, size.getPtr());
509 m_testCtx.getLog() << tcu::TestLog::Message << "Image size incorrect." << tcu::TestLog::EndMessage;
520 : TestCaseGroup(context, "texture_size", "Texture size tests")