Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/main/
Dpipelineobj.c64 _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 …]
Dapi_validate.c136 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 …]
Dstate.c99 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()
Dtexstate.c703 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()
Dff_fragment_shader.cpp303 (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()
Dshaderapi.c161 _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()
Dshader_query.cpp1589 (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()
Dtransformfeedback.c392 if (ctx->_Shader->CurrentProgram[i] != NULL) in get_xfb_source()
393 return ctx->_Shader->CurrentProgram[i]->_LinkedShaders[i]->Program; in get_xfb_source()
Duniform_query.cpp1093 (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/
Dst_atom_atomicbuf.c76 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()
Dst_atom_storagebuf.c96 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()
Dst_atom_image.c133 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()
Dst_atom_constbuf.c282 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()
Dst_atom_clip.c55 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]) in update_clip()
Dst_cb_compute.c44 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_dispatch_compute_common()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_sol.c115 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()
Dbrw_gs_surface_state.c76 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in brw_upload_gs_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_vs_surface_state.c144 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_upload_vs_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_context.c278 ctx->_Shader->CurrentProgram[i] ? in intel_update_state()
279 ctx->_Shader->CurrentProgram[i]->_LinkedShaders[i] : NULL; in intel_update_state()
Dbrw_wm_surface_state.c1465 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/
Ds_fragprog.c184 if (ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]) { in init_machine()

12