Lines Matching defs:program

1827 	void							renderWithContext			(sglr::Context& ctx, sglr::ShaderProgram& program, tcu::Surface& dstSurface);
1944 sglr::ShaderProgram& program = getProgram();
1946 renderWithContext(*m_glContext, program, *m_glResult);
1947 renderWithContext(*m_refContext, program, *m_refResult);
2060 void GeometryShaderRenderTest::renderWithContext (sglr::Context& ctx, sglr::ShaderProgram& program, tcu::Surface& dstSurface)
2064 const GLuint programId = ctx.createProgram(&program);
3057 const tcu::ScopedLogSection section(m_testCtx.getLog(), "RenderToTextureShader", "Create layered rendering shader program");
3077 const tcu::ScopedLogSection section(m_testCtx.getLog(), "TextureSamplerShader", "Create shader sampler program");
3470 GLU_EXPECT_NO_ERROR(gl.getError(), "setup program");
3979 void expectProgramValue (deUint32 program, int value);
3980 void expectQueryError (deUint32 program);
4028 const glu::ShaderProgram program (m_context.getRenderContext(),
4034 m_testCtx.getLog() << program;
4035 expectProgramValue(program.getProgram(), m_cases[ndx].value);
4041 const glu::ShaderProgram program (m_context.getRenderContext(),
4046 m_testCtx.getLog() << program;
4047 expectQueryError(program.getProgram());
4052 const tcu::ScopedLogSection section (m_testCtx.getLog(), "NotLinkedProgram", "Shader program not linked");
4067 glu::Program program (m_context.getRenderContext());
4082 program.attachShader(vertexShader.getShader());
4083 program.attachShader(fragmentShader.getShader());
4084 program.attachShader(geometryShader.getShader());
4086 m_testCtx.getLog() << tcu::TestLog::Message << "Creating a program with geometry shader, but not linking it" << tcu::TestLog::EndMessage;
4088 expectQueryError(program.getProgram());
4094 void GeometryProgramQueryCase::expectProgramValue (deUint32 program, int value)
4099 gl.getProgramiv(program, m_target, &state);
4114 void GeometryProgramQueryCase::expectQueryError (deUint32 program)
4121 gl.getProgramiv(program, m_target, &unused);
4667 const de::UniquePtr<glu::ShaderProgram> program(new glu::ShaderProgram(m_context.getRenderContext(),
4674 m_testCtx.getLog() << *program;
4676 if (!program->isOk())
4760 throw tcu::TestError("could not build program");
5335 const glu::ShaderProgram program(m_context.getRenderContext(), glu::ProgramSources()
5339 m_testCtx.getLog() << program;
5351 resourcePos = gl.glGetProgramResourceIndex(program.getProgram(), GL_UNIFORM, "u_offset");
5354 gl.glGetProgramResourceiv(program.getProgram(), GL_UNIFORM, resourcePos, 1, props, 1, &length, &referenced);
5583 throw tcu::TestError("could not build program");
5922 throw tcu::TestError("could not build program");
6150 // program queries