Lines Matching refs:glu
181 static void genBasicSpec (gls::DrawTestSpec& spec, glu::ContextType contextType, gls::DrawTestSpec::DrawMethod method)
183 spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI();
263 glu::ContextType contextType = m_context.getRenderContext().getType();
266 spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI();
300 glu::ContextType contextType = m_context.getRenderContext().getType();
303 spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI();
348 glu::ContextType contextType = m_context.getRenderContext().getType();
351 spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI();
410 glu::ContextType contextType = m_context.getRenderContext().getType();
413 spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI();
924 glu::checkError(ctx.getError(), "", __FILE__, __LINE__);
938 glu::checkError(ctx.getError(), "", __FILE__, __LINE__);
1032 glu::ShaderProgram* m_shaderProgram;
1068 m_shaderProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_colorVertexShaderSource) << glu::FragmentSource(s_colorFragmentShaderSource));
1171 m_testCtx.getLog() << tcu::TestLog::Message << "Memory barrier. Barriers = " << glu::getMemoryBarrierFlagsStr(barriers) << tcu::TestLog::EndMessage;
1180 catch (glu::OutOfMemoryError&)
1399 glu::checkError(gl.getError(), "create draw command", __FILE__, __LINE__);
1467 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
1494 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
1511 gl.vertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 8 * (int)sizeof(float), glu::BufferOffsetAsPointer(4*sizeof(float)));
1532 const void* offset = glu::BufferOffsetAsPointer(drawCmdNdx*m_commandSize);
1546 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
1549 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
1551 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
1552 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
1588 glu::ShaderProgram* m_computeProgram;
1606 m_computeProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(genComputeSource(m_computeCmd, m_computeData, m_computeIndices)));
1642 glu::checkError(gl.getError(), "use compute shader", __FILE__, __LINE__);
1682 glu::checkError(gl.getError(), "setup buffers", __FILE__, __LINE__);
1689 glu::checkError(gl.getError(), "calculate", __FILE__, __LINE__);
1707 glu::ShaderProgram* m_computeCmdProgram;
1708 glu::ShaderProgram* m_computeDataProgram;
1709 glu::ShaderProgram* m_computeIndicesProgram;
1731 m_computeCmdProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(genCmdComputeSource()));
1742 m_computeDataProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(genDataComputeSource()));
1753 m_computeIndicesProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(genIndexComputeSource()));
1828 glu::checkError(gl.getError(), "calculate cmd", __FILE__, __LINE__);
1856 glu::checkError(gl.getError(), "calculate data", __FILE__, __LINE__);
1884 glu::checkError(gl.getError(), "calculate indices", __FILE__, __LINE__);
1887 glu::checkError(gl.getError(), "post dispatch", __FILE__, __LINE__);
2146 glu::ContextType contextType = m_context.getRenderContext().getType();
2147 glu::ApiType apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3,1) : contextType.getAPI();
2318 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_commonVertexShaderSource) << glu::FragmentSource(s_commonFragmentShaderSource));
2340 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2350 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2355 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2360 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2376 m_testCtx.getLog() << tcu::TestLog::Message << "drawElementsIndirect generated " << glu::getErrorStr(error) << ", expecting " << glu::getErrorStr(m_expectedError) << "." << tcu::TestLog::EndMessage;
2458 if (!glu::isContextTypeES(m_context.getRenderContext().getType()))
2489 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_commonVertexShaderSource) << glu::FragmentSource(s_commonFragmentShaderSource));
2505 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2513 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2525 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2534 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2542 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2549 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2566 m_testCtx.getLog() << tcu::TestLog::Message << "Unexpected error. Expected GL_INVALID_OPERATION, got " << glu::getErrorStr(error) << tcu::TestLog::EndMessage;
2633 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_commonVertexShaderSource) << glu::FragmentSource(s_commonFragmentShaderSource));
2644 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2658 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2667 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2697 glu::checkError(gl.getError(), "", __FILE__, __LINE__);
2715 m_testCtx.getLog() << tcu::TestLog::Message << "Unexpected error. Expected GL_INVALID_ENUM, got " << glu::getErrorStr(error) << tcu::TestLog::EndMessage;