/third_party/mesa3d/src/mesa/main/ |
D | draw_validate.c | 142 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in _mesa_update_valid_to_render_state() 150 if (!shader->CurrentProgram[MESA_SHADER_FRAGMENT]) { in _mesa_update_valid_to_render_state() 186 if (shader->CurrentProgram[MESA_SHADER_TESS_CTRL] && in _mesa_update_valid_to_render_state() 187 !shader->CurrentProgram[MESA_SHADER_TESS_EVAL]) in _mesa_update_valid_to_render_state() 200 shader->CurrentProgram[MESA_SHADER_TESS_EVAL] && in _mesa_update_valid_to_render_state() 201 !shader->CurrentProgram[MESA_SHADER_TESS_CTRL]) in _mesa_update_valid_to_render_state() 237 if (!shader->CurrentProgram[MESA_SHADER_VERTEX] && in _mesa_update_valid_to_render_state() 294 if(shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in _mesa_update_valid_to_render_state() 295 switch (shader->CurrentProgram[MESA_SHADER_GEOMETRY]-> in _mesa_update_valid_to_render_state() 313 else if (shader->CurrentProgram[MESA_SHADER_TESS_EVAL]) { in _mesa_update_valid_to_render_state() [all …]
|
D | pipelineobj.c | 65 _mesa_reference_program(ctx, &obj->CurrentProgram[i], NULL); in _mesa_delete_pipeline_object() 538 struct gl_program *prog = ctx->_Shader->CurrentProgram[i]; in _mesa_bind_pipeline() 745 *params = pipe->CurrentProgram[MESA_SHADER_VERTEX] in _mesa_GetProgramPipelineiv() 746 ? pipe->CurrentProgram[MESA_SHADER_VERTEX]->Id : 0; in _mesa_GetProgramPipelineiv() 751 *params = pipe->CurrentProgram[MESA_SHADER_TESS_EVAL] in _mesa_GetProgramPipelineiv() 752 ? pipe->CurrentProgram[MESA_SHADER_TESS_EVAL]->Id : 0; in _mesa_GetProgramPipelineiv() 757 *params = pipe->CurrentProgram[MESA_SHADER_TESS_CTRL] in _mesa_GetProgramPipelineiv() 758 ? pipe->CurrentProgram[MESA_SHADER_TESS_CTRL]->Id : 0; in _mesa_GetProgramPipelineiv() 763 *params = pipe->CurrentProgram[MESA_SHADER_GEOMETRY] in _mesa_GetProgramPipelineiv() 764 ? pipe->CurrentProgram[MESA_SHADER_GEOMETRY]->Id : 0; in _mesa_GetProgramPipelineiv() [all …]
|
D | state.c | 100 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in _mesa_update_allow_draw_out_of_order() 102 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in _mesa_update_allow_draw_out_of_order() 104 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in _mesa_update_allow_draw_out_of_order() 106 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in _mesa_update_allow_draw_out_of_order() 108 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in _mesa_update_allow_draw_out_of_order() 170 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in update_program() 172 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in update_program() 174 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in update_program() 176 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in update_program() 178 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in update_program() [all …]
|
D | compute.c | 51 if (ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE] == NULL) { in check_valid_to_compute() 98 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchCompute() 121 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchComputeGroupSizeARB() 277 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in valid_dispatch_indirect() 329 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in dispatch_compute() 374 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in dispatch_compute_indirect()
|
D | program_binary.c | 295 if (ctx->_Shader->CurrentProgram[stage] && in _mesa_program_binary() 296 ctx->_Shader->CurrentProgram[stage]->Id == sh_prog->Name) { in _mesa_program_binary()
|
D | ff_fragment_shader.cpp | 175 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] != NULL; in filter_fp_input_mask() 231 if (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY] != NULL) in filter_fp_input_mask() 232 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in filter_fp_input_mask() 233 else if (ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL] != NULL) in filter_fp_input_mask() 234 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in filter_fp_input_mask() 236 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in filter_fp_input_mask()
|
D | state.h | 105 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] || in _mesa_vertex_program_two_side_enabled()
|
D | glthread_get.c | 63 *p = ctx->GLThread.CurrentProgram; in _mesa_marshal_GetIntegerv()
|
D | shaderapi.c | 233 _mesa_reference_program(ctx, &ctx->Shader.CurrentProgram[i], NULL); in _mesa_free_shader_state() 1286 if (obj->CurrentProgram[stage] && in update_programs_in_pipeline() 1287 obj->CurrentProgram[stage]->Id == params->shProg->Name) { in update_programs_in_pipeline() 1321 if (ctx->_Shader->CurrentProgram[stage] && in link_program() 1322 ctx->_Shader->CurrentProgram[stage]->Id == shProg->Name) { in link_program() 2611 target = &shTarget->CurrentProgram[stage]; in _mesa_use_program() 3038 struct gl_program *p = ctx->_Shader->CurrentProgram[stage]; in _mesa_UniformSubroutinesuiv() 3112 struct gl_program *p = ctx->_Shader->CurrentProgram[stage]; in _mesa_GetUniformSubroutineuiv() 3803 if (ctx->_Shader->CurrentProgram[stage]) in _mesa_shader_write_subroutine_indices() 3805 ctx->_Shader->CurrentProgram[stage]); in _mesa_shader_write_subroutine_indices()
|
D | glthread.h | 239 GLuint CurrentProgram; member
|
D | shader_query.cpp | 2108 struct gl_program **prog = (struct gl_program **) pipeline->CurrentProgram; in _mesa_validate_pipeline_io() 2112 for (idx = 0; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_validate_pipeline_io() 2119 for (idx = prev + 1; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_validate_pipeline_io()
|
D | transformfeedback.c | 325 if (ctx->_Shader->CurrentProgram[i] != NULL) in get_xfb_source() 326 return ctx->_Shader->CurrentProgram[i]; in get_xfb_source()
|
D | uniform_query.cpp | 2198 (const struct gl_program **) pipeline->CurrentProgram; in _mesa_sampler_uniforms_pipeline_are_valid() 2203 for (unsigned idx = 0; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_sampler_uniforms_pipeline_are_valid()
|
D | texstate.c | 899 memcpy(prog, ctx->_Shader->CurrentProgram, sizeof(prog)); in _mesa_update_texture_state()
|
D | mtypes.h | 2315 struct gl_program *CurrentProgram[MESA_SHADER_STAGES]; member
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_storagebuf.c | 98 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_ssbos() 106 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_ssbos() 114 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_ssbos() 122 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_ssbos() 130 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_ssbos() 138 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_ssbos()
|
D | st_atom_atomicbuf.c | 102 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_atomics() 111 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_atomics() 120 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_atomics() 129 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_atomics() 138 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_atomics() 151 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_atomics()
|
D | st_atom_image.c | 187 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_images() 195 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_images() 203 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_images() 211 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_images() 219 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_images() 227 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_images()
|
D | st_atom_constbuf.c | 304 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_ubos() 313 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_ubos() 322 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_ubos() 331 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_ubos() 340 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_ubos() 349 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_ubos()
|
D | st_atom_clip.c | 54 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]) in st_update_clip()
|
D | st_program.c | 646 bool use_eye = st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] != NULL; in lower_ucp()
|
D | st_cb_drawpixels.c | 1546 !ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT] && in blit_copy_pixels()
|
/third_party/mesa3d/docs/relnotes/ |
D | 7.10.rst | 1600 - mesa: Track an ActiveProgram distinct from CurrentProgram
|