Home
last modified time | relevance | path

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

123456

/external/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.c51 struct gl_program _mesa_DummyProgram;
183 struct gl_program *
184 _mesa_init_gl_program(struct gl_program *prog, gl_shader_stage stage, in _mesa_init_gl_program()
231 struct gl_program *
235 struct gl_program *prog = rzalloc(NULL, struct gl_program); in _mesa_new_program()
248 _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()
303 struct gl_program **ptr, in _mesa_reference_program_()
304 struct gl_program *prog) in _mesa_reference_program_()
[all …]
Darbprogparse.h32 struct gl_program;
37 struct gl_program *program);
42 struct gl_program *program);
Dprog_optimize.h38 struct gl_program;
49 _mesa_optimize_program(struct gl_program *program, void *mem_ctx);
52 _mesa_constant_fold(struct gl_program *prog);
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 …]
Dir_to_mesa.h34 struct gl_program;
53 struct gl_program *prog);
/external/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_gen_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_gen_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 *brwNewProgram(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 *brwNewProgram(struct gl_context *ctx, in brwNewProgram()
240 struct gl_program *prog ) in brwDeleteProgram()
265 static const struct gl_program deleted_program; in brwDeleteProgram()
269 brw->programs[i] = (struct gl_program *) &deleted_program; in brwDeleteProgram()
279 struct gl_program *prog) in brwProgramStringNotify()
776 brw_get_shader_time_index(struct brw_context *brw, struct gl_program *prog, in brw_get_shader_time_index()
[all …]
Dbrw_tes.c128 struct gl_program *prog = &tep->program; in brw_tes_populate_key()
143 struct gl_program *tcp_prog = &tcp->program; in brw_tes_populate_key()
188 struct gl_program *prog) in brw_tes_populate_default_key()
201 struct gl_program *tcp = in brw_tes_populate_default_key()
212 struct gl_program *prog) in brw_tes_precompile()
/external/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()
128 st_store_ir_in_disk_cache(struct st_context *st, struct gl_program *prog, in st_store_ir_in_disk_cache()
176 struct gl_program *prog, bool nir) in st_deserialise_ir_program()
256 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in st_load_ir_from_disk_cache()
274 st_serialise_tgsi_program(struct gl_context *ctx, struct gl_program *prog) in st_serialise_tgsi_program()
282 struct gl_program *prog) in st_serialise_tgsi_program_binary()
290 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()
236 struct gl_program Base;
268 st_program( struct gl_program *cp ) in st_program()
279 (struct gl_program **) ptr, in st_reference_prog()
280 (struct gl_program *) prog); in st_reference_prog()
306 st_set_prog_affected_state_flags(struct gl_program *prog);
340 st_translate_stream_output_info(struct gl_program *prog);
358 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()
146 struct gl_program *vp = st->ctx->VertexProgram._Current; in check_attrib_edgeflag()
224 struct gl_program *new_cp = ctx->ComputeProgram._Current; in st_validate_state()
Dst_atom_constbuf.c56 st_upload_constants(struct st_context *st, struct gl_program *prog) in st_upload_constants()
213 st_bind_ubos(struct st_context *st, struct gl_program *prog, in st_bind_ubos()
254 struct gl_program *prog = in st_bind_vs_ubos()
263 struct gl_program *prog = in st_bind_fs_ubos()
272 struct gl_program *prog = in st_bind_gs_ubos()
281 struct gl_program *prog = in st_bind_tcs_ubos()
290 struct gl_program *prog = in st_bind_tes_ubos()
299 struct gl_program *prog = in st_bind_cs_ubos()
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_cb_program.c57 static struct gl_program *
80 st_delete_program(struct gl_context *ctx, struct gl_program *prog) in st_delete_program()
104 struct gl_program *prog ) in st_program_string_notify()
141 static struct gl_program *
144 struct gl_program *prog = ctx->Driver.NewProgram(ctx, MESA_SHADER_FRAGMENT, in st_new_ati_fs()
Dst_atifs_to_tgsi.h34 struct gl_program;
44 struct gl_program *program,
57 st_init_atifs_prog(struct gl_context *ctx, struct gl_program *prog);
Dst_nir.h41 struct gl_program *prog,
44 void st_finalize_nir(struct st_context *st, struct gl_program *prog,
60 struct gl_program *prog);
/external/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.c62 static struct gl_program*
66 struct gl_program* newProg; in lookup_or_create_program()
106 struct gl_program *curProg, *newProg; in _mesa_BindProgramARB()
178 struct gl_program *prog = _mesa_lookup_program(ctx, ids[i]); in _mesa_DeleteProgramsARB()
255 struct gl_program *prog = NULL; in _mesa_IsProgramARB()
269 static struct gl_program*
289 struct gl_program* prog, GLenum target, in get_local_param_pointer()
345 set_program_string(struct gl_program *prog, GLenum target, GLenum format, GLsizei len, in set_program_string()
469 struct gl_program* prog = lookup_or_create_program(program, target, "glNamedProgramStringEXT"); in _mesa_NamedProgramStringEXT()
621 struct gl_program* prog = get_current_program(ctx, target, "glProgramLocalParameterARB"); in _mesa_ProgramLocalParameter4fARB()
[all …]

123456