Home
last modified time | relevance | path

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

12345678910>>...18

/external/mesa3d/src/intel/compiler/
Dbrw_nir.h92 void brw_nir_analyze_boolean_resolves(nir_shader *nir);
95 nir_shader *nir,
96 const nir_shader *softfp64);
100 nir_shader *producer, nir_shader *consumer);
102 bool brw_nir_lower_cs_intrinsics(nir_shader *nir);
103 bool brw_nir_lower_alpha_to_coverage(nir_shader *shader);
104 void brw_nir_lower_legacy_clipping(nir_shader *nir,
107 void brw_nir_lower_vs_inputs(nir_shader *nir,
109 void brw_nir_lower_vue_inputs(nir_shader *nir,
111 void brw_nir_lower_tes_inputs(nir_shader *nir, const struct brw_vue_map *vue);
[all …]
Dbrw_nir.c162 brw_nir_lower_vs_inputs(nir_shader *nir, in brw_nir_lower_vs_inputs()
288 brw_nir_lower_vue_inputs(nir_shader *nir, in brw_nir_lower_vue_inputs()
341 brw_nir_lower_tes_inputs(nir_shader *nir, const struct brw_vue_map *vue_map) in brw_nir_lower_tes_inputs()
367 brw_nir_lower_fs_inputs(nir_shader *nir, in brw_nir_lower_fs_inputs()
413 brw_nir_lower_vue_outputs(nir_shader *nir) in brw_nir_lower_vue_outputs()
424 brw_nir_lower_tcs_outputs(nir_shader *nir, const struct brw_vue_map *vue_map, in brw_nir_lower_tcs_outputs()
451 brw_nir_lower_fs_outputs(nir_shader *nir) in brw_nir_lower_fs_outputs()
514 brw_nir_optimize(nir_shader *nir, const struct brw_compiler *compiler, in brw_nir_optimize()
744 brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir, in brw_preprocess_nir()
745 const nir_shader *softfp64) in brw_preprocess_nir()
[all …]
/external/mesa3d/src/freedreno/ir3/
Dir3_nir.h36 bool ir3_nir_apply_trig_workarounds(nir_shader *shader);
37 bool ir3_nir_lower_imul(nir_shader *shader);
38 bool ir3_nir_lower_tg4_to_tex(nir_shader *shader);
39 bool ir3_nir_lower_io_offsets(nir_shader *shader, int gpu_id);
40 bool ir3_nir_lower_load_barycentric_at_sample(nir_shader *shader);
41 bool ir3_nir_lower_load_barycentric_at_offset(nir_shader *shader);
42 bool ir3_nir_move_varying_inputs(nir_shader *shader);
44 bool ir3_nir_lower_tex_prefetch(nir_shader *shader);
47 void ir3_nir_lower_to_explicit_output(nir_shader *shader,
49 void ir3_nir_lower_to_explicit_input(nir_shader *shader, struct ir3_shader_variant *v);
[all …]
/external/mesa3d/src/compiler/nir/
Dnir.h105 struct nir_shader;
3186 struct nir_shader *shader;
3541 typedef struct nir_shader { struct
3581 } nir_shader; argument
3587 nir_shader_get_entrypoint(nir_shader *shader) in nir_shader_get_entrypoint()
3629 nir_shader *nir_shader_create(void *mem_ctx,
3639 void nir_shader_add_variable(nir_shader *shader, nir_variable *var);
3649 nir_variable *nir_variable_create(nir_shader *shader,
3658 nir_variable *nir_find_variable_with_location(nir_shader *shader,
3662 nir_variable *nir_find_variable_with_driver_location(nir_shader *shader,
[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()
84 sweep_if(nir_shader *nir, nir_if *iff) in sweep_if()
98 sweep_loop(nir_shader *nir, nir_loop *loop) in sweep_loop()
108 sweep_cf_node(nir_shader *nir, nir_cf_node *cf_node) in sweep_cf_node()
126 sweep_impl(nir_shader *nir, nir_function_impl *impl) in sweep_impl()
144 sweep_function(nir_shader *nir, nir_function *f) in sweep_function()
154 nir_sweep(nir_shader *nir) in nir_sweep()
Dnir_linking_helpers.c72 tcs_add_output_reads(nir_shader *shader, uint64_t *read, uint64_t *patches_read) in tcs_add_output_reads()
122 nir_remove_unused_io_vars(nir_shader *shader, in nir_remove_unused_io_vars()
165 nir_remove_unused_varyings(nir_shader *producer, nir_shader *consumer) in nir_remove_unused_varyings()
268 get_unmoveable_components_masks(nir_shader *shader, in get_unmoveable_components_masks()
360 remap_slots_and_components(nir_shader *shader, nir_variable_mode mode, in remap_slots_and_components()
486 gather_varying_component_info(nir_shader *producer, nir_shader *consumer, in gather_varying_component_info()
730 compact_components(nir_shader *producer, nir_shader *consumer, in compact_components()
812 nir_compact_varyings(nir_shader *producer, nir_shader *consumer, in nir_compact_varyings()
838 nir_link_xfb_varyings(nir_shader *producer, nir_shader *consumer) in nir_link_xfb_varyings()
874 get_matching_input_var(nir_shader *consumer, nir_variable *out_var) in get_matching_input_var()
[all …]
Dnir_lower_multiview.c42 shader_writes_to_memory(nir_shader *shader) in shader_writes_to_memory()
114 nir_shader_uses_view_index(nir_shader *shader) in nir_shader_uses_view_index()
133 shader_only_position_uses_view_index(nir_shader *shader) in shader_only_position_uses_view_index()
135 nir_shader *shader_no_position = nir_shader_clone(NULL, shader); in shader_only_position_uses_view_index()
187 nir_can_lower_multiview(nir_shader *shader) in nir_can_lower_multiview()
210 nir_lower_multiview(nir_shader *shader, uint32_t view_mask) in nir_lower_multiview()
Dnir_metadata.c65 nir_shader_preserve_all_metadata(nir_shader *shader) in nir_shader_preserve_all_metadata()
81 nir_metadata_set_validation_flag(nir_shader *shader) in nir_metadata_set_validation_flag()
98 nir_metadata_check_validation_flag(nir_shader *shader) in nir_metadata_check_validation_flag()
/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 void st_nir_lower_wpos_ytransform(struct nir_shader *nir,
46 struct nir_shader *nir, bool finalize_by_driver);
48 void st_nir_opts(struct nir_shader *nir);
54 void st_nir_assign_vs_in_locations(struct nir_shader *nir);
56 struct nir_shader *nir);
58 void st_nir_lower_samplers(struct pipe_screen *screen, struct nir_shader *nir,
61 void st_nir_lower_uniforms(struct st_context *st, struct nir_shader *nir);
[all …]
Dst_glsl_to_nir.cpp66 st_nir_fixup_varying_slots(struct st_context *st, nir_shader *shader, in st_nir_fixup_varying_slots()
85 st_shader_gather_info(nir_shader *nir, struct gl_program *prog) in st_shader_gather_info()
103 st_nir_assign_vs_in_locations(struct nir_shader *nir) in st_nir_assign_vs_in_locations()
198 nir_shader *nir) in st_nir_assign_uniform_locations()
252 st_nir_opts(nir_shader *nir) in st_nir_opts()
355 nir_shader *nir = prog->nir; in st_nir_preprocess()
432 nir_shader *nir = prog->nir; in st_glsl_to_nir_post_opts()
531 st_nir_vectorize_io(nir_shader *producer, nir_shader *consumer) in st_nir_vectorize_io()
553 st_nir_link_shaders(nir_shader *producer, nir_shader *consumer) in st_nir_link_shaders()
599 nir_shader *tcs_nir = linked_tcs->Program->nir; in st_lower_patch_vertices_in()
[all …]
/external/mesa3d/src/gallium/drivers/lima/ir/
Dlima_ir.h56 bool gpir_compile_nir(struct lima_vs_shader_state *prog, struct nir_shader *nir,
61 bool ppir_compile_nir(struct lima_fs_shader_state *prog, struct nir_shader *nir,
66 void lima_nir_lower_uniform_to_scalar(nir_shader *shader);
67 bool lima_nir_scale_trig(nir_shader *shader);
68 bool lima_nir_lower_ftrunc(nir_shader *shader);
69 bool lima_nir_split_load_input(nir_shader *shader);
71 void lima_nir_duplicate_load_consts(nir_shader *shader);
72 void lima_nir_duplicate_load_inputs(nir_shader *shader);
73 void lima_nir_duplicate_load_uniforms(nir_shader *shader);
/external/mesa3d/src/compiler/glsl/
Dgl_nir.h31 struct nir_shader;
34 bool gl_nir_lower_atomics(nir_shader *shader,
38 bool gl_nir_lower_images(nir_shader *shader, bool bindless_only);
39 bool gl_nir_lower_samplers(nir_shader *shader,
41 bool gl_nir_lower_samplers_as_deref(nir_shader *shader,
44 bool gl_nir_lower_buffers(nir_shader *shader,
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.h39 bool r600_nir_lower_pack_unpack_2x16(nir_shader *shader);
41 bool r600_lower_scratch_addresses(nir_shader *shader);
43 bool r600_lower_ubo_to_align16(nir_shader *shader);
58 bool lower(const nir_shader *shader, r600_pipe_shader *sh,
80 const nir_shader *sh;
113 bool r600_lower_tess_io(nir_shader *shader, enum pipe_prim_type prim_type);
114 bool r600_append_tcs_TF_emission(nir_shader *shader, enum pipe_prim_type prim_type);
120 bool r600_vectorize_vs_inputs(nir_shader *shader);
/external/mesa3d/src/intel/vulkan/
Danv_nir.h34 bool anv_check_for_primitive_replication(nir_shader **shaders,
37 bool anv_nir_lower_multiview(nir_shader *shader,
40 bool anv_nir_lower_ycbcr_textures(nir_shader *shader,
60 nir_shader *shader,
65 nir_shader *nir,
73 bool anv_nir_add_base_work_group_id(nir_shader *shader);
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.h34 struct nir_shader;
50 bool ac_lower_indirect_derefs(struct nir_shader *nir, enum chip_class);
52 bool ac_are_tessfactors_def_in_all_invocs(const struct nir_shader *nir);
55 const struct ac_shader_args *args, struct nir_shader *nir);
58 struct nir_shader *nir, struct nir_variable *variable,
/external/mesa3d/src/panfrost/midgard/
Dmidgard_nir.h4 bool midgard_nir_lower_algebraic_early(nir_shader *shader);
5 bool midgard_nir_lower_algebraic_late(nir_shader *shader);
6 bool midgard_nir_scale_trig(nir_shader *shader);
7 bool midgard_nir_cancel_inot(nir_shader *shader);
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_draw_helpers.h28 struct nir_shader;
30 nir_lower_pstipple_fs(struct nir_shader *shader,
36 nir_lower_aaline_fs(struct nir_shader *shader, int *varying);
39 nir_lower_aapoint_fs(struct nir_shader *shader, int *varying);
Dnir_to_tgsi_info.h28 struct nir_shader;
33 void nir_tgsi_scan_shader(const struct nir_shader *nir,
37 static inline void nir_tgsi_scan_shader(const struct nir_shader *nir, in nir_tgsi_scan_shader()
/external/mesa3d/src/compiler/spirv/
Dnir_spirv.h89 const nir_shader *clc_shader;
104 nir_shader *spirv_to_nir(const uint32_t *words, size_t word_count,
113 nir_shader *
119 bool nir_lower_libclc(nir_shader *shader, const nir_shader *clc_shader);
Dnir_lower_libclc.c36 const nir_shader *clc_shader, in lower_clc_call_instr()
68 const nir_shader *clc_shader, in nir_lower_libclc_impl()
94 nir_lower_libclc(nir_shader *shader, in nir_lower_libclc()
95 const nir_shader *clc_shader) in nir_lower_libclc()
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.h42 struct nir_shader;
46 nir_to_spirv(struct nir_shader *s, const struct zink_so_info *so_info,
67 struct nir_shader;
70 zink_nir_lower_b2b(struct nir_shader *shader);
/external/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.h41 struct nir_shader;
57 struct nir_shader *
61 struct nir_shader *nir;
81 zink_shader_create(struct zink_screen *screen, struct nir_shader *nir,
/external/mesa3d/src/gallium/drivers/lima/
Dlima_program.h34 struct nir_shader;
36 void lima_program_optimize_vs_nir(struct nir_shader *s);
39 void lima_program_optimize_fs_nir(struct nir_shader *s,
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c35 gather_intrinsic_load_input_info(const nir_shader *nir, in gather_intrinsic_load_input_info()
63 set_writes_memory(const nir_shader *nir, struct radv_shader_info *info) in set_writes_memory()
70 gather_intrinsic_store_output_info(const nir_shader *nir, in gather_intrinsic_store_output_info()
106 gather_push_constant_info(const nir_shader *nir, in gather_push_constant_info()
131 gather_intrinsic_info(const nir_shader *nir, const nir_intrinsic_instr *instr, in gather_intrinsic_info()
259 gather_tex_info(const nir_shader *nir, const nir_tex_instr *instr, in gather_tex_info()
277 gather_info_block(const nir_shader *nir, const nir_block *block, in gather_info_block()
295 gather_info_input_decl_vs(const nir_shader *nir, const nir_variable *var, in gather_info_input_decl_vs()
336 gather_info_input_decl_ps(const nir_shader *nir, const nir_variable *var, in gather_info_input_decl_ps()
389 gather_info_input_decl(const nir_shader *nir, const nir_variable *var, in gather_info_input_decl()
[all …]
/external/mesa3d/src/gallium/drivers/lima/standalone/
Dlima_compiler_cmdline.c62 sort_varyings(nir_shader *nir, nir_variable_mode mode) in sort_varyings()
74 fixup_varying_slots(nir_shader *nir, nir_variable_mode mode) in fixup_varying_slots()
86 static nir_shader *
115 nir_shader *nir = glsl_to_nir(&local_ctx, prog, stage, nir_options); in load_glsl()
219 nir_shader *nir = load_glsl(1, filename, stage); in main()

12345678910>>...18