Home
last modified time | relevance | path

Searched defs:nir (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/external/mesa3d/src/compiler/nir/
Dnir_sweep.c46 sweep_block(nir_shader *nir, nir_block *block) in sweep_block()
77 sweep_if(nir_shader *nir, nir_if *iff) in sweep_if()
91 sweep_loop(nir_shader *nir, nir_loop *loop) in sweep_loop()
102 sweep_cf_node(nir_shader *nir, nir_cf_node *cf_node) in sweep_cf_node()
120 sweep_impl(nir_shader *nir, nir_function_impl *impl) in sweep_impl()
137 sweep_function(nir_shader *nir, nir_function *f) in sweep_function()
147 nir_sweep(nir_shader *nir) in nir_sweep()
Dnir_lower_patch_vertices.c27 make_uniform(nir_shader *nir, const gl_state_index16 *tokens) in make_uniform()
52 nir_lower_patch_vertices(nir_shader *nir, in nir_lower_patch_vertices()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c72 void si_nir_opts(struct si_screen *sscreen, struct nir_shader *nir, bool first) in si_nir_opts()
157 void si_nir_late_opts(nir_shader *nir) in si_nir_late_opts()
178 static void si_late_optimize_16bit_samplers(struct si_screen *sscreen, nir_shader *nir) in si_late_optimize_16bit_samplers()
249 static bool si_lower_intrinsics(nir_shader *nir) in si_lower_intrinsics()
277 static void si_lower_nir(struct si_screen *sscreen, struct nir_shader *nir) in si_lower_nir()
377 static bool si_mark_divergent_texture_non_uniform(struct nir_shader *nir) in si_mark_divergent_texture_non_uniform()
435 struct nir_shader *nir = (struct nir_shader *)nirptr; in si_finalize_nir() local
/external/mesa3d/src/intel/compiler/elk/
Delk_nir.c238 elk_nir_lower_vs_inputs(nir_shader *nir, in elk_nir_lower_vs_inputs()
369 elk_nir_lower_vue_inputs(nir_shader *nir, in elk_nir_lower_vue_inputs()
419 elk_nir_lower_tes_inputs(nir_shader *nir, const struct intel_vue_map *vue_map) in elk_nir_lower_tes_inputs()
494 elk_nir_lower_fs_inputs(nir_shader *nir, in elk_nir_lower_fs_inputs()
551 elk_nir_lower_vue_outputs(nir_shader *nir) in elk_nir_lower_vue_outputs()
562 elk_nir_lower_tcs_outputs(nir_shader *nir, const struct intel_vue_map *vue_map, in elk_nir_lower_tcs_outputs()
586 elk_nir_lower_fs_outputs(nir_shader *nir) in elk_nir_lower_fs_outputs()
606 elk_nir_optimize(nir_shader *nir, bool is_scalar, in elk_nir_optimize()
892 elk_preprocess_nir(const struct elk_compiler *compiler, nir_shader *nir, in elk_preprocess_nir()
1319 elk_vectorize_lower_mem_access(nir_shader *nir, in elk_vectorize_lower_mem_access()
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_nir_rt.c197 lower_rt_io_and_scratch(nir_shader *nir) in lower_rt_io_and_scratch()
349 brw_nir_lower_raygen(nir_shader *nir) in brw_nir_lower_raygen()
357 brw_nir_lower_any_hit(nir_shader *nir, const struct intel_device_info *devinfo) in brw_nir_lower_any_hit()
366 brw_nir_lower_closest_hit(nir_shader *nir) in brw_nir_lower_closest_hit()
374 brw_nir_lower_miss(nir_shader *nir) in brw_nir_lower_miss()
382 brw_nir_lower_callable(nir_shader *nir) in brw_nir_lower_callable()
497 nir_shader *nir = b.shader; in brw_nir_create_raygen_trampoline() local
Dbrw_nir.c346 brw_nir_lower_vs_inputs(nir_shader *nir) in brw_nir_lower_vs_inputs()
465 brw_nir_lower_vue_inputs(nir_shader *nir, in brw_nir_lower_vue_inputs()
515 brw_nir_lower_tes_inputs(nir_shader *nir, const struct intel_vue_map *vue_map) in brw_nir_lower_tes_inputs()
590 brw_nir_lower_fs_inputs(nir_shader *nir, in brw_nir_lower_fs_inputs()
638 brw_nir_lower_vue_outputs(nir_shader *nir) in brw_nir_lower_vue_outputs()
649 brw_nir_lower_tcs_outputs(nir_shader *nir, const struct intel_vue_map *vue_map, in brw_nir_lower_tcs_outputs()
673 brw_nir_lower_fs_outputs(nir_shader *nir) in brw_nir_lower_fs_outputs()
693 brw_nir_optimize(nir_shader *nir, in brw_nir_optimize()
967 brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir, in brw_preprocess_nir()
1533 brw_vectorize_lower_mem_access(nir_shader *nir, in brw_vectorize_lower_mem_access()
[all …]
Dbrw_kernel.c45 nir_shader *nir = nir_load_libclc_shader(64, disk_cache, in load_clc_shader() local
125 implement_intel_builtins(nir_shader *nir) in implement_intel_builtins()
162 lower_kernel_intrinsics(nir_shader *nir) in lower_kernel_intrinsics()
300 nir_shader *nir = in brw_kernel_from_spirv() local
491 nir_remove_llvm17_scratch(nir_shader *nir) in nir_remove_llvm17_scratch()
561 cleanup_llvm17_scratch(nir_shader *nir) in cleanup_llvm17_scratch()
635 nir_shader *nir = in brw_nir_from_spirv() local
Dbrw_mesh.cpp72 brw_nir_lower_load_uniforms(nir_shader *nir) in brw_nir_lower_load_uniforms()
137 brw_nir_lower_launch_mesh_workgroups(nir_shader *nir) in brw_nir_lower_launch_mesh_workgroups()
146 brw_nir_lower_tue_outputs(nir_shader *nir, brw_tue_map *map) in brw_nir_lower_tue_outputs()
215 brw_nir_adjust_task_payload_offsets(nir_shader *nir) in brw_nir_adjust_task_payload_offsets()
255 brw_nir_align_launch_mesh_workgroups(nir_shader *nir) in brw_nir_align_launch_mesh_workgroups()
268 struct nir_shader *nir = params->base.nir; in brw_compile_task() local
378 brw_nir_lower_tue_inputs(nir_shader *nir, const brw_tue_map *map) in brw_nir_lower_tue_inputs()
497 struct nir_shader *nir, in brw_compute_mue_layout()
765 struct nir_shader *nir, struct brw_mue_map *map, in brw_compute_mue_map()
1077 brw_print_mue_map(FILE *fp, const struct brw_mue_map *map, struct nir_shader *nir) in brw_print_mue_map()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_emit.c53 #define OPCT(nir, op, src, cond, type) [nir_op_##nir] = { \ argument
59 #define OPC(nir, op, src, cond) OPCT(nir, op, src, cond, F32) argument
60 #define IOPC(nir, op, src, cond) OPCT(nir, op, src, cond, S32) argument
61 #define UOPC(nir, op, src, cond) OPCT(nir, op, src, cond, U32) argument
62 #define OP(nir, op, src) OPC(nir, op, src, TRUE) argument
63 #define IOP(nir, op, src) IOPC(nir, op, src, TRUE) argument
64 #define UOP(nir, op, src) UOPC(nir, op, src, TRUE) argument
/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()
115 nir_shader *nir = glsl_to_nir(&local_ctx.Const, prog, stage, nir_options); in load_glsl() local
220 nir_shader *nir = load_glsl(1, filename, stage); in main() local
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp96 st_nir_assign_vs_in_locations(struct nir_shader *nir) in st_nir_assign_vs_in_locations()
182 nir_shader *nir) in st_nir_assign_uniform_locations()
277 nir_shader *nir = prog->nir; in st_glsl_to_nir_post_opts() local
445 st_nir_lower_wpos_ytransform(struct nir_shader *nir, in st_nir_lower_wpos_ytransform()
585 nir_shader *nir = shader->Program->nir; in st_link_glsl_to_nir() local
749 st_nir_assign_varying_locations(struct st_context *st, nir_shader *nir) in st_nir_assign_varying_locations()
784 st_nir_lower_samplers(struct pipe_screen *screen, nir_shader *nir, in st_nir_lower_samplers()
816 st_nir_lower_uniforms(struct st_context *st, nir_shader *nir) in st_nir_lower_uniforms()
840 nir_shader *nir, bool finalize_by_driver, in st_finalize_nir()
/external/mesa3d/src/nouveau/compiler/
Dnak_nir.c12 #define OPT(nir, pass, ...) ({ \ argument
20 #define OPT_V(nir, pass, ...) NIR_PASS_V(nir, pass, ##__VA_ARGS__) argument
23 nak_nir_workgroup_has_one_subgroup(const nir_shader *nir) in nak_nir_workgroup_has_one_subgroup()
58 optimize_nir(nir_shader *nir, const struct nak_compiler *nak, bool allow_copies) in optimize_nir()
142 nak_optimize_nir(nir_shader *nir, const struct nak_compiler *nak) in nak_optimize_nir()
282 nak_nir_lower_subgroup_id(nir_shader *nir) in nak_nir_lower_subgroup_id()
291 nak_preprocess_nir(nir_shader *nir, const struct nak_compiler *nak) in nak_preprocess_nir()
342 nak_nir_lower_vs_inputs(nir_shader *nir) in nak_nir_lower_vs_inputs()
597 nak_nir_lower_system_values(nir_shader *nir, const struct nak_compiler *nak) in nak_nir_lower_system_values()
605 nak_nir_lower_varyings(nir_shader *nir, nir_variable_mode modes) in nak_nir_lower_varyings()
[all …]
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_exec_graph.c65 lvp_lower_node_payload_derefs(nir_shader *nir) in lvp_lower_node_payload_derefs()
126 lvp_lower_exec_graph_intrinsics(nir_shader *nir) in lvp_lower_exec_graph_intrinsics()
133 lvp_lower_node_payload_vars(struct lvp_pipeline *pipeline, nir_shader *nir) in lvp_lower_node_payload_vars()
152 lvp_lower_exec_graph(struct lvp_pipeline *pipeline, nir_shader *nir) in lvp_lower_exec_graph()
/external/mesa3d/src/amd/vulkan/nir/
Dradv_nir_lower_io.c40 radv_nir_lower_io_to_scalar_early(nir_shader *nir, nir_variable_mode mask) in radv_nir_lower_io_to_scalar_early()
73 radv_nir_lower_io(struct radv_device *device, nir_shader *nir) in radv_nir_lower_io()
139 nir_shader *nir = stage->nir; in radv_nir_lower_io_to_mem() local
Dradv_nir_lower_poly_line_smooth.c30 radv_should_lower_poly_line_smooth(nir_shader *nir, const struct radv_graphics_state_key *gfx_state) in radv_should_lower_poly_line_smooth()
56 radv_nir_lower_poly_line_smooth(nir_shader *nir, const struct radv_graphics_state_key *gfx_state) in radv_nir_lower_poly_line_smooth()
Dradv_nir_lower_view_index.c31 find_layer_in_var(nir_shader *nir) in find_layer_in_var()
53 radv_nir_lower_view_index(nir_shader *nir, bool per_primitive) in radv_nir_lower_view_index()
Dradv_nir_export_multiview.c31 find_layer_out_var(nir_shader *nir) in find_layer_out_var()
45 radv_nir_export_multiview(nir_shader *nir) in radv_nir_export_multiview()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c37 gather_intrinsic_load_input_info(const nir_shader *nir, const nir_intrinsic_instr *instr, struct ra… in gather_intrinsic_load_input_info()
57 gather_intrinsic_store_output_info(const nir_shader *nir, const nir_intrinsic_instr *instr, in gather_intrinsic_store_output_info()
114 gather_push_constant_info(const nir_shader *nir, const nir_intrinsic_instr *instr, struct radv_shad… in gather_push_constant_info()
132 gather_intrinsic_info(const nir_shader *nir, const nir_intrinsic_instr *instr, struct radv_shader_i… in gather_intrinsic_info()
243 gather_tex_info(const nir_shader *nir, const nir_tex_instr *instr, struct radv_shader_info *info) in gather_tex_info()
260 gather_info_block(const nir_shader *nir, const nir_block *block, struct radv_shader_info *info, boo… in gather_info_block()
299 gather_xfb_info(const nir_shader *nir, struct radv_shader_info *info) in gather_xfb_info()
386 gather_info_input_decl_vs(const nir_shader *nir, unsigned location, const struct glsl_type *type, in gather_info_input_decl_vs()
426 gather_shader_info_vs(struct radv_device *device, const nir_shader *nir, in gather_shader_info_vs()
477 gather_shader_info_tcs(struct radv_device *device, const nir_shader *nir, in gather_shader_info_tcs()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c80 sort_varyings(nir_shader *nir, nir_variable_mode mode) in sort_varyings()
92 fixup_varying_slots(nir_shader *nir, nir_variable_mode mode) in fixup_varying_slots()
123 nir_shader *nir = glsl_to_nir(&local_ctx.Const, prog, stage, nir_options); in load_glsl() local
243 nir_shader *nir; in load_spirv() local
368 nir_shader *nir; in main() local
/external/mesa3d/src/nouveau/vulkan/
Dnvk_codegen.c105 nvk_cg_preprocess_nir(nir_shader *nir) in nvk_cg_preprocess_nir()
129 nvk_cg_optimize_nir(nir_shader *nir) in nvk_cg_optimize_nir()
223 assign_io_locations(nir_shader *nir) in assign_io_locations()
258 nak_cg_postprocess_nir(nir_shader *nir) in nak_cg_postprocess_nir()
527 const struct nir_shader *nir, in nvk_gs_gen_header()
737 static uint8_t find_register_index_for_xfb_output(const struct nir_shader *nir, in find_register_index_for_xfb_output()
754 struct nir_shader *nir, in nvk_fill_transform_feedback_state()
795 nvk_cg_compile_nir(struct nvk_physical_device *pdev, nir_shader *nir, in nvk_cg_compile_nir()
/external/mesa3d/src/microsoft/clc/
Dclc_compiler.c276 clc_lower_images(nir_shader *nir, struct clc_image_lower_context *context) in clc_lower_images()
306 clc_lower_64bit_semantics(nir_shader *nir) in clc_lower_64bit_semantics()
347 clc_lower_nonnormalized_samplers(nir_shader *nir, in clc_lower_nonnormalized_samplers()
416 add_kernel_inputs_var(struct clc_dxil_object *dxil, nir_shader *nir, in add_kernel_inputs_var()
444 struct nir_shader *nir, unsigned *cbv_id) in add_work_properties_var()
461 clc_lower_constant_to_ssbo(nir_shader *nir, in clc_lower_constant_to_ssbo()
496 clc_change_variable_mode(nir_shader *nir, nir_variable_mode from, nir_variable_mode to) in clc_change_variable_mode()
583 static bool shader_has_double(nir_shader *nir) in shader_has_double()
631 struct nir_shader *nir; in clc_spirv_to_dxil() local
Dclc_nir.c102 clc_nir_lower_system_values(nir_shader *nir, nir_variable *var) in clc_nir_lower_system_values()
185 clc_nir_lower_kernel_input_loads(nir_shader *nir, nir_variable *var) in clc_nir_lower_kernel_input_loads()
214 add_printf_var(struct nir_shader *nir, unsigned uav_id) in add_printf_var()
228 clc_lower_printf_base(nir_shader *nir, unsigned uav_id) in clc_lower_printf_base()
/external/mesa3d/src/imagination/rogue/
Drogue_build_data.c125 static inline unsigned nir_count_variables_with_modes(const nir_shader *nir, in nir_count_variables_with_modes()
148 nir_shader *nir) in collect_io_data_fs()
278 nir_shader *nir) in collect_io_data_vs()
334 void rogue_collect_io_data(struct rogue_build_ctx *ctx, nir_shader *nir) in rogue_collect_io_data()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_analyze_ubo_ranges.c31 get_ubo_load_range(nir_shader *nir, nir_intrinsic_instr *instr, in get_ubo_load_range()
154 gather_ubo_ranges(nir_shader *nir, nir_intrinsic_instr *instr, in gather_ubo_ranges()
447 rematerialize_load_global_bases(nir_shader *nir, in rematerialize_load_global_bases()
478 copy_global_to_uniform(nir_shader *nir, struct ir3_ubo_analysis_state *state) in copy_global_to_uniform()
531 copy_ubo_to_uniform(nir_shader *nir, const struct ir3_const_state *const_state, in copy_ubo_to_uniform()
647 ir3_nir_lower_const_global_loads(nir_shader *nir, struct ir3_shader_variant *v) in ir3_nir_lower_const_global_loads()
721 ir3_nir_analyze_ubo_ranges(nir_shader *nir, struct ir3_shader_variant *v) in ir3_nir_analyze_ubo_ranges()
768 ir3_nir_lower_ubo_loads(nir_shader *nir, struct ir3_shader_variant *v) in ir3_nir_lower_ubo_loads()
884 ir3_nir_fixup_load_uniform(nir_shader *nir) in ir3_nir_fixup_load_uniform()
938 ir3_nir_lower_load_constant(nir_shader *nir, struct ir3_shader_variant *v) in ir3_nir_lower_load_constant()
/external/mesa3d/src/imagination/vulkan/
Dpvr_shader.c61 nir_shader *nir; in pvr_spirv_to_nir() local
86 rogue_shader *pvr_nir_to_rogue(rogue_build_ctx *ctx, nir_shader *nir) in pvr_nir_to_rogue()

12345678910>>...12