Home
last modified time | relevance | path

Searched refs:nir_shader (Results 1 – 25 of 160) sorted by relevance

1234567

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir.h92 void brw_nir_analyze_boolean_resolves(nir_shader *nir);
94 nir_shader *brw_preprocess_nir(const struct brw_compiler *compiler,
95 nir_shader *nir);
97 bool brw_nir_lower_intrinsics(nir_shader *nir,
99 void brw_nir_lower_vs_inputs(nir_shader *nir,
103 void brw_nir_lower_vue_inputs(nir_shader *nir, bool is_scalar,
105 void brw_nir_lower_tes_inputs(nir_shader *nir, const struct brw_vue_map *vue);
106 void brw_nir_lower_fs_inputs(nir_shader *nir,
109 void brw_nir_lower_vue_outputs(nir_shader *nir, bool is_scalar);
110 void brw_nir_lower_tcs_outputs(nir_shader *nir, const struct brw_vue_map *vue,
[all …]
Dbrw_nir.c85 add_const_offset_to_base(nir_shader *nir, nir_variable_mode mode) in add_const_offset_to_base()
255 brw_nir_lower_vs_inputs(nir_shader *nir, in brw_nir_lower_vs_inputs()
293 brw_nir_lower_vue_inputs(nir_shader *nir, bool is_scalar, in brw_nir_lower_vue_inputs()
320 brw_nir_lower_tes_inputs(nir_shader *nir, const struct brw_vue_map *vue_map) in brw_nir_lower_tes_inputs()
346 brw_nir_lower_fs_inputs(nir_shader *nir, in brw_nir_lower_fs_inputs()
390 brw_nir_lower_vue_outputs(nir_shader *nir, in brw_nir_lower_vue_outputs()
401 brw_nir_lower_tcs_outputs(nir_shader *nir, const struct brw_vue_map *vue_map, in brw_nir_lower_tcs_outputs()
427 brw_nir_lower_fs_outputs(nir_shader *nir) in brw_nir_lower_fs_outputs()
439 brw_nir_lower_cs_shared(nir_shader *nir) in brw_nir_lower_cs_shared()
456 static nir_shader *
[all …]
Dbrw_compiler.h36 struct nir_shader;
590 struct nir_shader *nir,
780 const struct nir_shader *shader,
798 const struct nir_shader *nir,
814 const struct nir_shader *shader,
830 const struct nir_shader *shader,
846 const struct nir_shader *shader,
865 const struct nir_shader *shader,
Dbrw_nir_intrinsics.c28 nir_shader *nir;
43 nir_shader *nir = state->nir; in read_thread_local_id()
74 nir_shader *nir = state->nir; in lower_cs_intrinsics_convert_block()
159 brw_nir_lower_intrinsics(nir_shader *nir, struct brw_stage_prog_data *prog_data) in brw_nir_lower_intrinsics()
/external/mesa3d/src/compiler/nir/
Dnir.h73 struct nir_shader;
1735 struct nir_shader *shader;
1820 typedef struct nir_shader { struct
1865 } nir_shader; argument
1868 nir_shader_get_entrypoint(nir_shader *shader) in nir_shader_get_entrypoint()
1882 nir_shader *nir_shader_create(void *mem_ctx,
1888 nir_register *nir_global_reg_create(nir_shader *shader);
1895 void nir_shader_add_variable(nir_shader *shader, nir_variable *var);
1905 nir_variable *nir_variable_create(nir_shader *shader,
1915 nir_function *nir_function_create(nir_shader *shader, const char *name);
[all …]
Dnir_sweep.c41 static void sweep_cf_node(nir_shader *nir, nir_cf_node *cf_node);
62 sweep_block(nir_shader *nir, nir_block *block) in sweep_block()
75 sweep_if(nir_shader *nir, nir_if *iff) in sweep_if()
89 sweep_loop(nir_shader *nir, nir_loop *loop) in sweep_loop()
99 sweep_cf_node(nir_shader *nir, nir_cf_node *cf_node) in sweep_cf_node()
117 sweep_impl(nir_shader *nir, nir_function_impl *impl) in sweep_impl()
139 sweep_function(nir_shader *nir, nir_function *f) in sweep_function()
149 nir_sweep(nir_shader *nir) in nir_sweep()
Dnir_gather_info.c28 set_io_mask(nir_shader *shader, nir_variable *var, int offset, int len) in set_io_mask()
78 mark_whole_variable(nir_shader *shader, nir_variable *var) in mark_whole_variable()
127 try_mask_partial_io(nir_shader *shader, nir_deref_var *deref) in try_mask_partial_io()
194 gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader) in gather_intrinsic_info()
264 gather_tex_info(nir_tex_instr *instr, nir_shader *shader) in gather_tex_info()
271 gather_info_block(nir_block *block, nir_shader *shader) in gather_info_block()
291 nir_shader_gather_info(nir_shader *shader, nir_function_impl *entrypoint) in nir_shader_gather_info()
Dnir_lower_var_copies.c81 nir_shader *shader) in emit_copy_load_store()
149 nir_lower_var_copy_instr(nir_intrinsic_instr *copy, nir_shader *shader) in nir_lower_var_copy_instr()
160 nir_shader *shader = impl->function->shader; in lower_var_copies_impl()
183 nir_lower_var_copies(nir_shader *shader) in nir_lower_var_copies()
Dnir_lower_bitmap.c56 get_texcoord(nir_shader *shader) in get_texcoord()
81 lower_bitmap(nir_shader *shader, nir_builder *b, in lower_bitmap()
131 nir_lower_bitmap(nir_shader *shader, in nir_lower_bitmap()
Dnir.c32 nir_shader *
38 nir_shader *shader = rzalloc(mem_ctx, nir_shader); in nir_shader_create()
86 nir_global_reg_create(nir_shader *shader) in nir_global_reg_create()
112 nir_shader_add_variable(nir_shader *shader, nir_variable *var) in nir_shader_add_variable()
156 nir_variable_create(nir_shader *shader, nir_variable_mode mode, in nir_variable_create()
191 nir_function_create(nir_shader *shader, const char *name) in nir_function_create()
271 nir_function_impl_create_bare(nir_shader *shader) in nir_function_impl_create_bare()
337 nir_block_create(nir_shader *shader) in nir_block_create()
373 nir_if_create(nir_shader *shader) in nir_if_create()
394 nir_loop_create(nir_shader *shader) in nir_loop_create()
[all …]
Dnir_dominance.c199 nir_calc_dominance(nir_shader *shader) in nir_calc_dominance()
259 nir_dump_dom_tree(nir_shader *shader, FILE *fp) in nir_dump_dom_tree()
282 nir_dump_dom_frontier(nir_shader *shader, FILE *fp) in nir_dump_dom_frontier()
306 nir_dump_cfg(nir_shader *shader, FILE *fp) in nir_dump_cfg()
Dnir_lower_clip_cull_distance_arrays.c41 get_unwrapped_array_length(nir_shader *nir, nir_variable *var) in get_unwrapped_array_length()
125 combine_clip_cull(nir_shader *nir, in combine_clip_cull()
181 nir_lower_clip_cull_distance_arrays(nir_shader *nir) in nir_lower_clip_cull_distance_arrays()
Dnir_lower_passthrough_edgeflags.c30 nir_shader *shader = impl->function->shader; in lower_impl()
53 void nir_lower_passthrough_edgeflags(nir_shader *shader) in nir_lower_passthrough_edgeflags()
Dnir_metadata.c70 nir_metadata_set_validation_flag(nir_shader *shader) in nir_metadata_set_validation_flag()
87 nir_metadata_check_validation_flag(nir_shader *shader) in nir_metadata_check_validation_flag()
Dnir_lower_clip.c44 create_clipdist_var(nir_shader *shader, unsigned drvloc, in create_clipdist_var()
124 find_output(nir_shader *shader, unsigned drvloc) in find_output()
200 nir_lower_clip_vs(nir_shader *shader, unsigned ucp_enables) in nir_lower_clip_vs()
298 nir_lower_clip_fs(nir_shader *shader, unsigned ucp_enables) in nir_lower_clip_fs()
Dnir_lower_two_sided_color.c34 nir_shader *shader;
49 create_input(nir_shader *shader, unsigned drvloc, gl_varying_slot slot) in create_input()
186 nir_lower_two_sided_color(nir_shader *shader) in nir_lower_two_sided_color()
Dnir_remove_dead_variables.c87 add_var_use_shader(nir_shader *shader, struct set *live) in add_var_use_shader()
116 remove_dead_var_writes(nir_shader *shader, struct set *live) in remove_dead_var_writes()
159 nir_remove_dead_variables(nir_shader *shader, nir_variable_mode modes) in nir_remove_dead_variables()
Dnir_opt_peephole_select.c150 nir_opt_peephole_select_block(nir_block *block, nir_shader *shader, in nir_opt_peephole_select_block()
240 nir_shader *shader = impl->function->shader; in nir_opt_peephole_select_impl()
254 nir_opt_peephole_select(nir_shader *shader, unsigned limit) in nir_opt_peephole_select()
Dnir_lower_io_to_temporaries.c36 nir_shader *shader;
43 emit_copies(nir_cursor cursor, nir_shader *shader, struct exec_list *new_vars, in emit_copies()
149 nir_lower_io_to_temporaries(nir_shader *shader, nir_function_impl *entrypoint, in nir_lower_io_to_temporaries()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir.h37 bool ir3_nir_lower_if_else(nir_shader *shader);
38 bool ir3_nir_apply_trig_workarounds(nir_shader *shader);
40 struct nir_shader * ir3_tgsi_to_nir(const struct tgsi_token *tokens);
43 struct nir_shader * ir3_optimize_nir(struct ir3_shader *shader, nir_shader *s,
Dir3_nir.c55 struct nir_shader *
86 ir3_optimize_loop(nir_shader *s) in ir3_optimize_loop()
106 struct nir_shader *
107 ir3_optimize_nir(struct ir3_shader *shader, nir_shader *s, in ir3_optimize_nir()
/external/mesa3d/src/mesa/state_tracker/
Dst_nir.h34 struct nir_shader;
36 void st_nir_lower_builtin(struct nir_shader *shader);
37 void st_nir_lower_tex_src_plane(struct nir_shader *shader, unsigned free_slots,
40 struct nir_shader * st_glsl_to_nir(struct st_context *st, struct gl_program *prog,
44 void st_finalize_nir(struct st_context *st, struct gl_program *prog, struct nir_shader *nir);
Dst_nir_lower_builtin.c67 nir_shader *shader;
102 nir_shader *shader = state->shader; in get_variable()
240 st_nir_lower_builtin(nir_shader *shader) in st_nir_lower_builtin()
/external/mesa3d/src/intel/vulkan/
Danv_nir.h34 void anv_nir_lower_input_attachments(nir_shader *shader);
36 void anv_nir_lower_push_constants(nir_shader *shader);
39 nir_shader *shader,
42 nir_shader *shader,
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.h34 struct nir_shader;
128 struct nir_shader *nir,

1234567