Home
last modified time | relevance | path

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

12345678

/third_party/mesa3d/src/compiler/nir/
Dnir_sweep.c44 sweep_block(nir_shader *nir, nir_block *block) in sweep_block()
64 sweep_if(nir_shader *nir, nir_if *iff) in sweep_if()
78 sweep_loop(nir_shader *nir, nir_loop *loop) in sweep_loop()
88 sweep_cf_node(nir_shader *nir, nir_cf_node *cf_node) in sweep_cf_node()
106 sweep_impl(nir_shader *nir, nir_function_impl *impl) in sweep_impl()
124 sweep_function(nir_shader *nir, nir_function *f) in sweep_function()
134 nir_sweep(nir_shader *nir) in nir_sweep()
Dnir_lower_clip_cull_distance_arrays.c41 get_unwrapped_array_length(nir_shader *nir, nir_variable *var) in get_unwrapped_array_length()
65 combine_clip_cull(nir_shader *nir, in combine_clip_cull()
128 nir_lower_clip_cull_distance_arrays(nir_shader *nir) in nir_lower_clip_cull_distance_arrays()
Dnir_lower_patch_vertices.c28 make_uniform(nir_shader *nir, const gl_state_index16 *tokens) in make_uniform()
57 nir_lower_patch_vertices(nir_shader *nir, in nir_lower_patch_vertices()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_info.c37 gather_intrinsic_load_input_info(const nir_shader *nir, const nir_intrinsic_instr *instr, in gather_intrinsic_load_input_info()
55 gather_intrinsic_store_output_info(const nir_shader *nir, const nir_intrinsic_instr *instr, in gather_intrinsic_store_output_info()
89 gather_push_constant_info(const nir_shader *nir, const nir_intrinsic_instr *instr, in gather_push_constant_info()
108 gather_intrinsic_info(const nir_shader *nir, const nir_intrinsic_instr *instr, in gather_intrinsic_info()
212 gather_tex_info(const nir_shader *nir, const nir_tex_instr *instr, struct radv_shader_info *info) in gather_tex_info()
229 gather_info_block(const nir_shader *nir, const nir_block *block, struct radv_shader_info *info) in gather_info_block()
246 gather_info_input_decl_vs(const nir_shader *nir, const nir_variable *var, in gather_info_input_decl_vs()
288 gather_info_input_decl_ps(const nir_shader *nir, const nir_variable *var, in gather_info_input_decl_ps()
328 gather_info_input_decl(const nir_shader *nir, const nir_variable *var, in gather_info_input_decl()
344 gather_info_output_decl_gs(const nir_shader *nir, const nir_variable *var, in gather_info_output_decl_gs()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c57 void si_nir_opts(struct si_screen *sscreen, struct nir_shader *nir, bool first) in si_nir_opts()
137 void si_nir_late_opts(nir_shader *nir) in si_nir_late_opts()
158 static void si_late_optimize_16bit_samplers(struct si_screen *sscreen, nir_shader *nir) in si_late_optimize_16bit_samplers()
228 static bool si_lower_intrinsics(nir_shader *nir) in si_lower_intrinsics()
240 static void si_lower_nir(struct si_screen *sscreen, struct nir_shader *nir) in si_lower_nir()
334 struct nir_shader *nir = (struct nir_shader *)nirptr; in si_finalize_nir() local
/third_party/mesa3d/src/microsoft/clc/
Dclc_nir.c107 clc_nir_lower_system_values(nir_shader *nir, nir_variable *var) in clc_nir_lower_system_values()
189 clc_nir_lower_kernel_input_loads(nir_shader *nir, nir_variable *var) in clc_nir_lower_kernel_input_loads()
219 add_printf_var(struct nir_shader *nir, unsigned uav_id) in add_printf_var()
233 clc_lower_printf_base(nir_shader *nir, unsigned uav_id) in clc_lower_printf_base()
273 find_identical_const_sampler(nir_shader *nir, nir_variable *sampler) in find_identical_const_sampler()
291 nir_shader *nir = cb_data; in clc_nir_dedupe_const_samplers_instr() local
324 clc_nir_dedupe_const_samplers(nir_shader *nir) in clc_nir_dedupe_const_samplers()
Dclc_compiler.c258 clc_lower_images(nir_shader *nir, struct clc_image_lower_context *context) in clc_lower_images()
284 clc_lower_64bit_semantics(nir_shader *nir) in clc_lower_64bit_semantics()
326 clc_lower_nonnormalized_samplers(nir_shader *nir, in clc_lower_nonnormalized_samplers()
398 add_kernel_inputs_var(struct clc_dxil_object *dxil, nir_shader *nir, in add_kernel_inputs_var()
426 struct nir_shader *nir, unsigned *cbv_id) in add_work_properties_var()
443 clc_lower_constant_to_ssbo(nir_shader *nir, in clc_lower_constant_to_ssbo()
481 clc_lower_global_to_ssbo(nir_shader *nir) in clc_lower_global_to_ssbo()
695 static bool shader_has_double(nir_shader *nir) in shader_has_double()
743 struct nir_shader *nir; in clc_spirv_to_dxil() local
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_rt.c200 lower_rt_io_and_scratch(nir_shader *nir) in lower_rt_io_and_scratch()
353 brw_nir_lower_raygen(nir_shader *nir) in brw_nir_lower_raygen()
361 brw_nir_lower_any_hit(nir_shader *nir, const struct intel_device_info *devinfo) in brw_nir_lower_any_hit()
370 brw_nir_lower_closest_hit(nir_shader *nir) in brw_nir_lower_closest_hit()
378 brw_nir_lower_miss(nir_shader *nir) in brw_nir_lower_miss()
386 brw_nir_lower_callable(nir_shader *nir) in brw_nir_lower_callable()
485 nir_shader *nir = b.shader; in brw_nir_create_raygen_trampoline() local
Dbrw_nir.c163 brw_nir_lower_vs_inputs(nir_shader *nir, in brw_nir_lower_vs_inputs()
298 brw_nir_lower_vue_inputs(nir_shader *nir, in brw_nir_lower_vue_inputs()
351 brw_nir_lower_tes_inputs(nir_shader *nir, const struct brw_vue_map *vue_map) in brw_nir_lower_tes_inputs()
416 brw_nir_lower_fs_inputs(nir_shader *nir, in brw_nir_lower_fs_inputs()
470 brw_nir_lower_vue_outputs(nir_shader *nir) in brw_nir_lower_vue_outputs()
481 brw_nir_lower_tcs_outputs(nir_shader *nir, const struct brw_vue_map *vue_map, in brw_nir_lower_tcs_outputs()
508 brw_nir_lower_fs_outputs(nir_shader *nir) in brw_nir_lower_fs_outputs()
528 brw_nir_optimize(nir_shader *nir, const struct brw_compiler *compiler, in brw_nir_optimize()
812 brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir, in brw_preprocess_nir()
1083 brw_vectorize_lower_mem_access(nir_shader *nir, in brw_vectorize_lower_mem_access()
[all …]
Dbrw_kernel.c40 nir_shader *nir = nir_load_libclc_shader(64, disk_cache, in load_clc_shader() local
128 implement_intel_builtins(nir_shader *nir) in implement_intel_builtins()
165 lower_kernel_intrinsics(nir_shader *nir) in lower_kernel_intrinsics()
304 nir_shader *nir = in brw_kernel_from_spirv() local
Dbrw_nir_lower_cs_intrinsics.c28 nir_shader *nir; member
40 nir_shader *nir = state->nir; in lower_cs_intrinsics_convert_block() local
274 brw_nir_lower_cs_intrinsics(nir_shader *nir) in brw_nir_lower_cs_intrinsics()
Dbrw_mesh.cpp68 brw_nir_lower_load_uniforms(nir_shader *nir) in brw_nir_lower_load_uniforms()
94 brw_nir_lower_tue_outputs(nir_shader *nir, brw_tue_map *map) in brw_nir_lower_tue_outputs()
175 brw_nir_adjust_task_payload_offsets(nir_shader *nir) in brw_nir_adjust_task_payload_offsets()
201 struct nir_shader *nir = params->nir; in brw_compile_task() local
296 brw_nir_lower_tue_inputs(nir_shader *nir, const brw_tue_map *map) in brw_nir_lower_tue_inputs()
349 brw_compute_mue_map(struct nir_shader *nir, struct brw_mue_map *map) in brw_compute_mue_map()
522 brw_nir_lower_mue_outputs(nir_shader *nir, const struct brw_mue_map *map) in brw_nir_lower_mue_outputs()
536 brw_nir_initialize_mue(nir_shader *nir, in brw_nir_initialize_mue()
676 brw_nir_adjust_offset_for_arrayed_indices(nir_shader *nir, const struct brw_mue_map *map) in brw_nir_adjust_offset_for_arrayed_indices()
690 struct nir_shader *nir = params->nir; in brw_compile_mesh() local
/third_party/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
/third_party/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
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp250 setup_vs_output_info(isel_context* ctx, nir_shader* nir, in setup_vs_output_info()
269 setup_vs_variables(isel_context* ctx, nir_shader* nir) in setup_vs_variables()
288 setup_gs_variables(isel_context* ctx, nir_shader* nir) in setup_gs_variables()
302 setup_tcs_info(isel_context* ctx, nir_shader* nir, nir_shader* vs) in setup_tcs_info()
311 setup_tes_variables(isel_context* ctx, nir_shader* nir) in setup_tes_variables()
332 setup_ms_variables(isel_context* ctx, nir_shader* nir) in setup_ms_variables()
342 setup_variables(isel_context* ctx, nir_shader* nir) in setup_variables()
382 setup_nir(isel_context* ctx, nir_shader* nir) in setup_nir()
926 nir_shader* nir = shaders[i]; in setup_isel_context() local
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp94 st_nir_assign_vs_in_locations(struct nir_shader *nir) in st_nir_assign_vs_in_locations()
180 nir_shader *nir) in st_nir_assign_uniform_locations()
236 st_nir_add_point_size(nir_shader *nir) in st_nir_add_point_size()
310 st_nir_zero_initialize_clip_distance(nir_shader *nir) in st_nir_zero_initialize_clip_distance()
340 nir_shader *nir = prog->nir; in st_nir_preprocess() local
467 nir_shader *nir = prog->nir; in st_glsl_to_nir_post_opts() local
643 st_nir_lower_wpos_ytransform(struct nir_shader *nir, in st_nir_lower_wpos_ytransform()
777 nir_shader *nir = shader->Program->nir; in st_link_nir() local
933 st_nir_assign_varying_locations(struct st_context *st, nir_shader *nir) in st_nir_assign_varying_locations()
968 st_nir_lower_samplers(struct pipe_screen *screen, nir_shader *nir, in st_nir_lower_samplers()
[all …]
Dst_program.c354 st_finalize_nir_before_variants(struct nir_shader *nir) in st_finalize_nir_before_variants()
374 st_prog_to_nir_postprocess(struct st_context *st, nir_shader *nir, in st_prog_to_nir_postprocess()
418 nir_shader *nir = prog_to_nir(st->ctx, prog, options); in st_translate_prog_to_nir() local
504 nir_shader *nir = state->ir.nir; in st_create_nir_shader() local
615 nir_shader *nir = prog->nir; in get_nir_shader() local
636 struct nir_shader *nir, in lower_ucp()
854 nir_shader *nir = in st_translate_fragment_program() local
1226 nir_shader *nir = prog->nir; in st_can_add_pointsize_to_program() local
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c81 sort_varyings(nir_shader *nir, nir_variable_mode mode) in sort_varyings()
93 fixup_varying_slots(nir_shader *nir, nir_variable_mode mode) in fixup_varying_slots()
124 nir_shader *nir = glsl_to_nir(&local_ctx.Const, prog, stage, nir_options); in load_glsl() local
244 nir_shader *nir; in load_spirv() local
369 nir_shader *nir; in main() local
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c128 set_image_access(struct lvp_pipeline *pipeline, nir_shader *nir, in set_image_access()
152 set_buffer_access(struct lvp_pipeline *pipeline, nir_shader *nir, in set_buffer_access()
183 scan_intrinsic(struct lvp_pipeline *pipeline, nir_shader *nir, nir_intrinsic_instr *instr) in scan_intrinsic()
230 scan_pipeline_info(struct lvp_pipeline *pipeline, nir_shader *nir) in scan_pipeline_info()
262 remove_scoped_barriers(nir_shader *nir, bool is_compute) in remove_scoped_barriers()
285 lower_demote(nir_shader *nir) in lower_demote()
324 optimize(nir_shader *nir) in optimize()
373 lvp_shader_optimize(nir_shader *nir) in lvp_shader_optimize()
390 nir_shader *nir; in lvp_shader_compile_to_ir() local
614 lvp_pipeline_compile_stage(struct lvp_pipeline *pipeline, nir_shader *nir) in lvp_pipeline_compile_stage()
[all …]
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_shader.c62 nir_shader *nir; in pvr_spirv_to_nir() local
88 nir_shader *nir) in pvr_nir_to_rogue()
/third_party/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()
136 gather_ubo_ranges(nir_shader *nir, nir_intrinsic_instr *instr, in gather_ubo_ranges()
346 copy_ubo_to_uniform(nir_shader *nir, const struct ir3_const_state *const_state) in copy_ubo_to_uniform()
407 ir3_nir_analyze_ubo_ranges(nir_shader *nir, struct ir3_shader_variant *v) in ir3_nir_analyze_ubo_ranges()
465 ir3_nir_lower_ubo_loads(nir_shader *nir, struct ir3_shader_variant *v) in ir3_nir_lower_ubo_loads()
581 ir3_nir_fixup_load_uniform(nir_shader *nir) in ir3_nir_fixup_load_uniform()
642 ir3_nir_lower_load_constant(nir_shader *nir, struct ir3_shader_variant *v) in ir3_nir_lower_load_constant()
/third_party/mesa3d/src/asahi/compiler/
Dcmdline.c60 sort_varyings(nir_shader *nir, nir_variable_mode mode) in sort_varyings()
72 fixup_varying_slots(nir_shader *nir, nir_variable_mode mode) in fixup_varying_slots()
88 nir_shader *nir[2]; in compile_shader() local
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_nir_lower_multiview.c21 lower_multiview_mask(nir_shader *nir, uint32_t *mask) in lower_multiview_mask()
77 tu_nir_lower_multiview(nir_shader *nir, uint32_t mask, bool *multi_pos_output, in tu_nir_lower_multiview()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c52 spirv_to_dxil_nir_prep(nir_shader *nir) in spirv_to_dxil_nir_prep()
126 nir_shader *nir = spirv_to_nir( in spirv_to_dxil() local
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_meta.c34 dzn_meta_compile_shader(struct dzn_device *device, nir_shader *nir, in dzn_meta_compile_shader()
123 nir_shader *nir = dzn_nir_indirect_draw_shader(type); in dzn_meta_indirect_draw_init() local
278 nir_shader *nir = in dzn_meta_triangle_fan_rewrite_index_init() local
439 nir_shader *nir = dzn_nir_blit_vs(); in dzn_meta_blits_get_vs() local
485 nir_shader *nir = dzn_nir_blit_fs(info); in dzn_meta_blits_get_fs() local

12345678