Lines Matching defs:program

357 	glu::ShaderProgram program(m_gl, glu::makeVtxFragSources(vertexShader, fragmentShader));
359 if (!program.isOk())
360 TCU_FAIL("Failed to compile shader program");
403 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram()));
405 GLuint gridLocation = m_gl.getAttribLocation(program.getProgram(), "a_pos");
409 GLuint colorLocation = m_gl.getAttribLocation(program.getProgram(), "a_color");
536 glu::ShaderProgram program(m_gl, glu::makeVtxFragSources(vertexShader, fragmentShader));
538 if (!program.isOk())
539 TCU_FAIL("Failed to compile shader program");
574 GLU_CHECK_GLW_CALL(m_gl, useProgram(program.getProgram()));
576 GLuint coordLocation = m_gl.getAttribLocation(program.getProgram(), "a_pos");
580 GLuint texCoordLocation = m_gl.getAttribLocation(program.getProgram(), "a_texCorod");
585 GLuint samplerLocation = m_gl.getUniformLocation(program.getProgram(), "u_sampler");
732 TCU_FAIL("Failed to compile shader program");
1011 GLuint program = m_gl.createProgram();
1014 GLU_CHECK_GLW_CALL(m_gl, attachShader(program, m_shader));
1015 GLU_CHECK_GLW_CALL(m_gl, attachShader(program, otherShader));
1017 GLU_CHECK_GLW_CALL(m_gl, linkProgram(program));
1021 GLU_CHECK_GLW_CALL(m_gl, getProgramiv(program, GL_LINK_STATUS, &status));
1026 GLU_CHECK_GLW_CALL(m_gl, getProgramInfoLog(program, 256, DE_NULL, buffer));
1028 m_log << tcu::TestLog::Message << "Failed to link program" << tcu::TestLog::EndMessage;
1033 TCU_FAIL("Failed to link program");
1066 GLU_CHECK_GLW_CALL(m_gl, useProgram(program));
1068 GLuint coordLocation = m_gl.getAttribLocation(program, "a_pos");
1072 GLuint colorLocation = m_gl.getAttribLocation(program, "a_color");
1270 TestCaseGroup* program = new TestCaseGroup(m_eglTestCtx, "program", "Program creation, destruction and rendering test");
1283 program->addChild(new GLES2ProgramSharingTest(m_eglTestCtx, "create_delete", "Create and delete on shared context", spec));
1296 program->addChild(new GLES2ProgramSharingTest(m_eglTestCtx, "create_delete_mixed", "Create and delete on different contexts", spec));
1309 program->addChild(new GLES2ProgramSharingTest(m_eglTestCtx, "render", "Create, render in two contexts and delete", spec));
1312 gles2->addChild(program);