• Home
  • Raw
  • Download

Lines Matching refs:programs

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],
586 void UniformPreservationTest::prepareProgram(Utils::program** programs, bool is_separable) in prepareProgram() argument
607 programs[0]->build(0 /* compute shader source */, fragmenty_shader_code, geometry_shader_code, in prepareProgram()
611 programs[m_geometry_stage_index] = programs[m_fragment_stage_index]; in prepareProgram()
612 programs[m_tesselation_control_stage_index] = programs[m_fragment_stage_index]; in prepareProgram()
613 programs[m_tesselation_evaluation_stage_index] = programs[m_fragment_stage_index]; in prepareProgram()
614 programs[m_vertex_stage_index] = programs[m_fragment_stage_index]; in prepareProgram()
618 programs[m_fragment_stage_index]->build(0, fragmenty_shader_code, 0, 0, 0, 0, 0, 0, true); in prepareProgram()
619 programs[m_geometry_stage_index]->build(0, 0, geometry_shader_code, 0, 0, 0, 0, 0, true); in prepareProgram()
620programs[m_tesselation_control_stage_index]->build(0, 0, 0, tesselation_control_shader_code, 0, 0,… in prepareProgram()
621programs[m_tesselation_evaluation_stage_index]->build(0, 0, 0, 0, tesselation_evaluation_shader_co… in prepareProgram()
623 programs[m_vertex_stage_index]->build(0, 0, 0, 0, 0, vertex_shader_code, 0, 0, true); in prepareProgram()
630 programs[m_fragment_stage_index]->getSubroutineIndex(subroutine_names[i], GL_FRAGMENT_SHADER); in prepareProgram()
633 programs[m_geometry_stage_index]->getSubroutineIndex(subroutine_names[i], GL_GEOMETRY_SHADER); in prepareProgram()
636 programs[m_tesselation_control_stage_index]->getSubroutineIndex(subroutine_names[i], in prepareProgram()
640 programs[m_tesselation_evaluation_stage_index]->getSubroutineIndex(subroutine_names[i], in prepareProgram()
644 programs[m_vertex_stage_index]->getSubroutineIndex(subroutine_names[i], GL_VERTEX_SHADER); in prepareProgram()
649programs[m_fragment_stage_index]->getSubroutineUniformLocation(subroutine_uniform_name, GL_FRAGMEN… in prepareProgram()
652programs[m_geometry_stage_index]->getSubroutineUniformLocation(subroutine_uniform_name, GL_GEOMETR… in prepareProgram()
655 programs[m_tesselation_control_stage_index]->getSubroutineUniformLocation(subroutine_uniform_name, in prepareProgram()
659programs[m_tesselation_evaluation_stage_index]->getSubroutineUniformLocation(subroutine_uniform_na… in prepareProgram()
663programs[m_vertex_stage_index]->getSubroutineUniformLocation(subroutine_uniform_name, GL_VERTEX_SH… in prepareProgram()
671 …rmPreservationTest::prepareProgramPipeline(glw::GLuint& out_pipeline_id, Utils::program** programs) in prepareProgramPipeline() argument
685 …gl.useProgramStages(out_pipeline_id, GL_FRAGMENT_SHADER_BIT, programs[m_fragment_stage_index]->m_p… in prepareProgramPipeline()
688 …gl.useProgramStages(out_pipeline_id, GL_GEOMETRY_SHADER_BIT, programs[m_geometry_stage_index]->m_p… in prepareProgramPipeline()
692 programs[m_tesselation_control_stage_index]->m_program_object_id); in prepareProgramPipeline()
696 programs[m_tesselation_evaluation_stage_index]->m_program_object_id); in prepareProgramPipeline()
699 …gl.useProgramStages(out_pipeline_id, GL_VERTEX_SHADER_BIT, programs[m_vertex_stage_index]->m_progr… in prepareProgramPipeline()
775 bool UniformPreservationTest::testProgram(Utils::program** programs, bool is_separable, in testProgram() argument
781 programs[0]->use(); in testProgram()
786 programs[0]->use(); in testProgram()
798 prepareProgramPipeline(m_program_pipelines[m_n_shared_contexts], programs); in testProgram()
808 prepareProgramPipeline(m_program_pipelines[i], programs); in testProgram()