Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Ddraw_validate.c142 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in _mesa_update_valid_to_render_state()
150 if (!shader->CurrentProgram[MESA_SHADER_FRAGMENT]) { in _mesa_update_valid_to_render_state()
186 if (shader->CurrentProgram[MESA_SHADER_TESS_CTRL] && in _mesa_update_valid_to_render_state()
187 !shader->CurrentProgram[MESA_SHADER_TESS_EVAL]) in _mesa_update_valid_to_render_state()
200 shader->CurrentProgram[MESA_SHADER_TESS_EVAL] && in _mesa_update_valid_to_render_state()
201 !shader->CurrentProgram[MESA_SHADER_TESS_CTRL]) in _mesa_update_valid_to_render_state()
237 if (!shader->CurrentProgram[MESA_SHADER_VERTEX] && in _mesa_update_valid_to_render_state()
294 if(shader->CurrentProgram[MESA_SHADER_GEOMETRY]) { in _mesa_update_valid_to_render_state()
295 switch (shader->CurrentProgram[MESA_SHADER_GEOMETRY]-> in _mesa_update_valid_to_render_state()
313 else if (shader->CurrentProgram[MESA_SHADER_TESS_EVAL]) { in _mesa_update_valid_to_render_state()
[all …]
Dpipelineobj.c65 _mesa_reference_program(ctx, &obj->CurrentProgram[i], NULL); in _mesa_delete_pipeline_object()
538 struct gl_program *prog = ctx->_Shader->CurrentProgram[i]; in _mesa_bind_pipeline()
745 *params = pipe->CurrentProgram[MESA_SHADER_VERTEX] in _mesa_GetProgramPipelineiv()
746 ? pipe->CurrentProgram[MESA_SHADER_VERTEX]->Id : 0; in _mesa_GetProgramPipelineiv()
751 *params = pipe->CurrentProgram[MESA_SHADER_TESS_EVAL] in _mesa_GetProgramPipelineiv()
752 ? pipe->CurrentProgram[MESA_SHADER_TESS_EVAL]->Id : 0; in _mesa_GetProgramPipelineiv()
757 *params = pipe->CurrentProgram[MESA_SHADER_TESS_CTRL] in _mesa_GetProgramPipelineiv()
758 ? pipe->CurrentProgram[MESA_SHADER_TESS_CTRL]->Id : 0; in _mesa_GetProgramPipelineiv()
763 *params = pipe->CurrentProgram[MESA_SHADER_GEOMETRY] in _mesa_GetProgramPipelineiv()
764 ? pipe->CurrentProgram[MESA_SHADER_GEOMETRY]->Id : 0; in _mesa_GetProgramPipelineiv()
[all …]
Dstate.c100 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in _mesa_update_allow_draw_out_of_order()
102 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in _mesa_update_allow_draw_out_of_order()
104 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in _mesa_update_allow_draw_out_of_order()
106 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in _mesa_update_allow_draw_out_of_order()
108 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in _mesa_update_allow_draw_out_of_order()
170 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in update_program()
172 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in update_program()
174 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in update_program()
176 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in update_program()
178 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in update_program()
[all …]
Dcompute.c51 if (ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE] == NULL) { in check_valid_to_compute()
98 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchCompute()
121 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchComputeGroupSizeARB()
277 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in valid_dispatch_indirect()
329 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in dispatch_compute()
374 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in dispatch_compute_indirect()
Dprogram_binary.c295 if (ctx->_Shader->CurrentProgram[stage] && in _mesa_program_binary()
296 ctx->_Shader->CurrentProgram[stage]->Id == sh_prog->Name) { in _mesa_program_binary()
Dff_fragment_shader.cpp175 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] != NULL; in filter_fp_input_mask()
231 if (ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY] != NULL) in filter_fp_input_mask()
232 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in filter_fp_input_mask()
233 else if (ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL] != NULL) in filter_fp_input_mask()
234 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in filter_fp_input_mask()
236 vprog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in filter_fp_input_mask()
Dstate.h105 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] || in _mesa_vertex_program_two_side_enabled()
Dglthread_get.c63 *p = ctx->GLThread.CurrentProgram; in _mesa_marshal_GetIntegerv()
Dshaderapi.c233 _mesa_reference_program(ctx, &ctx->Shader.CurrentProgram[i], NULL); in _mesa_free_shader_state()
1286 if (obj->CurrentProgram[stage] && in update_programs_in_pipeline()
1287 obj->CurrentProgram[stage]->Id == params->shProg->Name) { in update_programs_in_pipeline()
1321 if (ctx->_Shader->CurrentProgram[stage] && in link_program()
1322 ctx->_Shader->CurrentProgram[stage]->Id == shProg->Name) { in link_program()
2611 target = &shTarget->CurrentProgram[stage]; in _mesa_use_program()
3038 struct gl_program *p = ctx->_Shader->CurrentProgram[stage]; in _mesa_UniformSubroutinesuiv()
3112 struct gl_program *p = ctx->_Shader->CurrentProgram[stage]; in _mesa_GetUniformSubroutineuiv()
3803 if (ctx->_Shader->CurrentProgram[stage]) in _mesa_shader_write_subroutine_indices()
3805 ctx->_Shader->CurrentProgram[stage]); in _mesa_shader_write_subroutine_indices()
Dglthread.h239 GLuint CurrentProgram; member
Dshader_query.cpp2108 struct gl_program **prog = (struct gl_program **) pipeline->CurrentProgram; in _mesa_validate_pipeline_io()
2112 for (idx = 0; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_validate_pipeline_io()
2119 for (idx = prev + 1; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_validate_pipeline_io()
Dtransformfeedback.c325 if (ctx->_Shader->CurrentProgram[i] != NULL) in get_xfb_source()
326 return ctx->_Shader->CurrentProgram[i]; in get_xfb_source()
Duniform_query.cpp2198 (const struct gl_program **) pipeline->CurrentProgram; in _mesa_sampler_uniforms_pipeline_are_valid()
2203 for (unsigned idx = 0; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) { in _mesa_sampler_uniforms_pipeline_are_valid()
Dtexstate.c899 memcpy(prog, ctx->_Shader->CurrentProgram, sizeof(prog)); in _mesa_update_texture_state()
Dmtypes.h2315 struct gl_program *CurrentProgram[MESA_SHADER_STAGES]; member
/third_party/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.c102 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_atomics()
111 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_atomics()
120 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_atomics()
129 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_atomics()
138 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_atomics()
151 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_atomics()
Dst_atom_image.c187 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_images()
195 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_images()
203 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_images()
211 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_images()
219 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_images()
227 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_images()
Dst_atom_constbuf.c304 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_ubos()
313 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_ubos()
322 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_ubos()
331 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_ubos()
340 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_ubos()
349 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_program.c646 bool use_eye = st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX] != NULL; in lower_ucp()
Dst_cb_drawpixels.c1546 !ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT] && in blit_copy_pixels()
/third_party/mesa3d/docs/relnotes/
D7.10.rst1600 - mesa: Track an ActiveProgram distinct from CurrentProgram