Home
last modified time | relevance | path

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

123456

/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 …]
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,
48 _mesa_count_texture_indirections(struct gl_program *prog);
51 _mesa_count_texture_instructions(struct gl_program *prog);
54 _mesa_remove_output_reads(struct gl_program *prog, gl_register_file type);
57 _mesa_program_fragment_position_to_sysval(struct gl_program *prog);
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.c52 struct gl_program _mesa_DummyProgram;
184 struct gl_program *
185 _mesa_init_gl_program(struct gl_program *prog, gl_shader_stage stage, in _mesa_init_gl_program()
232 struct gl_program *
236 struct gl_program *prog = rzalloc(NULL, struct gl_program); in _mesa_new_program()
249 _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog) in _mesa_delete_program()
287 struct gl_program *
291 return (struct gl_program *) _mesa_HashLookup(ctx->Shared->Programs, id); in _mesa_lookup_program()
304 struct gl_program **ptr, in _mesa_reference_program_()
305 struct gl_program *prog) in _mesa_reference_program_()
[all …]
Dprog_optimize.h38 struct gl_program;
43 _mesa_optimize_program(struct gl_program *program, void *mem_ctx);
46 _mesa_constant_fold(struct gl_program *prog);
Darbprogparse.h32 struct gl_program;
37 struct gl_program *program);
42 struct gl_program *program);
Dir_to_mesa.h34 struct gl_program;
53 struct gl_program *prog);
58 struct gl_program *prog, unsigned required_space);
Dprog_print.c381 GLboolean relAddr, const struct gl_program *prog) in reg_string()
533 const struct gl_program *prog) in fprint_dst_reg()
553 const struct gl_program *prog) in fprint_src_reg()
575 const struct gl_program *prog) in _mesa_fprint_alu_instruction()
623 const struct gl_program *prog) in _mesa_fprint_instruction_opt()
779 const struct gl_program *prog) in _mesa_print_instruction_opt()
799 const struct gl_program *prog, in _mesa_fprint_program_opt()
835 _mesa_print_program(const struct gl_program *prog) in _mesa_print_program()
872 const struct gl_program *prog) in _mesa_fprint_program_parameters()
914 _mesa_print_program_parameters(struct gl_context *ctx, const struct gl_program *prog) in _mesa_print_program_parameters()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.h63 struct gl_program *prog,
69 struct gl_program *prog,
72 void brw_shader_gather_info(nir_shader *nir, struct gl_program *prog);
76 const struct gl_program *prog);
89 const struct gl_program *prog,
97 struct gl_program *prog);
103 brw_dump_arb_asm(const char *stage, struct gl_program *prog);
105 bool brw_vs_precompile(struct gl_context *ctx, struct gl_program *prog);
108 struct gl_program *prog);
111 struct gl_program *prog);
[all …]
Dbrw_program_binary.c130 serialize_nir_part(struct blob *writer, struct gl_program *prog) in serialize_nir_part()
140 brw_program_serialize_nir(struct gl_context *ctx, struct gl_program *prog) in brw_program_serialize_nir()
161 struct gl_program *prog, gl_shader_stage stage) in deserialize_intel_program()
193 struct gl_program *prog, in brw_program_deserialize_driver_blob()
241 struct gl_program *prog) in brw_deserialize_program_binary()
249 struct gl_program *prog) in serialize_intel_part()
281 struct gl_program *prog) in brw_serialize_program_binary()
329 brw_read_blob_program_data(struct blob_reader *binary, struct gl_program *prog, in brw_read_blob_program_data()
Dbrw_program.c75 static struct gl_program *brw_new_program(struct gl_context *ctx,
82 struct gl_program *prog, in brw_create_nir()
181 struct gl_program *prog, in brw_nir_lower_resources()
205 brw_shader_gather_info(nir_shader *nir, struct gl_program *prog) in brw_shader_gather_info()
223 static struct gl_program *
241 brw_delete_program(struct gl_context *ctx, struct gl_program *prog) in brw_delete_program()
266 static const struct gl_program deleted_program; in brw_delete_program()
270 brw->programs[i] = (struct gl_program *) &deleted_program; in brw_delete_program()
280 struct gl_program *prog) in brw_program_string_notify()
692 brw_get_shader_time_index(struct brw_context *brw, struct gl_program *prog, in brw_get_shader_time_index()
[all …]
Dbrw_tes.c130 struct gl_program *prog = &tep->program; in brw_tes_populate_key()
145 struct gl_program *tcp_prog = &tcp->program; in brw_tes_populate_key()
190 struct gl_program *prog) in brw_tes_populate_default_key()
203 struct gl_program *tcp = in brw_tes_populate_default_key()
214 struct gl_program *prog) in brw_tes_precompile()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_shader_cache.h42 st_serialise_tgsi_program(struct gl_context *ctx, struct gl_program *prog);
47 struct gl_program *prog);
52 struct gl_program *prog);
55 st_serialise_nir_program(struct gl_context *ctx, struct gl_program *prog);
60 struct gl_program *prog);
65 struct gl_program *prog);
73 st_store_ir_in_disk_cache(struct st_context *st, struct gl_program *prog,
Dst_shader_cache.c57 copy_blob_to_driver_cache_blob(struct blob *blob, struct gl_program *prog) in copy_blob_to_driver_cache_blob()
66 struct gl_program *prog) in write_tgsi_to_cache()
76 write_nir_to_cache(struct blob *blob, struct gl_program *prog) in write_nir_to_cache()
89 st_serialise_ir_program(struct gl_context *ctx, struct gl_program *prog, in st_serialise_ir_program()
125 st_store_ir_in_disk_cache(struct st_context *st, struct gl_program *prog, in st_store_ir_in_disk_cache()
173 struct gl_program *prog, bool nir) in st_deserialise_ir_program()
255 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in st_load_ir_from_disk_cache()
273 st_serialise_tgsi_program(struct gl_context *ctx, struct gl_program *prog) in st_serialise_tgsi_program()
281 struct gl_program *prog) in st_serialise_tgsi_program_binary()
289 struct gl_program *prog) in st_deserialise_tgsi_program()
[all …]
Dst_atom_storagebuf.c44 st_bind_ssbos(struct st_context *st, struct gl_program *prog, in st_bind_ssbos()
98 struct gl_program *prog = in st_bind_vs_ssbos()
106 struct gl_program *prog = in st_bind_fs_ssbos()
114 struct gl_program *prog = in st_bind_gs_ssbos()
122 struct gl_program *prog = in st_bind_tcs_ssbos()
130 struct gl_program *prog = in st_bind_tes_ssbos()
138 struct gl_program *prog = in st_bind_cs_ssbos()
Dst_atom_atomicbuf.c68 st_bind_atomics(struct st_context *st, struct gl_program *prog, in st_bind_atomics()
99 struct gl_program *prog = in st_bind_vs_atomics()
108 struct gl_program *prog = in st_bind_fs_atomics()
117 struct gl_program *prog = in st_bind_gs_atomics()
126 struct gl_program *prog = in st_bind_tcs_atomics()
135 struct gl_program *prog = in st_bind_tes_atomics()
148 struct gl_program *prog = in st_bind_cs_atomics()
Dst_program.h64 st_get_external_sampler_key(struct st_context *st, struct gl_program *prog) in st_get_external_sampler_key()
264 struct gl_program Base;
293 st_program( struct gl_program *cp ) in st_program()
304 (struct gl_program **) ptr, in st_reference_prog()
305 (struct gl_program *) prog); in st_reference_prog()
331 st_set_prog_affected_state_flags(struct gl_program *prog);
360 st_translate_stream_output_info(struct gl_program *prog);
378 st_finalize_program(struct st_context *st, struct gl_program *prog);
Dst_atom.c76 struct gl_program *new_vp = ctx->VertexProgram._Current; in check_program_state()
77 struct gl_program *new_tcp = ctx->TessCtrlProgram._Current; in check_program_state()
78 struct gl_program *new_tep = ctx->TessEvalProgram._Current; in check_program_state()
79 struct gl_program *new_gp = ctx->GeometryProgram._Current; in check_program_state()
80 struct gl_program *new_fp = ctx->FragmentProgram._Current; in check_program_state()
125 struct gl_program *last_prim_shader = new_gp ? new_gp : in check_program_state()
152 struct gl_program *vp = st->ctx->VertexProgram._Current; in st_update_edgeflags()
230 struct gl_program *new_cp = ctx->ComputeProgram._Current; in st_validate_state()
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_atom_image.c159 st_bind_images(struct st_context *st, struct gl_program *prog, in st_bind_images()
188 struct gl_program *prog = in st_bind_vs_images()
196 struct gl_program *prog = in st_bind_fs_images()
204 struct gl_program *prog = in st_bind_gs_images()
212 struct gl_program *prog = in st_bind_tcs_images()
220 struct gl_program *prog = in st_bind_tes_images()
228 struct gl_program *prog = in st_bind_cs_images()
Dst_atom_constbuf.c70 st_upload_constants(struct st_context *st, struct gl_program *prog, gl_shader_stage stage) in st_upload_constants()
258 st_bind_ubos(struct st_context *st, struct gl_program *prog, in st_bind_ubos()
299 struct gl_program *prog = in st_bind_vs_ubos()
308 struct gl_program *prog = in st_bind_fs_ubos()
317 struct gl_program *prog = in st_bind_gs_ubos()
326 struct gl_program *prog = in st_bind_tcs_ubos()
335 struct gl_program *prog = in st_bind_tes_ubos()
344 struct gl_program *prog = in st_bind_cs_ubos()
Dst_cb_program.c56 static struct gl_program *
79 st_delete_program(struct gl_context *ctx, struct gl_program *prog) in st_delete_program()
103 struct gl_program *prog ) in st_program_string_notify()
140 static struct gl_program *
143 struct gl_program *prog = ctx->Driver.NewProgram(ctx, MESA_SHADER_FRAGMENT, in st_new_ati_fs()
Dst_nir.h41 struct gl_program *prog,
44 char *st_finalize_nir(struct st_context *st, struct gl_program *prog,
61 struct gl_program *prog);
/third_party/mesa3d/src/mesa/main/
Dstate.c96 struct gl_program *vs = in _mesa_update_allow_draw_out_of_order()
98 struct gl_program *tcs = in _mesa_update_allow_draw_out_of_order()
100 struct gl_program *tes = in _mesa_update_allow_draw_out_of_order()
102 struct gl_program *gs = in _mesa_update_allow_draw_out_of_order()
104 struct gl_program *fs = in _mesa_update_allow_draw_out_of_order()
166 struct gl_program *vsProg = in update_program()
168 struct gl_program *tcsProg = in update_program()
170 struct gl_program *tesProg = in update_program()
172 struct gl_program *gsProg = in update_program()
174 struct gl_program *fsProg = in update_program()
[all …]
Darbprogram.c63 static struct gl_program*
67 struct gl_program* newProg; in lookup_or_create_program()
107 struct gl_program *curProg, *newProg; in _mesa_BindProgramARB()
180 struct gl_program *prog = _mesa_lookup_program(ctx, ids[i]); in _mesa_DeleteProgramsARB()
257 struct gl_program *prog = NULL; in _mesa_IsProgramARB()
271 static struct gl_program*
291 struct gl_program* prog, GLenum target, in get_local_param_pointer()
358 set_program_string(struct gl_program *prog, GLenum target, GLenum format, GLsizei len, in set_program_string()
483 struct gl_program* prog = lookup_or_create_program(program, target, "glNamedProgramStringEXT"); in _mesa_NamedProgramStringEXT()
635 struct gl_program* prog = get_current_program(ctx, target, "glProgramLocalParameterARB"); in _mesa_ProgramLocalParameter4fARB()
[all …]

123456