/external/mesa3d/src/mesa/main/ |
D | pipelineobj.c | 64 _mesa_reference_shader_program(ctx, &obj->CurrentProgram[i], NULL); in _mesa_delete_pipeline_object() 472 _mesa_shader_program_init_subroutine_defaults(ctx, ctx->_Shader->CurrentProgram[i]); in _mesa_bind_pipeline() 655 *params = pipe->CurrentProgram[MESA_SHADER_VERTEX] in _mesa_GetProgramPipelineiv() 656 ? pipe->CurrentProgram[MESA_SHADER_VERTEX]->Name : 0; in _mesa_GetProgramPipelineiv() 661 *params = pipe->CurrentProgram[MESA_SHADER_TESS_EVAL] in _mesa_GetProgramPipelineiv() 662 ? pipe->CurrentProgram[MESA_SHADER_TESS_EVAL]->Name : 0; in _mesa_GetProgramPipelineiv() 667 *params = pipe->CurrentProgram[MESA_SHADER_TESS_CTRL] in _mesa_GetProgramPipelineiv() 668 ? pipe->CurrentProgram[MESA_SHADER_TESS_CTRL]->Name : 0; in _mesa_GetProgramPipelineiv() 673 *params = pipe->CurrentProgram[MESA_SHADER_GEOMETRY] in _mesa_GetProgramPipelineiv() 674 ? pipe->CurrentProgram[MESA_SHADER_GEOMETRY]->Name : 0; in _mesa_GetProgramPipelineiv() [all …]
|
D | api_validate.c | 136 if (!ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] in _mesa_valid_to_render() 143 if (!ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]) { in _mesa_valid_to_render() 194 struct gl_shader_program **shProg = ctx->_Shader->CurrentProgram; in _mesa_valid_to_render() 401 if (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in _mesa_valid_prim_mode() 403 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]-> in _mesa_valid_prim_mode() 406 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in _mesa_valid_prim_mode() 476 if (ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL] || in _mesa_valid_prim_mode() 477 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]) { in _mesa_valid_prim_mode() 509 if(ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in _mesa_valid_prim_mode() 510 switch (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]-> in _mesa_valid_prim_mode() [all …]
|
D | state.c | 99 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in update_program() 101 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in update_program() 103 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in update_program() 105 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in update_program() 107 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in update_program() 109 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in update_program() 358 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] || in update_twoside()
|
D | texstate.c | 703 if (ctx->_Shader->CurrentProgram[i] && in update_texture_state() 704 ctx->_Shader->CurrentProgram[i]->data->LinkStatus) { in update_texture_state() 705 prog[i] = ctx->_Shader->CurrentProgram[i]->_LinkedShaders[i]->Program; in update_texture_state()
|
D | ff_fragment_shader.cpp | 303 (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] && in get_fp_input_mask() 304 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]->data->LinkStatus && in get_fp_input_mask() 305 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]->_LinkedShaders[MESA_SHADER_VERTEX]); in get_fp_input_mask() 369 …vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]->_LinkedShaders[MESA_SHADER_VERTEX]->Prog… in get_fp_input_mask()
|
D | shaderapi.c | 161 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentProgram[i], in _mesa_free_shader_state() 1220 target = &shTarget->CurrentProgram[stage]; in use_shader_program() 2610 shProg = ctx->_Shader->CurrentProgram[stage]; in _mesa_UniformSubroutinesuiv() 2694 shProg = ctx->_Shader->CurrentProgram[stage]; in _mesa_GetUniformSubroutineuiv() 2872 if (ctx->_Shader->CurrentProgram[stage] && in _mesa_shader_write_subroutine_indices() 2873 ctx->_Shader->CurrentProgram[stage]->_LinkedShaders[stage]) in _mesa_shader_write_subroutine_indices() 2875 … ctx->_Shader->CurrentProgram[stage]->_LinkedShaders[stage]->Program); in _mesa_shader_write_subroutine_indices()
|
D | shader_query.cpp | 1589 (struct gl_shader_program **) pipeline->CurrentProgram; in _mesa_validate_pipeline_io() 1593 for (idx = 0; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_validate_pipeline_io() 1600 for (idx = prev + 1; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_validate_pipeline_io()
|
D | transformfeedback.c | 392 if (ctx->_Shader->CurrentProgram[i] != NULL) in get_xfb_source() 393 return ctx->_Shader->CurrentProgram[i]->_LinkedShaders[i]->Program; in get_xfb_source()
|
D | uniform_query.cpp | 1093 (const struct gl_shader_program **) pipeline->CurrentProgram; in _mesa_sampler_uniforms_pipeline_are_valid() 1098 for (unsigned idx = 0; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_sampler_uniforms_pipeline_are_valid()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_atomicbuf.c | 76 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in bind_vs_atomics() 89 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in bind_fs_atomics() 102 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in bind_gs_atomics() 115 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in bind_tcs_atomics() 128 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in bind_tes_atomics() 141 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in bind_cs_atomics()
|
D | st_atom_storagebuf.c | 96 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in bind_vs_ssbos() 112 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in bind_fs_ssbos() 128 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in bind_gs_ssbos() 144 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in bind_tcs_ssbos() 160 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in bind_tes_ssbos() 176 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in bind_cs_ssbos()
|
D | st_atom_image.c | 133 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in bind_vs_images() 148 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in bind_fs_images() 163 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in bind_gs_images() 178 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in bind_tcs_images() 193 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in bind_tes_images() 208 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in bind_cs_images()
|
D | st_atom_constbuf.c | 282 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in bind_vs_ubos() 297 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in bind_fs_ubos() 312 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in bind_gs_ubos() 327 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in bind_tcs_ubos() 342 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in bind_tes_ubos() 357 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in bind_cs_ubos()
|
D | st_atom_clip.c | 55 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]) in update_clip()
|
D | st_cb_compute.c | 44 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_dispatch_compute_common()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen6_sol.c | 115 shaderprog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_gs_upload_binding_table() 143 shaderprog = ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_gs_upload_binding_table() 235 if (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in brw_begin_transform_feedback() 238 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_begin_transform_feedback() 242 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_begin_transform_feedback()
|
D | brw_gs_surface_state.c | 76 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_upload_gs_ubo_surfaces()
|
D | brw_tes_surface_state.c | 76 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in brw_upload_tes_ubo_surfaces()
|
D | brw_tcs_surface_state.c | 76 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in brw_upload_tcs_ubo_surfaces()
|
D | brw_vs_surface_state.c | 144 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_upload_vs_ubo_surfaces()
|
D | brw_ff_gs.c | 199 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_ff_gs_populate_key()
|
D | gen7_l3_state.c | 53 brw->ctx._Shader->CurrentProgram[stage_states[i]->stage]; in get_pipeline_state_l3_weights()
|
D | brw_context.c | 278 ctx->_Shader->CurrentProgram[i] ? in intel_update_state() 279 ctx->_Shader->CurrentProgram[i]->_LinkedShaders[i] : NULL; in intel_update_state()
|
D | brw_wm_surface_state.c | 1465 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in brw_upload_cs_ubo_surfaces() 1848 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in brw_upload_cs_work_groups_surface()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_fragprog.c | 184 if (ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]) { in init_machine()
|