Lines Matching defs:program
276 const glw::GLenum Utils::program::ARB_COMPUTE_SHADER = 0x91B9;
282 Utils::program::program(deqp::Context& context)
298 Utils::program::~program()
303 /** Build program
313 * @param is_separable Selects if monolithis or separable program should be built. Defaults to false
315 void Utils::program::build(const glw::GLchar* compute_shader_code, const glw::GLchar* fragment_shader_code,
372 /* Create program object */
390 /* Link program */
394 void Utils::program::compile(GLuint shader_id, const GLchar* source) const
435 glw::GLint Utils::program::getAttribLocation(const glw::GLchar* name) const
452 GLuint Utils::program::getSubroutineIndex(const glw::GLchar* subroutine_name, glw::GLenum shader_stage) const
477 GLint Utils::program::getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage) const
502 GLint Utils::program::getUniformLocation(const glw::GLchar* uniform_name) const
521 /** Attach shaders and link program
524 void Utils::program::link() const
597 /** Delete program object and all attached shaders
600 void Utils::program::remove()
605 /* Make sure program object is no longer used by GL */
608 /* Clean program object */
656 void Utils::program::use() const
664 void Utils::program::printShaderSource(const GLchar* source, tcu::MessageBuilder& log)
2566 /* Prepare program */
2567 Utils::program program(m_context);
2571 program.build(0 /* compute */, fragment.c_str(), geometry.c_str(), 0 /* tess ctrl */, 0 /* tess eval */,
2581 Utils::program::printShaderSource(exc.m_shader_source.c_str(), message);
2596 program.use();
2626 prepareUniforms(program, draw_call);
2785 void DrawTestBase::prepareUniforms(Utils::program& /* program */, GLuint /* draw_call_index */)
3513 * @param program Program object
3516 void DynamicViewportIndex::prepareUniforms(Utils::program& program, GLuint draw_call_index)
3520 GLint location = program.getUniformLocation("uni_index");
3779 * @param program Program object
3782 void ViewportIndexSubroutine::prepareUniforms(Utils::program& program, GLuint draw_call_index)
3788 GLint location = program.getSubroutineUniformLocation("routine", GL_GEOMETRY_SHADER);
3789 GLuint index = program.getSubroutineIndex(subroutine_name, GL_GEOMETRY_SHADER);