/external/mesa3d/src/mesa/main/ |
D | pipelineobj.c | 62 _mesa_reference_program(ctx, &obj->CurrentProgram[i], NULL); in _mesa_delete_pipeline_object() 530 struct gl_program *prog = ctx->_Shader->CurrentProgram[i]; in _mesa_bind_pipeline() 736 *params = pipe->CurrentProgram[MESA_SHADER_VERTEX] in _mesa_GetProgramPipelineiv() 737 ? pipe->CurrentProgram[MESA_SHADER_VERTEX]->Id : 0; in _mesa_GetProgramPipelineiv() 742 *params = pipe->CurrentProgram[MESA_SHADER_TESS_EVAL] in _mesa_GetProgramPipelineiv() 743 ? pipe->CurrentProgram[MESA_SHADER_TESS_EVAL]->Id : 0; in _mesa_GetProgramPipelineiv() 748 *params = pipe->CurrentProgram[MESA_SHADER_TESS_CTRL] in _mesa_GetProgramPipelineiv() 749 ? pipe->CurrentProgram[MESA_SHADER_TESS_CTRL]->Id : 0; in _mesa_GetProgramPipelineiv() 754 *params = pipe->CurrentProgram[MESA_SHADER_GEOMETRY] in _mesa_GetProgramPipelineiv() 755 ? pipe->CurrentProgram[MESA_SHADER_GEOMETRY]->Id : 0; in _mesa_GetProgramPipelineiv() [all …]
|
D | state.c | 76 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in update_program() 78 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in update_program() 80 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in update_program() 82 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in update_program() 84 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in update_program() 86 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in update_program()
|
D | api_validate.c | 136 if (!ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] && in _mesa_valid_to_render() 144 if (!ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]) { in _mesa_valid_to_render() 209 struct gl_program **prog = ctx->_Shader->CurrentProgram; in _mesa_valid_to_render() 410 if (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in _mesa_valid_prim_mode() 412 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]-> in _mesa_valid_prim_mode() 415 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in _mesa_valid_prim_mode() 483 if (ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL] || in _mesa_valid_prim_mode() 484 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]) { in _mesa_valid_prim_mode() 516 if(ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in _mesa_valid_prim_mode() 517 switch (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]-> in _mesa_valid_prim_mode() [all …]
|
D | compute.c | 44 if (ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE] == NULL) { in check_valid_to_compute() 91 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchCompute() 117 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchComputeGroupSizeARB() 236 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in valid_dispatch_indirect()
|
D | state.h | 96 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] || in _mesa_vertex_program_two_side_enabled()
|
D | shaderapi.c | 161 _mesa_reference_program(ctx, &ctx->Shader.CurrentProgram[i], NULL); in _mesa_free_shader_state() 1196 if (ctx->_Shader->CurrentProgram[stage] && in link_program() 1197 ctx->_Shader->CurrentProgram[stage]->Id == shProg->Name) { in link_program() 2420 target = &shTarget->CurrentProgram[stage]; in _mesa_use_program() 2836 struct gl_program *p = ctx->_Shader->CurrentProgram[stage]; in _mesa_UniformSubroutinesuiv() 2910 struct gl_program *p = ctx->_Shader->CurrentProgram[stage]; in _mesa_GetUniformSubroutineuiv() 3076 if (ctx->_Shader->CurrentProgram[stage]) in _mesa_shader_write_subroutine_indices() 3078 ctx->_Shader->CurrentProgram[stage]); in _mesa_shader_write_subroutine_indices()
|
D | shader_query.cpp | 1670 struct gl_program **prog = (struct gl_program **) pipeline->CurrentProgram; in _mesa_validate_pipeline_io() 1674 for (idx = 0; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_validate_pipeline_io() 1681 for (idx = prev + 1; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_validate_pipeline_io()
|
D | transformfeedback.c | 377 if (ctx->_Shader->CurrentProgram[i] != NULL) in get_xfb_source() 378 return ctx->_Shader->CurrentProgram[i]; in get_xfb_source()
|
D | ff_fragment_shader.cpp | 175 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] != NULL; in filter_fp_input_mask() 233 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in filter_fp_input_mask()
|
/external/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 | 82 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_atomics() 91 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_atomics() 100 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_atomics() 109 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_atomics() 118 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_atomics() 131 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_atomics()
|
D | st_atom_image.c | 169 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_images() 177 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_images() 185 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_images() 193 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_images() 201 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_images() 209 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_images()
|
D | st_atom_constbuf.c | 229 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_ubos() 237 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_ubos() 245 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_ubos() 253 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_ubos() 261 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_ubos() 269 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_cb_compute.c | 44 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_dispatch_compute_common()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_disk_cache.c | 253 struct gl_program *prog = brw->ctx._Shader->CurrentProgram[stage]; in brw_disk_cache_upload_program() 330 brw->ctx._Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_disk_cache_write_render_programs() 341 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in brw_disk_cache_write_render_programs() 352 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in brw_disk_cache_write_render_programs() 363 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_disk_cache_write_render_programs() 374 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in brw_disk_cache_write_render_programs() 394 brw->ctx._Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in brw_disk_cache_write_compute_program()
|
D | gen6_sol.c | 116 prog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_gs_upload_binding_table() 143 prog = ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_gs_upload_binding_table() 402 if (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in brw_begin_transform_feedback() 404 prog = ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_begin_transform_feedback() 407 prog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_begin_transform_feedback()
|
D | brw_vs_surface_state.c | 80 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_upload_vs_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_gs_surface_state.c | 76 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_upload_gs_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_vs.c | 53 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]) { in brw_select_clip_planes()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_fragprog.c | 184 if (ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]) { in init_machine()
|