/external/mesa3d/src/mesa/main/ |
D | pipelineobj.c | 63 _mesa_reference_program(ctx, &obj->CurrentProgram[i], NULL); in _mesa_delete_pipeline_object() 531 struct gl_program *prog = ctx->_Shader->CurrentProgram[i]; in _mesa_bind_pipeline() 737 *params = pipe->CurrentProgram[MESA_SHADER_VERTEX] in _mesa_GetProgramPipelineiv() 738 ? pipe->CurrentProgram[MESA_SHADER_VERTEX]->Id : 0; in _mesa_GetProgramPipelineiv() 743 *params = pipe->CurrentProgram[MESA_SHADER_TESS_EVAL] in _mesa_GetProgramPipelineiv() 744 ? pipe->CurrentProgram[MESA_SHADER_TESS_EVAL]->Id : 0; in _mesa_GetProgramPipelineiv() 749 *params = pipe->CurrentProgram[MESA_SHADER_TESS_CTRL] in _mesa_GetProgramPipelineiv() 750 ? pipe->CurrentProgram[MESA_SHADER_TESS_CTRL]->Id : 0; in _mesa_GetProgramPipelineiv() 755 *params = pipe->CurrentProgram[MESA_SHADER_GEOMETRY] in _mesa_GetProgramPipelineiv() 756 ? pipe->CurrentProgram[MESA_SHADER_GEOMETRY]->Id : 0; in _mesa_GetProgramPipelineiv() [all …]
|
D | state.c | 97 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in _mesa_update_allow_draw_out_of_order() 99 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in _mesa_update_allow_draw_out_of_order() 101 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in _mesa_update_allow_draw_out_of_order() 103 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in _mesa_update_allow_draw_out_of_order() 105 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in _mesa_update_allow_draw_out_of_order() 167 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in update_program() 169 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in update_program() 171 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in update_program() 173 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in update_program() 175 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in update_program() [all …]
|
D | draw_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() 429 if (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in _mesa_valid_prim_mode() 431 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]-> in _mesa_valid_prim_mode() 434 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in _mesa_valid_prim_mode() 502 if (ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL] || in _mesa_valid_prim_mode() 503 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]) { in _mesa_valid_prim_mode() 535 if(ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in _mesa_valid_prim_mode() 536 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() 115 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchComputeGroupSizeARB() 271 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in valid_dispatch_indirect()
|
D | program_binary.c | 293 if (ctx->_Shader->CurrentProgram[stage] && in _mesa_program_binary() 294 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() 234 if (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY] != NULL) in filter_fp_input_mask() 235 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in filter_fp_input_mask() 236 else if (ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL] != NULL) in filter_fp_input_mask() 237 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in filter_fp_input_mask() 239 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in filter_fp_input_mask()
|
D | state.h | 110 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] || in _mesa_vertex_program_two_side_enabled()
|
D | shaderapi.c | 162 _mesa_reference_program(ctx, &ctx->Shader.CurrentProgram[i], NULL); in _mesa_free_shader_state() 1267 if (obj->CurrentProgram[stage] && in update_programs_in_pipeline() 1268 obj->CurrentProgram[stage]->Id == params->shProg->Name) { in update_programs_in_pipeline() 1302 if (ctx->_Shader->CurrentProgram[stage] && in link_program() 1303 ctx->_Shader->CurrentProgram[stage]->Id == shProg->Name) { in link_program() 2568 target = &shTarget->CurrentProgram[stage]; in _mesa_use_program() 2989 struct gl_program *p = ctx->_Shader->CurrentProgram[stage]; in _mesa_UniformSubroutinesuiv() 3063 struct gl_program *p = ctx->_Shader->CurrentProgram[stage]; in _mesa_GetUniformSubroutineuiv() 3756 if (ctx->_Shader->CurrentProgram[stage]) in _mesa_shader_write_subroutine_indices() 3758 ctx->_Shader->CurrentProgram[stage]); in _mesa_shader_write_subroutine_indices()
|
D | shader_query.cpp | 1881 struct gl_program **prog = (struct gl_program **) pipeline->CurrentProgram; in _mesa_validate_pipeline_io() 1885 for (idx = 0; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_validate_pipeline_io() 1892 for (idx = prev + 1; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_validate_pipeline_io()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_storagebuf.c | 99 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_ssbos() 107 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_ssbos() 115 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_ssbos() 123 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_ssbos() 131 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_ssbos() 139 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_ssbos()
|
D | st_atom_atomicbuf.c | 100 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_atomics() 109 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_atomics() 118 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_atomics() 127 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_atomics() 136 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_atomics() 149 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_atomics()
|
D | st_atom_image.c | 189 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_images() 197 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_images() 205 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_images() 213 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_images() 221 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_images() 229 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_images()
|
D | st_atom_constbuf.c | 255 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_ubos() 264 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_ubos() 273 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_ubos() 282 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_ubos() 291 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_ubos() 300 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 | 45 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_dispatch_compute_common()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_disk_cache.c | 234 struct gl_program *prog = brw->ctx._Shader->CurrentProgram[stage]; in brw_disk_cache_upload_program() 305 prog = brw->ctx._Shader->CurrentProgram[stage]; in brw_disk_cache_write_render_programs() 310 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_disk_cache_write_render_programs() 321 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in brw_disk_cache_write_render_programs() 332 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in brw_disk_cache_write_render_programs() 343 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_disk_cache_write_render_programs() 354 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in brw_disk_cache_write_render_programs() 374 brw->ctx._Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in brw_disk_cache_write_compute_program()
|
D | gen6_sol.c | 117 prog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_gs_upload_binding_table() 144 prog = ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_gs_upload_binding_table() 401 if (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in brw_begin_transform_feedback() 403 prog = ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_begin_transform_feedback() 406 prog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_begin_transform_feedback()
|
D | brw_tcs_surface_state.c | 76 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in brw_upload_tcs_ubo_surfaces()
|
D | brw_tes_surface_state.c | 76 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in brw_upload_tes_ubo_surfaces()
|
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_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()
|