Home
last modified time | relevance | path

Searched refs:NIR_PASS_V (Results 1 – 25 of 69) sorted by relevance

123

/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c201 NIR_PASS_V(nir, nir_lower_sysvals_to_varyings, &sysvals_to_varyings); in spirv_to_dxil()
203 NIR_PASS_V(nir, nir_lower_system_values); in spirv_to_dxil()
212 NIR_PASS_V(nir, dxil_nir_lower_system_values_to_zero, system_values, in spirv_to_dxil()
227 NIR_PASS_V(nir, nir_split_per_member_structs); in spirv_to_dxil()
229 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_ubo | nir_var_mem_ssbo, in spirv_to_dxil()
233 NIR_PASS_V(nir, nir_lower_vars_to_explicit_types, nir_var_mem_shared, in spirv_to_dxil()
236 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_shared, in spirv_to_dxil()
241 NIR_PASS_V(nir, nir_lower_variable_initializers, in spirv_to_dxil()
243 NIR_PASS_V(nir, nir_opt_deref); in spirv_to_dxil()
244 NIR_PASS_V(nir, nir_lower_returns); in spirv_to_dxil()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp137 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in st_nir_assign_vs_in_locations()
263 NIR_PASS_V(nir, nir_lower_vars_to_ssa); in st_nir_opts()
279 NIR_PASS_V(nir, nir_lower_alu_to_scalar, in st_nir_opts()
281 NIR_PASS_V(nir, nir_lower_phis_to_scalar, false); in st_nir_opts()
284 NIR_PASS_V(nir, nir_lower_alu); in st_nir_opts()
285 NIR_PASS_V(nir, nir_lower_pack); in st_nir_opts()
397 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in st_nir_preprocess()
402 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in st_nir_preprocess()
407 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in st_nir_preprocess()
408 NIR_PASS_V(nir, nir_split_var_copies); in st_nir_preprocess()
[all …]
Dst_nir_builtins.c42 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in st_nir_finish_builtin_shader()
43 NIR_PASS_V(nir, nir_split_var_copies); in st_nir_finish_builtin_shader()
44 NIR_PASS_V(nir, nir_lower_var_copies); in st_nir_finish_builtin_shader()
45 NIR_PASS_V(nir, nir_lower_system_values); in st_nir_finish_builtin_shader()
46 NIR_PASS_V(nir, nir_lower_compute_system_values, NULL); in st_nir_finish_builtin_shader()
53 NIR_PASS_V(nir, nir_lower_io_to_scalar_early, mask); in st_nir_finish_builtin_shader()
58 NIR_PASS_V(nir, nir_lower_tex, &opts); in st_nir_finish_builtin_shader()
69 NIR_PASS_V(nir, gl_nir_lower_images, false); in st_nir_finish_builtin_shader()
/third_party/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp445 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in spirv_to_nir()
446 NIR_PASS_V(nir, nir_lower_returns); in spirv_to_nir()
447 NIR_PASS_V(nir, nir_lower_libclc, spirv_options.clc_shader); in spirv_to_nir()
449 NIR_PASS_V(nir, nir_inline_functions); in spirv_to_nir()
450 NIR_PASS_V(nir, nir_copy_prop); in spirv_to_nir()
451 NIR_PASS_V(nir, nir_opt_deref); in spirv_to_nir()
462 NIR_PASS_V(nir, nir_lower_variable_initializers, ~nir_var_function_temp); in spirv_to_nir()
468 NIR_PASS_V(nir, nir_lower_printf, &printf_options); in spirv_to_nir()
470 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in spirv_to_nir()
473 NIR_PASS_V(nir, nir_split_var_copies); in spirv_to_nir()
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_program.c111 NIR_PASS_V(s, nir_lower_viewport_transform); in lima_program_optimize_vs_nir()
112 NIR_PASS_V(s, nir_lower_point_size, 1.0f, 100.0f); in lima_program_optimize_vs_nir()
113 NIR_PASS_V(s, nir_lower_io, in lima_program_optimize_vs_nir()
115 NIR_PASS_V(s, nir_lower_load_const_to_scalar); in lima_program_optimize_vs_nir()
116 NIR_PASS_V(s, lima_nir_lower_uniform_to_scalar); in lima_program_optimize_vs_nir()
117 NIR_PASS_V(s, nir_lower_io_to_scalar, in lima_program_optimize_vs_nir()
123 NIR_PASS_V(s, nir_lower_vars_to_ssa); in lima_program_optimize_vs_nir()
139 NIR_PASS_V(s, nir_lower_int_to_float); in lima_program_optimize_vs_nir()
142 NIR_PASS_V(s, nir_lower_bool_to_float); in lima_program_optimize_vs_nir()
144 NIR_PASS_V(s, nir_copy_prop); in lima_program_optimize_vs_nir()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp815 NIR_PASS_V(sel->nir, r600_legalize_image_load_store); in r600_shader_from_nir()
817 NIR_PASS_V(sel->nir, nir_lower_vars_to_ssa); in r600_shader_from_nir()
818 NIR_PASS_V(sel->nir, nir_lower_regs_to_ssa); in r600_shader_from_nir()
823 NIR_PASS_V(sel->nir, nir_lower_idiv, &idiv_options); in r600_shader_from_nir()
824 NIR_PASS_V(sel->nir, r600_nir_lower_trigen); in r600_shader_from_nir()
825 NIR_PASS_V(sel->nir, nir_lower_phis_to_scalar, false); in r600_shader_from_nir()
828 NIR_PASS_V(sel->nir, nir_lower_int64); in r600_shader_from_nir()
831 NIR_PASS_V(sel->nir, r600_lower_shared_io); in r600_shader_from_nir()
832 NIR_PASS_V(sel->nir, r600_nir_lower_atomics); in r600_shader_from_nir()
838 NIR_PASS_V(sel->nir, nir_lower_tex, &lower_tex_options); in r600_shader_from_nir()
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/standalone/
Dlima_compiler_cmdline.c121 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in load_glsl()
125 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in load_glsl()
130 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in load_glsl()
131 NIR_PASS_V(nir, nir_split_var_copies); in load_glsl()
132 NIR_PASS_V(nir, nir_lower_var_copies); in load_glsl()
134 NIR_PASS_V(nir, nir_split_var_copies); in load_glsl()
135 NIR_PASS_V(nir, nir_lower_var_copies); in load_glsl()
137 NIR_PASS_V(nir, gl_nir_lower_atomics, prog, true); in load_glsl()
138 NIR_PASS_V(nir, nir_lower_atomics_to_ssbo); in load_glsl()
147 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in load_glsl()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c130 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in load_glsl()
133 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in load_glsl()
137 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in load_glsl()
138 NIR_PASS_V(nir, nir_split_var_copies); in load_glsl()
139 NIR_PASS_V(nir, nir_lower_var_copies); in load_glsl()
141 NIR_PASS_V(nir, nir_split_var_copies); in load_glsl()
142 NIR_PASS_V(nir, nir_lower_var_copies); in load_glsl()
144 NIR_PASS_V(nir, gl_nir_lower_atomics, prog, true); in load_glsl()
145 NIR_PASS_V(nir, gl_nir_lower_buffers, prog); in load_glsl()
146 NIR_PASS_V(nir, nir_lower_atomics_to_ssbo); in load_glsl()
[all …]
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c853 NIR_PASS_V(nir, nir_lower_goto_ifs); in clc_spirv_to_dxil()
854 NIR_PASS_V(nir, nir_opt_dead_cf); in clc_spirv_to_dxil()
884 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in clc_spirv_to_dxil()
885 NIR_PASS_V(nir, nir_lower_returns); in clc_spirv_to_dxil()
886 NIR_PASS_V(nir, nir_lower_libclc, clc_libclc_get_clc_shader(lib)); in clc_spirv_to_dxil()
887 NIR_PASS_V(nir, nir_inline_functions); in clc_spirv_to_dxil()
920 NIR_PASS_V(nir, scale_fdiv); in clc_spirv_to_dxil()
937 NIR_PASS_V(nir, nir_lower_variable_initializers, ~(nir_var_function_temp | nir_var_shader_temp)); in clc_spirv_to_dxil()
940 NIR_PASS_V(nir, dxil_nir_lower_memcpy_deref); in clc_spirv_to_dxil()
945NIR_PASS_V(nir, nir_lower_vars_to_explicit_types, nir_var_function_temp, glsl_get_cl_type_size_ali… in clc_spirv_to_dxil()
[all …]
/third_party/mesa3d/src/asahi/compiler/
Dcmdline.c131 NIR_PASS_V(nir[i], nir_lower_global_vars_to_local); in compile_shader()
132NIR_PASS_V(nir[i], nir_lower_io_to_temporaries, nir_shader_get_entrypoint(nir[i]), true, i == 0); in compile_shader()
133 NIR_PASS_V(nir[i], nir_lower_system_values); in compile_shader()
134 NIR_PASS_V(nir[i], gl_nir_lower_samplers, prog); in compile_shader()
135 NIR_PASS_V(nir[i], nir_split_var_copies); in compile_shader()
136 NIR_PASS_V(nir[i], nir_lower_var_copies); in compile_shader()
138 NIR_PASS_V(nir[i], nir_lower_io, nir_var_uniform, in compile_shader()
141 NIR_PASS_V(nir[i], nir_lower_uniforms_to_ubo, true, false); in compile_shader()
144 NIR_PASS_V(nir[i], gl_nir_lower_images, true); in compile_shader()
146 NIR_PASS_V(nir[i], gl_nir_lower_buffers, prog); in compile_shader()
[all …]
Dagx_compile.c1209 NIR_PASS_V(nir, nir_lower_regs_to_ssa); in agx_optimize_nir()
1210 NIR_PASS_V(nir, nir_lower_int64); in agx_optimize_nir()
1211 NIR_PASS_V(nir, nir_lower_idiv, &idiv_options); in agx_optimize_nir()
1212 NIR_PASS_V(nir, nir_lower_alu_to_scalar, NULL, NULL); in agx_optimize_nir()
1213 NIR_PASS_V(nir, nir_lower_load_const_to_scalar); in agx_optimize_nir()
1214 NIR_PASS_V(nir, nir_lower_flrp, 16 | 32 | 64, false); in agx_optimize_nir()
1215 NIR_PASS_V(nir, agx_lower_sincos); in agx_optimize_nir()
1216 NIR_PASS_V(nir, nir_shader_instructions_pass, in agx_optimize_nir()
1241 NIR_PASS_V(nir, nir_opt_algebraic_late); in agx_optimize_nir()
1242 NIR_PASS_V(nir, nir_opt_constant_folding); in agx_optimize_nir()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c77 NIR_PASS_V(nir, nir_lower_sysvals_to_varyings, &sysvals_to_varyings); in panvk_spirv_to_nir()
409 NIR_PASS_V(nir, nir_shader_instructions_pass, in panvk_lower_blend()
418 NIR_PASS_V(nir, nir_lower_blend, options); in panvk_lower_blend()
427 NIR_PASS_V(nir, nir_shader_instructions_pass, in panvk_lower_blend()
476 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in panvk_per_arch()
477 NIR_PASS_V(nir, nir_lower_returns); in panvk_per_arch()
478 NIR_PASS_V(nir, nir_inline_functions); in panvk_per_arch()
479 NIR_PASS_V(nir, nir_copy_prop); in panvk_per_arch()
480 NIR_PASS_V(nir, nir_opt_deref); in panvk_per_arch()
486 NIR_PASS_V(nir, nir_lower_variable_initializers, ~nir_var_function_temp); in panvk_per_arch()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c561 NIR_PASS_V(nir, nir_lower_vars_to_ssa); in si_nir_opts()
562 NIR_PASS_V(nir, nir_lower_alu_to_scalar, si_alu_to_scalar_filter, sscreen); in si_nir_opts()
563 NIR_PASS_V(nir, nir_lower_phis_to_scalar, false); in si_nir_opts()
587 NIR_PASS_V(nir, nir_lower_alu_to_scalar, si_alu_to_scalar_filter, sscreen); in si_nir_opts()
589 NIR_PASS_V(nir, nir_lower_phis_to_scalar, false); in si_nir_opts()
625 NIR_PASS_V(nir, nir_opt_move_discards_to_top); in si_nir_opts()
631 NIR_PASS_V(nir, nir_lower_var_copies); in si_nir_opts()
640 NIR_PASS_V(nir, nir_opt_constant_folding); in si_nir_late_opts()
641 NIR_PASS_V(nir, nir_copy_prop); in si_nir_late_opts()
642 NIR_PASS_V(nir, nir_opt_dce); in si_nir_late_opts()
[all …]
/third_party/mesa3d/src/panfrost/bifrost/
Dcmdline.c172 NIR_PASS_V(nir[i], nir_lower_global_vars_to_local); in compile_shader()
173NIR_PASS_V(nir[i], nir_lower_io_to_temporaries, nir_shader_get_entrypoint(nir[i]), true, i == 0); in compile_shader()
174 NIR_PASS_V(nir[i], nir_opt_copy_prop_vars); in compile_shader()
175 NIR_PASS_V(nir[i], nir_opt_combine_stores, nir_var_all); in compile_shader()
177 NIR_PASS_V(nir[i], nir_lower_system_values); in compile_shader()
178 NIR_PASS_V(nir[i], gl_nir_lower_samplers, prog); in compile_shader()
179 NIR_PASS_V(nir[i], nir_split_var_copies); in compile_shader()
180 NIR_PASS_V(nir[i], nir_lower_var_copies); in compile_shader()
182 NIR_PASS_V(nir[i], nir_lower_io, nir_var_uniform, in compile_shader()
185 NIR_PASS_V(nir[i], nir_lower_uniforms_to_ubo, true, false); in compile_shader()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c116 NIR_PASS_V(nir, nir_lower_sysvals_to_varyings, &sysvals_to_varyings); in tu_spirv_to_nir()
124 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in tu_spirv_to_nir()
125 NIR_PASS_V(nir, nir_lower_returns); in tu_spirv_to_nir()
126 NIR_PASS_V(nir, nir_inline_functions); in tu_spirv_to_nir()
127 NIR_PASS_V(nir, nir_copy_prop); in tu_spirv_to_nir()
128 NIR_PASS_V(nir, nir_opt_deref); in tu_spirv_to_nir()
134 NIR_PASS_V(nir, nir_lower_variable_initializers, ~nir_var_function_temp); in tu_spirv_to_nir()
139 NIR_PASS_V(nir, nir_split_var_copies); in tu_spirv_to_nir()
140 NIR_PASS_V(nir, nir_split_per_member_structs); in tu_spirv_to_nir()
142 NIR_PASS_V(nir, nir_remove_dead_variables, in tu_spirv_to_nir()
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir.c193 #define OPT_V(nir, pass, ...) NIR_PASS_V(nir, pass, ##__VA_ARGS__)
353 NIR_PASS_V(s, nir_lower_io_to_temporaries, nir_shader_get_entrypoint(s), in ir3_nir_lower_io_to_temporaries()
359 NIR_PASS_V(s, nir_split_var_copies); in ir3_nir_lower_io_to_temporaries()
360 NIR_PASS_V(s, nir_lower_var_copies); in ir3_nir_lower_io_to_temporaries()
361 NIR_PASS_V(s, nir_lower_global_vars_to_local); in ir3_nir_lower_io_to_temporaries()
374 NIR_PASS_V(s, nir_lower_indirect_derefs, 0, UINT32_MAX); in ir3_nir_lower_io_to_temporaries()
400 NIR_PASS_V(s, ir3_nir_lower_gs); in ir3_finalize_nir()
402 NIR_PASS_V(s, nir_lower_amul, ir3_glsl_type_size); in ir3_finalize_nir()
515 NIR_PASS_V(s, nir_lower_io, nir_var_shader_in | nir_var_shader_out, in ir3_nir_post_finalize()
522 NIR_PASS_V(s, ir3_nir_lower_load_barycentric_at_sample); in ir3_nir_post_finalize()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_rt.c206 NIR_PASS_V(nir, nir_lower_vars_to_explicit_types, in lower_rt_io_and_scratch()
213 NIR_PASS_V(nir, lower_rt_io_derefs); in lower_rt_io_and_scratch()
218 NIR_PASS_V(nir, nir_lower_explicit_io, in lower_rt_io_and_scratch()
350 NIR_PASS_V(nir, brw_nir_lower_shader_returns); in brw_nir_lower_raygen()
358 NIR_PASS_V(nir, brw_nir_lower_shader_returns); in brw_nir_lower_any_hit()
359 NIR_PASS_V(nir, lower_ray_walk_intrinsics, devinfo); in brw_nir_lower_any_hit()
367 NIR_PASS_V(nir, brw_nir_lower_shader_returns); in brw_nir_lower_closest_hit()
375 NIR_PASS_V(nir, brw_nir_lower_shader_returns); in brw_nir_lower_miss()
383 NIR_PASS_V(nir, brw_nir_lower_shader_returns); in brw_nir_lower_callable()
394 NIR_PASS_V(intersection, brw_nir_lower_shader_returns); in brw_nir_lower_combined_intersection_any_hit()
[all …]
/third_party/mesa3d/src/broadcom/compiler/
Dvir.c638 NIR_PASS_V(c->s, nir_lower_tex, &tex_options); in v3d_lower_nir()
639 NIR_PASS_V(c->s, nir_lower_system_values); in v3d_lower_nir()
640 NIR_PASS_V(c->s, nir_lower_compute_system_values, NULL); in v3d_lower_nir()
642 NIR_PASS_V(c->s, nir_lower_vars_to_scratch, in v3d_lower_nir()
646 NIR_PASS_V(c->s, v3d_nir_lower_scratch); in v3d_lower_nir()
885 NIR_PASS_V(c->s, nir_lower_io_to_scalar_early, in v3d_nir_lower_vs_early()
893 NIR_PASS_V(c->s, nir_remove_unused_io_vars, in v3d_nir_lower_vs_early()
895 NIR_PASS_V(c->s, nir_lower_global_vars_to_local); in v3d_nir_lower_vs_early()
897 NIR_PASS_V(c->s, nir_remove_dead_variables, nir_var_shader_in, NULL); in v3d_nir_lower_vs_early()
901 NIR_PASS_V(c->s, nir_lower_point_size, 1.0f, 0.0f); in v3d_nir_lower_vs_early()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c535 NIR_PASS_V(nir, nir_lower_sysvals_to_varyings, &sysvals_to_varyings); in lvp_shader_compile_to_ir()
537 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in lvp_shader_compile_to_ir()
538 NIR_PASS_V(nir, nir_lower_returns); in lvp_shader_compile_to_ir()
539 NIR_PASS_V(nir, nir_inline_functions); in lvp_shader_compile_to_ir()
540 NIR_PASS_V(nir, nir_copy_prop); in lvp_shader_compile_to_ir()
541 NIR_PASS_V(nir, nir_opt_deref); in lvp_shader_compile_to_ir()
550 NIR_PASS_V(nir, nir_lower_variable_initializers, ~0); in lvp_shader_compile_to_ir()
551 NIR_PASS_V(nir, nir_split_var_copies); in lvp_shader_compile_to_ir()
552 NIR_PASS_V(nir, nir_split_per_member_structs); in lvp_shader_compile_to_ir()
554 NIR_PASS_V(nir, nir_remove_dead_variables, in lvp_shader_compile_to_ir()
[all …]
/third_party/mesa3d/src/mesa/main/
Dglspirv.c287 NIR_PASS_V(nir, nir_lower_sysvals_to_varyings, &sysvals_to_varyings); in _mesa_spirv_to_nir()
293 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in _mesa_spirv_to_nir()
294 NIR_PASS_V(nir, nir_lower_returns); in _mesa_spirv_to_nir()
295 NIR_PASS_V(nir, nir_inline_functions); in _mesa_spirv_to_nir()
296 NIR_PASS_V(nir, nir_copy_prop); in _mesa_spirv_to_nir()
297 NIR_PASS_V(nir, nir_opt_deref); in _mesa_spirv_to_nir()
311 NIR_PASS_V(nir, nir_lower_variable_initializers, ~0); in _mesa_spirv_to_nir()
316 NIR_PASS_V(nir, nir_split_var_copies); in _mesa_spirv_to_nir()
317 NIR_PASS_V(nir, nir_split_per_member_structs); in _mesa_spirv_to_nir()
322 NIR_PASS_V(nir, nir_lower_frexp); in _mesa_spirv_to_nir()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c136 NIR_PASS_V(shader, nir_lower_vars_to_ssa); in radv_optimize_nir()
152 NIR_PASS_V(shader, nir_lower_alu_to_scalar, NULL, NULL); in radv_optimize_nir()
153 NIR_PASS_V(shader, nir_lower_phis_to_scalar, true); in radv_optimize_nir()
189 NIR_PASS_V(nir, nir_copy_prop); in radv_optimize_nir_algebraic()
190 NIR_PASS_V(nir, nir_opt_dce); in radv_optimize_nir_algebraic()
191 NIR_PASS_V(nir, nir_opt_constant_folding); in radv_optimize_nir_algebraic()
192 NIR_PASS_V(nir, nir_opt_cse); in radv_optimize_nir_algebraic()
197 NIR_PASS_V(nir, nir_opt_offsets); in radv_optimize_nir_algebraic()
209 NIR_PASS_V(nir, nir_opt_constant_folding); in radv_optimize_nir_algebraic()
210 NIR_PASS_V(nir, nir_copy_prop); in radv_optimize_nir_algebraic()
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c429 NIR_PASS_V(s, nir_lower_vars_to_ssa); in optimize_nir()
446 NIR_PASS_V(s, nir_copy_prop); in optimize_nir()
447 NIR_PASS_V(s, nir_opt_dce); in optimize_nir()
448 NIR_PASS_V(s, nir_opt_cse); in optimize_nir()
635 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_shader_temp, NULL); in decompose_attribs()
780 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_shader_temp, NULL); in zink_compiler_assign_io()
793 NIR_PASS_V(nir, nir_inline_uniforms, in zink_shader_compile()
801 NIR_PASS_V(nir, nir_io_add_const_offset_to_base, nir_var_shader_in | in zink_shader_compile()
826 NIR_PASS_V(nir, decompose_attribs, decomposed_attrs, decomposed_attrs_without_w); in zink_shader_compile()
836 NIR_PASS_V(nir, nir_lower_clip_halfz); in zink_shader_compile()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.cpp137 NIR_PASS_V(nir, nir_lower_samplers); in compile_nir()
138 NIR_PASS_V(nir, dxil_nir_create_bare_samplers); in compile_nir()
141 NIR_PASS_V(nir, dxil_lower_sample_to_txf_for_integer_tex, in compile_nir()
150 NIR_PASS_V(nir, nir_lower_uniforms_to_ubo, false, false); in compile_nir()
156 NIR_PASS_V(nir, d3d12_nir_invert_depth); in compile_nir()
157 NIR_PASS_V(nir, nir_lower_clip_halfz); in compile_nir()
158 NIR_PASS_V(nir, d3d12_lower_yflip); in compile_nir()
160 NIR_PASS_V(nir, nir_lower_packed_ubo_loads); in compile_nir()
161 NIR_PASS_V(nir, d3d12_lower_load_first_vertex); in compile_nir()
162 NIR_PASS_V(nir, d3d12_lower_state_vars, shader); in compile_nir()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c147 NIR_PASS_V(s, nir_lower_vars_to_ssa); in etna_optimize_loop()
1087 NIR_PASS_V(s, nir_lower_texcoord_replace, v->key.sprite_coord_enable, in etna_compile_shader_nir()
1114 NIR_PASS_V(s, nir_lower_io, nir_var_shader_in | nir_var_uniform, etna_glsl_type_size, in etna_compile_shader_nir()
1117 NIR_PASS_V(s, nir_lower_regs_to_ssa); in etna_compile_shader_nir()
1118 NIR_PASS_V(s, nir_lower_vars_to_ssa); in etna_compile_shader_nir()
1119 NIR_PASS_V(s, nir_lower_indirect_derefs, nir_var_all, UINT32_MAX); in etna_compile_shader_nir()
1120 NIR_PASS_V(s, nir_lower_tex, &(struct nir_lower_tex_options) { .lower_txp = ~0u }); in etna_compile_shader_nir()
1121 NIR_PASS_V(s, nir_lower_alu_to_scalar, etna_alu_to_scalar_filter_cb, specs); in etna_compile_shader_nir()
1126 NIR_PASS_V(s, nir_lower_idiv, &idiv_options); in etna_compile_shader_nir()
1134 NIR_PASS_V(s, etna_lower_io, v); in etna_compile_shader_nir()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c339 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in preprocess_nir()
340 NIR_PASS_V(nir, nir_lower_returns); in preprocess_nir()
341 NIR_PASS_V(nir, nir_inline_functions); in preprocess_nir()
342 NIR_PASS_V(nir, nir_opt_deref); in preprocess_nir()
359 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_shader_out); in preprocess_nir()
364 NIR_PASS_V(nir, nir_lower_variable_initializers, ~0); in preprocess_nir()
369 NIR_PASS_V(nir, nir_split_var_copies); in preprocess_nir()
370 NIR_PASS_V(nir, nir_split_per_member_structs); in preprocess_nir()
373 NIR_PASS_V(nir, nir_lower_io_to_vector, nir_var_shader_out); in preprocess_nir()
375 NIR_PASS_V(nir, nir_lower_input_attachments, in preprocess_nir()
[all …]

123