Lines Matching refs:program
43 * are preserved for each program stage when switching rendering context.
46 * * Same as above, but use pipelines instead of monolithic program.
80 void prepareProgram(Utils::program** programs, bool is_separable);
82 void prepareProgramPipeline(glw::GLuint& pipeline_id, Utils::program** programs);
86 bool testProgram(Utils::program** programs, bool is_separable, const glw::GLuint test_cases[][5],
236 Utils::program* program_pointers[5];
238 /* Test monolithic program */
240 /* Prepare program */
241 Utils::program program(*m_base_context.get());
243 program_pointers[m_fragment_stage_index] = &program;
250 m_testCtx.getLog() << tcu::TestLog::Message << "Last error message was caused by monolithic program."
261 Utils::program vertex_program(*m_base_context.get());
262 Utils::program tesselation_control_program(*m_base_context.get());
263 Utils::program tesselation_evaluation_program(*m_base_context.get());
264 Utils::program geometry_program(*m_base_context.get());
265 Utils::program fragment_program(*m_base_context.get());
278 m_testCtx.getLog() << tcu::TestLog::Message << "Last error message was caused by separable program."
297 /** Query state of subroutine uniforms of current program/pipeline
581 /** Prepare program(s)
583 * @param programs An array of 5 programs' pointers. If monolithic program is prepared that only index m_fragment_stage_index should be initialized, otherwise all 5
586 void UniformPreservationTest::prepareProgram(Utils::program** programs, bool is_separable)
604 /* Build program */
666 /** Generate program pipeline for current context and attach separable programs
671 void UniformPreservationTest::prepareProgramPipeline(glw::GLuint& out_pipeline_id, Utils::program** programs)
766 /** Test a program or pipeline
775 bool UniformPreservationTest::testProgram(Utils::program** programs, bool is_separable,
778 /* Set program/pipeline as current for all contexts */
794 /* Make sure that program pipeline will be used */
804 /* Make sure that program pipeline will be used */
826 /** Set up subroutine uniforms for current program or pipeline