Home
last modified time | relevance | path

Searched refs:gl_program (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/mesa3d/src/mesa/program/
Dprogram.h50 extern struct gl_program _mesa_DummyProgram;
65 extern struct gl_program *
66 _mesa_init_gl_program(struct gl_program *prog, gl_shader_stage stage,
69 extern struct gl_program *
74 _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog);
76 extern struct gl_program *
81 struct gl_program **ptr,
82 struct gl_program *prog);
86 struct gl_program **ptr, in _mesa_reference_program()
87 struct gl_program *prog) in _mesa_reference_program()
[all …]
Dprog_print.h40 struct gl_program;
81 const struct gl_program *prog);
95 const struct gl_program *prog);
100 const struct gl_program *prog);
103 _mesa_print_program(const struct gl_program *prog);
107 const struct gl_program *prog, gl_prog_print_mode mode,
111 _mesa_print_program_parameters(struct gl_context *ctx, const struct gl_program *prog);
121 _mesa_append_uniforms_to_file(const struct gl_program *prog);
Dprogram.c54 struct gl_program _mesa_DummyProgram;
186 struct gl_program *
187 _mesa_init_gl_program(struct gl_program *prog, gl_shader_stage stage, in _mesa_init_gl_program()
221 struct gl_program *
225 struct gl_program *prog; in _mesa_new_program()
229 prog = (struct gl_program*)rzalloc(NULL, struct gl_vertex_program); in _mesa_new_program()
232 prog = rzalloc(NULL, struct gl_program); in _mesa_new_program()
244 _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog) in _mesa_delete_program()
286 struct gl_program *
290 return (struct gl_program *) _mesa_HashLookup(ctx->Shared->Programs, id); in _mesa_lookup_program()
[all …]
Dprogramopt.h38 struct gl_program;
41 _mesa_insert_mvp_code(struct gl_context *ctx, struct gl_program *vprog);
44 _mesa_append_fog_code(struct gl_context *ctx, struct gl_program *fprog,
Darbprogparse.h32 struct gl_program;
37 struct gl_program *program);
42 struct gl_program *program);
Dprog_print.c367 GLboolean relAddr, const struct gl_program *prog) in reg_string()
519 const struct gl_program *prog) in fprint_dst_reg()
539 const struct gl_program *prog) in fprint_src_reg()
561 const struct gl_program *prog) in _mesa_fprint_alu_instruction()
609 const struct gl_program *prog) in _mesa_fprint_instruction_opt()
765 const struct gl_program *prog) in _mesa_print_instruction_opt()
785 const struct gl_program *prog, in _mesa_fprint_program_opt()
821 _mesa_print_program(const struct gl_program *prog) in _mesa_print_program()
858 const struct gl_program *prog) in _mesa_fprint_program_parameters()
900 _mesa_print_program_parameters(struct gl_context *ctx, const struct gl_program *prog) in _mesa_print_program_parameters()
[all …]
Dprog_cache.h57 extern struct gl_program *
65 struct gl_program *program);
/third_party/mesa3d/src/mesa/state_tracker/
Dst_program.h65 st_get_external_sampler_key(struct st_context *st, struct gl_program *prog) in st_get_external_sampler_key()
289 st_set_prog_affected_state_flags(struct gl_program *prog);
294 struct gl_program *stfp,
299 struct gl_program *p,
303 st_release_variants(struct st_context *st, struct gl_program *p);
306 st_release_program(struct st_context *st, struct gl_program **p);
315 st_prepare_vertex_program(struct gl_program *stvp);
318 st_translate_stream_output_info(struct gl_program *prog);
321 st_serialize_nir(struct gl_program *stp);
324 st_finalize_program(struct st_context *st, struct gl_program *prog);
[all …]
Dst_atom.c80 struct gl_program *old_vp = st->vp; in check_program_state()
81 struct gl_program *old_tcp = st->tcp; in check_program_state()
82 struct gl_program *old_tep = st->tep; in check_program_state()
83 struct gl_program *old_gp = st->gp; in check_program_state()
84 struct gl_program *old_fp = st->fp; in check_program_state()
86 struct gl_program *new_vp = ctx->VertexProgram._Current; in check_program_state()
87 struct gl_program *new_tcp = ctx->TessCtrlProgram._Current; in check_program_state()
88 struct gl_program *new_tep = ctx->TessEvalProgram._Current; in check_program_state()
89 struct gl_program *new_gp = ctx->GeometryProgram._Current; in check_program_state()
90 struct gl_program *new_fp = ctx->FragmentProgram._Current; in check_program_state()
[all …]
Dst_shader_cache.h41 st_serialise_tgsi_program(struct gl_context *ctx, struct gl_program *prog);
46 struct gl_program *prog);
51 struct gl_program *prog);
54 st_serialise_nir_program(struct gl_context *ctx, struct gl_program *prog);
59 struct gl_program *prog);
64 struct gl_program *prog);
71 st_store_nir_in_disk_cache(struct st_context *st, struct gl_program *prog);
Dst_atom_storagebuf.c43 st_bind_ssbos(struct st_context *st, struct gl_program *prog, in st_bind_ssbos()
97 struct gl_program *prog = in st_bind_vs_ssbos()
105 struct gl_program *prog = in st_bind_fs_ssbos()
113 struct gl_program *prog = in st_bind_gs_ssbos()
121 struct gl_program *prog = in st_bind_tcs_ssbos()
129 struct gl_program *prog = in st_bind_tes_ssbos()
137 struct gl_program *prog = in st_bind_cs_ssbos()
Dst_atom_atomicbuf.c69 st_bind_atomics(struct st_context *st, struct gl_program *prog, in st_bind_atomics()
101 struct gl_program *prog = in st_bind_vs_atomics()
110 struct gl_program *prog = in st_bind_fs_atomics()
119 struct gl_program *prog = in st_bind_gs_atomics()
128 struct gl_program *prog = in st_bind_tcs_atomics()
137 struct gl_program *prog = in st_bind_tes_atomics()
150 struct gl_program *prog = in st_bind_cs_atomics()
Dst_shader_cache.c56 copy_blob_to_driver_cache_blob(struct blob *blob, struct gl_program *prog) in copy_blob_to_driver_cache_blob()
64 write_nir_to_cache(struct blob *blob, struct gl_program *prog) in write_nir_to_cache()
75 st_serialise_nir_program(struct gl_context *ctx, struct gl_program *prog) in st_serialise_nir_program()
106 st_store_nir_in_disk_cache(struct st_context *st, struct gl_program *prog) in st_store_nir_in_disk_cache()
143 struct gl_program *prog) in st_deserialise_nir_program()
219 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in st_load_nir_from_disk_cache()
239 struct gl_program *prog) in st_serialise_nir_program_binary()
Dst_atom_image.c157 st_bind_images(struct st_context *st, struct gl_program *prog, in st_bind_images()
186 struct gl_program *prog = in st_bind_vs_images()
194 struct gl_program *prog = in st_bind_fs_images()
202 struct gl_program *prog = in st_bind_gs_images()
210 struct gl_program *prog = in st_bind_tcs_images()
218 struct gl_program *prog = in st_bind_tes_images()
226 struct gl_program *prog = in st_bind_cs_images()
Dst_context.h261 struct gl_program *vp; /**< Currently bound vertex program */
262 struct gl_program *tcp; /**< Currently bound tess control program */
263 struct gl_program *tep; /**< Currently bound tess eval program */
264 struct gl_program *gp; /**< Currently bound geometry program */
265 struct gl_program *fp; /**< Currently bound fragment program */
266 struct gl_program *cp; /**< Currently bound compute program */
268 struct gl_program *current_program[MESA_SHADER_STAGES];
Dst_atom_constbuf.c70 st_upload_constants(struct st_context *st, struct gl_program *prog, gl_shader_stage stage) in st_upload_constants()
262 st_bind_ubos(struct st_context *st, struct gl_program *prog, in st_bind_ubos()
303 struct gl_program *prog = in st_bind_vs_ubos()
312 struct gl_program *prog = in st_bind_fs_ubos()
321 struct gl_program *prog = in st_bind_gs_ubos()
330 struct gl_program *prog = in st_bind_tcs_ubos()
339 struct gl_program *prog = in st_bind_tes_ubos()
348 struct gl_program *prog = in st_bind_cs_ubos()
Dst_program.c73 destroy_program_variants(struct st_context *st, struct gl_program *target);
77 struct gl_program *prog, in set_affected_state_flags()
109 st_set_prog_affected_state_flags(struct gl_program *prog) in st_set_prog_affected_state_flags()
270 st_unbind_program(struct st_context *st, struct gl_program *p) in st_unbind_program()
307 st_release_variants(struct st_context *st, struct gl_program *p) in st_release_variants()
344 st_release_program(struct st_context *st, struct gl_program **p) in st_release_program()
375 struct gl_program *prog) in st_prog_to_nir_postprocess()
411 st_translate_prog_to_nir(struct st_context *st, struct gl_program *prog, in st_translate_prog_to_nir()
432 st_prepare_vertex_program(struct gl_program *prog) in st_prepare_vertex_program()
451 st_translate_stream_output_info(struct gl_program *prog) in st_translate_stream_output_info()
[all …]
Dst_atifs_to_nir.h35 struct gl_program;
42 struct gl_program *program,
47 st_init_atifs_prog(struct gl_context *ctx, struct gl_program *prog);
Dst_nir.h41 struct gl_program *prog,
44 char *st_finalize_nir(struct st_context *st, struct gl_program *prog,
59 struct gl_program *prog);
Dst_texture.h134 const struct gl_program *prog, in st_get_texture_object()
257 const struct gl_program *prog,
262 struct gl_program *prog);
266 struct gl_program *prog);
Dst_atom_shader.c76 update_gl_clamp(struct st_context *st, struct gl_program *prog, uint32_t *gl_clamp) in update_gl_clamp()
115 struct gl_program *fp; in st_update_fp()
193 struct gl_program *vp; in st_update_vp()
253 st_update_common_program(struct st_context *st, struct gl_program *prog, in st_update_common_program()
254 unsigned pipe_shader, struct gl_program **dst) in st_update_common_program()
/third_party/mesa3d/src/mesa/main/
Dstate.c99 struct gl_program *vs = in _mesa_update_allow_draw_out_of_order()
101 struct gl_program *tcs = in _mesa_update_allow_draw_out_of_order()
103 struct gl_program *tes = in _mesa_update_allow_draw_out_of_order()
105 struct gl_program *gs = in _mesa_update_allow_draw_out_of_order()
107 struct gl_program *fs = in _mesa_update_allow_draw_out_of_order()
169 struct gl_program *vsProg = in update_program()
171 struct gl_program *tcsProg = in update_program()
173 struct gl_program *tesProg = in update_program()
175 struct gl_program *gsProg = in update_program()
177 struct gl_program *fsProg = in update_program()
[all …]
Darbprogram.c65 static struct gl_program*
69 struct gl_program* newProg; in lookup_or_create_program()
109 struct gl_program *curProg, *newProg; in _mesa_BindProgramARB()
182 struct gl_program *prog = _mesa_lookup_program(ctx, ids[i]); in _mesa_DeleteProgramsARB()
259 struct gl_program *prog = NULL; in _mesa_IsProgramARB()
273 static struct gl_program*
293 struct gl_program* prog, GLenum target, in get_local_param_pointer()
360 set_program_string(struct gl_program *prog, GLenum target, GLenum format, GLsizei len, in set_program_string()
488 struct gl_program* prog = lookup_or_create_program(program, target, "glNamedProgramStringEXT"); in _mesa_NamedProgramStringEXT()
640 struct gl_program* prog = get_current_program(ctx, target, "glProgramLocalParameterARB"); in _mesa_ProgramLocalParameter4fARB()
[all …]
Ddd.h54 struct gl_program;
123 struct gl_program * (*NewProgram)(struct gl_context *ctx,
257 struct gl_program *prog);
261 struct gl_program *prog);
276 struct gl_program *prog);
Duniforms.h39 struct gl_program;
80 struct gl_program *prog, unsigned required_space);
84 struct gl_program *prog);

1234