Home
last modified time | relevance | path

Searched refs:gl_program (Results 1 – 25 of 132) 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, GLenum target, GLuint id,
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);
Dprogramopt.h38 _mesa_insert_mvp_code(struct gl_context *ctx, struct gl_program *vprog);
41 _mesa_append_fog_code(struct gl_context *ctx, struct gl_program *fprog,
45 _mesa_count_texture_indirections(struct gl_program *prog);
48 _mesa_count_texture_instructions(struct gl_program *prog);
51 _mesa_remove_output_reads(struct gl_program *prog, gl_register_file type);
54 _mesa_program_fragment_position_to_sysval(struct gl_program *prog);
Dprogram.c51 struct gl_program _mesa_DummyProgram;
182 struct gl_program *
183 _mesa_init_gl_program(struct gl_program *prog, GLenum target, GLuint id, in _mesa_init_gl_program()
230 struct gl_program *
241 struct gl_program *prog = rzalloc(NULL, struct gl_program); in _mesa_new_program()
258 _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog) in _mesa_delete_program()
296 struct gl_program *
300 return (struct gl_program *) _mesa_HashLookup(ctx->Shared->Programs, id); in _mesa_lookup_program()
313 struct gl_program **ptr, in _mesa_reference_program_()
314 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.c366 GLboolean relAddr, const struct gl_program *prog) in reg_string()
518 const struct gl_program *prog) in fprint_dst_reg()
538 const struct gl_program *prog) in fprint_src_reg()
560 const struct gl_program *prog) in _mesa_fprint_alu_instruction()
608 const struct gl_program *prog) in _mesa_fprint_instruction_opt()
764 const struct gl_program *prog) in _mesa_print_instruction_opt()
784 const struct gl_program *prog, in _mesa_fprint_program_opt()
820 _mesa_print_program(const struct gl_program *prog) in _mesa_print_program()
857 const struct gl_program *prog) in _mesa_fprint_program_parameters()
899 _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);
/external/mesa3d/src/mesa/state_tracker/
Dst_program.h59 st_get_external_sampler_key(struct st_context *st, struct gl_program *prog) in st_get_external_sampler_key()
143 struct gl_program Base;
207 struct gl_program Base; /**< The Mesa vertex program */
261 struct gl_program Base;
284 struct gl_program Base; /**< The Mesa compute program */
303 st_fragment_program( struct gl_program *fp ) in st_fragment_program()
310 st_vertex_program( struct gl_program *vp ) in st_vertex_program()
316 st_common_program( struct gl_program *gp ) in st_common_program()
322 st_compute_program( struct gl_program *cp ) in st_compute_program()
333 (struct gl_program **) ptr, in st_reference_vertprog()
[all …]
Dst_atom_storagebuf.c44 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.c44 st_bind_atomics(struct st_context *st, struct gl_program *prog, in st_bind_atomics()
81 struct gl_program *prog = in st_bind_vs_atomics()
90 struct gl_program *prog = in st_bind_fs_atomics()
99 struct gl_program *prog = in st_bind_gs_atomics()
108 struct gl_program *prog = in st_bind_tcs_atomics()
117 struct gl_program *prog = in st_bind_tes_atomics()
130 struct gl_program *prog = in st_bind_cs_atomics()
Dst_atom.c73 struct gl_program *new_vp = ctx->VertexProgram._Current; in check_program_state()
74 struct gl_program *new_tcp = ctx->TessCtrlProgram._Current; in check_program_state()
75 struct gl_program *new_tep = ctx->TessEvalProgram._Current; in check_program_state()
76 struct gl_program *new_gp = ctx->GeometryProgram._Current; in check_program_state()
77 struct gl_program *new_fp = ctx->FragmentProgram._Current; in check_program_state()
122 struct gl_program *last_prim_shader = new_gp ? new_gp : in check_program_state()
143 struct gl_program *vp = st->ctx->VertexProgram._Current; in check_attrib_edgeflag()
213 struct gl_program *new_cp = ctx->ComputeProgram._Current; in st_validate_state()
Dst_atom_constbuf.c55 void st_upload_constants(struct st_context *st, struct gl_program *prog) in st_upload_constants()
188 static void st_bind_ubos(struct st_context *st, struct gl_program *prog, in st_bind_ubos()
228 struct gl_program *prog = in st_bind_vs_ubos()
236 struct gl_program *prog = in st_bind_fs_ubos()
244 struct gl_program *prog = in st_bind_gs_ubos()
252 struct gl_program *prog = in st_bind_tcs_ubos()
260 struct gl_program *prog = in st_bind_tes_ubos()
268 struct gl_program *prog = in st_bind_cs_ubos()
Dst_atom_image.c140 st_bind_images(struct st_context *st, struct gl_program *prog, in st_bind_images()
168 struct gl_program *prog = in st_bind_vs_images()
176 struct gl_program *prog = in st_bind_fs_images()
184 struct gl_program *prog = in st_bind_gs_images()
192 struct gl_program *prog = in st_bind_tcs_images()
200 struct gl_program *prog = in st_bind_tes_images()
208 struct gl_program *prog = in st_bind_cs_images()
Dst_shader_cache.h39 st_serialise_tgsi_program(struct gl_context *ctx, struct gl_program *prog);
44 struct gl_program *prog);
51 st_store_tgsi_in_disk_cache(struct st_context *st, struct gl_program *prog);
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_cb_program.c56 static struct gl_program *
94 st_delete_program(struct gl_context *ctx, struct gl_program *prog) in st_delete_program()
160 struct gl_program *prog ) in st_program_string_notify()
259 static struct gl_program *
262 struct gl_program *prog = ctx->Driver.NewProgram(ctx, GL_FRAGMENT_PROGRAM_ARB, in st_new_ati_fs()
Dst_shader_cache.c49 struct gl_program *prog, unsigned num_tokens) in write_tgsi_to_cache()
60 st_serialise_tgsi_program(struct gl_context *ctx, struct gl_program *prog) in st_serialise_tgsi_program()
115 st_store_tgsi_in_disk_cache(struct st_context *st, struct gl_program *prog) in st_store_tgsi_in_disk_cache()
157 struct gl_program *prog) in st_deserialise_tgsi_program()
306 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in st_load_tgsi_from_disk_cache()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.h61 struct gl_program *prog,
65 void brw_shader_gather_info(nir_shader *nir, struct gl_program *prog);
69 struct gl_program *prog);
72 const struct gl_program *prog,
80 const struct gl_program *prog,
88 brw_dump_arb_asm(const char *stage, struct gl_program *prog);
90 bool brw_vs_precompile(struct gl_context *ctx, struct gl_program *prog);
93 struct gl_program *prog);
96 struct gl_program *prog);
97 bool brw_gs_precompile(struct gl_context *ctx, struct gl_program *prog);
[all …]
Dbrw_program.c68 struct gl_program *prog, in brw_create_nir()
140 brw_shader_gather_info(nir_shader *nir, struct gl_program *prog) in brw_shader_gather_info()
158 static struct gl_program *brwNewProgram(struct gl_context *ctx, GLenum target, in brwNewProgram()
174 struct gl_program *prog ) in brwDeleteProgram()
199 static const struct gl_program deleted_program; in brwDeleteProgram()
203 brw->programs[i] = (struct gl_program *) &deleted_program; in brwDeleteProgram()
213 struct gl_program *prog) in brwProgramStringNotify()
682 brw_get_shader_time_index(struct brw_context *brw, struct gl_program *prog, in brw_get_shader_time_index()
722 brw_dump_arb_asm(const char *stage, struct gl_program *prog) in brw_dump_arb_asm()
732 struct gl_program *prog) in brw_setup_tex_for_precompile()
[all …]
Dbrw_disk_cache.c43 gen_shader_sha1(struct brw_context *brw, struct gl_program *prog, in gen_shader_sha1()
84 read_blob_program_data(struct blob_reader *binary, struct gl_program *prog, in read_blob_program_data()
112 struct gl_program *prog, gl_shader_stage stage) in read_and_upload()
253 struct gl_program *prog = brw->ctx._Shader->CurrentProgram[stage]; in brw_disk_cache_upload_program()
293 write_program_data(struct brw_context *brw, struct gl_program *prog, in write_program_data()
329 struct gl_program *prog = in brw_disk_cache_write_render_programs()
393 struct gl_program *prog = in brw_disk_cache_write_compute_program()
Dbrw_tes.c37 brw_tes_debug_recompile(struct brw_context *brw, struct gl_program *prog, in brw_tes_debug_recompile()
155 struct gl_program *prog = &tep->program; in brw_tes_populate_key()
169 struct gl_program *tcp_prog = &tcp->program; in brw_tes_populate_key()
218 struct gl_program *prog) in brw_tes_precompile()
235 struct gl_program *tcp = in brw_tes_precompile()
Dgen6_constant_state.c42 const struct gl_program *prog, in brw_param_value()
97 const struct gl_program *prog, in brw_populate_constant_data()
126 const struct gl_program *prog, in gen6_upload_push_constants()
228 const struct gl_program *prog, in brw_upload_pull_constants()
291 const struct gl_program *prog, in brw_upload_cs_push_constants()
Dbrw_cs.c37 const struct gl_program *prog, in assign_cs_binding_table_offsets()
140 const struct gl_program *prog = (struct gl_program *) cp; in brw_cs_populate_key()
189 brw_cs_precompile(struct gl_context *ctx, struct gl_program *prog) in brw_cs_precompile()
/external/mesa3d/src/mesa/main/
Dstate.c75 struct gl_program *vsProg = in update_program()
77 struct gl_program *tcsProg = in update_program()
79 struct gl_program *tesProg = in update_program()
81 struct gl_program *gsProg = in update_program()
83 struct gl_program *fsProg = in update_program()
85 struct gl_program *csProg = in update_program()
87 const struct gl_program *prevVP = ctx->VertexProgram._Current; in update_program()
88 const struct gl_program *prevFP = ctx->FragmentProgram._Current; in update_program()
89 const struct gl_program *prevGP = ctx->GeometryProgram._Current; in update_program()
90 const struct gl_program *prevTCP = ctx->TessCtrlProgram._Current; in update_program()
[all …]

123456