Lines Matching defs:programs

7031 	/* Initialize all shader programs */
8447 /* Iterate over both pipelines/programs and verify that calling glUseProgram() /
8555 * locations may be different between the two programs.
8575 * locations may be different between the two programs.
8595 * locations may be different between the two programs.
8615 * locations may be different between the two programs.
8635 * locations may be different between the two programs.
9989 /* Test separable programs */
9992 /* Prepare programs */
10302 * @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
10303 * @param is_separable Select if monolithic or separable programs should be prepared
10305 void FunctionalTest20_21::prepareProgram(Utils::program** programs, bool is_separable)
10326 programs[0]->build(0 /* compute shader source */, fragmenty_shader_code, geometry_shader_code,
10330 programs[m_geometry_stage_index] = programs[m_fragment_stage_index];
10331 programs[m_tesselation_control_stage_index] = programs[m_fragment_stage_index];
10332 programs[m_tesselation_evaluation_stage_index] = programs[m_fragment_stage_index];
10333 programs[m_vertex_stage_index] = programs[m_fragment_stage_index];
10337 programs[m_fragment_stage_index]->build(0, fragmenty_shader_code, 0, 0, 0, 0, 0, 0, true);
10338 programs[m_geometry_stage_index]->build(0, 0, geometry_shader_code, 0, 0, 0, 0, 0, true);
10339 programs[m_tesselation_control_stage_index]->build(0, 0, 0, tesselation_control_shader_code, 0, 0, 0, 0, true);
10340 programs[m_tesselation_evaluation_stage_index]->build(0, 0, 0, 0, tesselation_evaluation_shader_code, 0, 0, 0,
10342 programs[m_vertex_stage_index]->build(0, 0, 0, 0, 0, vertex_shader_code, 0, 0, true);
10349 programs[m_fragment_stage_index]->getSubroutineIndex(subroutine_names[i], GL_FRAGMENT_SHADER);
10352 programs[m_geometry_stage_index]->getSubroutineIndex(subroutine_names[i], GL_GEOMETRY_SHADER);
10355 programs[m_tesselation_control_stage_index]->getSubroutineIndex(subroutine_names[i],
10359 programs[m_tesselation_evaluation_stage_index]->getSubroutineIndex(subroutine_names[i],
10363 programs[m_vertex_stage_index]->getSubroutineIndex(subroutine_names[i], GL_VERTEX_SHADER);
10368 programs[m_fragment_stage_index]->getSubroutineUniformLocation(subroutine_uniform_name, GL_FRAGMENT_SHADER);
10371 programs[m_geometry_stage_index]->getSubroutineUniformLocation(subroutine_uniform_name, GL_GEOMETRY_SHADER);
10374 programs[m_tesselation_control_stage_index]->getSubroutineUniformLocation(subroutine_uniform_name,
10378 programs[m_tesselation_evaluation_stage_index]->getSubroutineUniformLocation(subroutine_uniform_name,
10382 programs[m_vertex_stage_index]->getSubroutineUniformLocation(subroutine_uniform_name, GL_VERTEX_SHADER);
10385 /** Generate program pipeline for current context and attach separable programs
10388 * @param programs Collection of separable programs
10390 void FunctionalTest20_21::prepareProgramPipeline(glw::GLuint& out_pipeline_id, Utils::program** programs)
10403 /* Set up programs */
10404 gl.useProgramStages(out_pipeline_id, GL_FRAGMENT_SHADER_BIT, programs[m_fragment_stage_index]->m_program_object_id);
10407 gl.useProgramStages(out_pipeline_id, GL_GEOMETRY_SHADER_BIT, programs[m_geometry_stage_index]->m_program_object_id);
10411 programs[m_tesselation_control_stage_index]->m_program_object_id);
10415 programs[m_tesselation_evaluation_stage_index]->m_program_object_id);
10418 gl.useProgramStages(out_pipeline_id, GL_VERTEX_SHADER_BIT, programs[m_vertex_stage_index]->m_program_object_id);
10487 * @param programs An array of 5 programs\ pointers, as in preparePrograms
10488 * @param is_separable Selects if monolithic or separable programs should be used
10494 bool FunctionalTest20_21::testProgram(Utils::program** programs, bool is_separable, const glw::GLuint test_cases[][5],
10500 programs[0]->use();
10505 programs[0]->use();
10517 prepareProgramPipeline(m_program_pipelines[m_n_shared_contexts], programs);
10527 prepareProgramPipeline(m_program_pipelines[i], programs);
12104 /* None of the test programs should ever build successfully */
12487 /* None of the test programs should ever build successfully */
13162 /* None of the test programs should ever build successfully */