Home
last modified time | relevance | path

Searched refs:CurrentProgram (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dpipelineobj.c62 _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 …]
Dstate.c76 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()
Dapi_validate.c136 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 …]
Dcompute.c44 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()
Dstate.h96 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] || in _mesa_vertex_program_two_side_enabled()
Dshaderapi.c161 _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()
Dshader_query.cpp1670 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()
Dtransformfeedback.c377 if (ctx->_Shader->CurrentProgram[i] != NULL) in get_xfb_source()
378 return ctx->_Shader->CurrentProgram[i]; in get_xfb_source()
Dff_fragment_shader.cpp175 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/
Dst_atom_storagebuf.c98 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()
Dst_atom_atomicbuf.c82 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()
Dst_atom_image.c169 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()
Dst_atom_constbuf.c229 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()
Dst_atom_clip.c54 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]) in st_update_clip()
Dst_cb_compute.c44 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_dispatch_compute_common()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_disk_cache.c253 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()
Dgen6_sol.c116 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()
Dbrw_vs_surface_state.c80 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_upload_vs_ubo_surfaces()
Dbrw_tes_surface_state.c76 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in brw_upload_tes_ubo_surfaces()
Dbrw_tcs_surface_state.c76 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in brw_upload_tcs_ubo_surfaces()
Dbrw_gs_surface_state.c76 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_upload_gs_ubo_surfaces()
Dbrw_ff_gs.c199 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_ff_gs_populate_key()
Dgen7_l3_state.c53 brw->ctx._Shader->CurrentProgram[stage_states[i]->stage]; in get_pipeline_state_l3_weights()
Dbrw_vs.c53 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]) { in brw_select_clip_planes()
/external/mesa3d/src/mesa/swrast/
Ds_fragprog.c184 if (ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]) { in init_machine()

12