/third_party/mesa3d/src/imagination/rogue/ |
H A D | rogue_nir.c | 86 NIR_PASS_V(nir, nir_split_var_copies); in rogue_nir_passes() 87 NIR_PASS_V(nir, nir_split_per_member_structs); in rogue_nir_passes() 90 NIR_PASS_V(nir, nir_lower_clamp_color_outputs); in rogue_nir_passes() 93 NIR_PASS_V(nir, in rogue_nir_passes() 100 NIR_PASS_V(nir, nir_lower_io_to_scalar, nir_var_shader_in); in rogue_nir_passes() 107 NIR_PASS_V(nir, nir_opt_access, &opt_access_options); in rogue_nir_passes() 111 NIR_PASS_V(nir, rogue_nir_pfo); in rogue_nir_passes() 114 NIR_PASS_V(nir, nir_lower_io_to_scalar, nir_var_shader_out); in rogue_nir_passes() 117 NIR_PASS_V(nir, nir_lower_alu_to_scalar, NULL, NULL); in rogue_nir_passes() 128 NIR_PASS_V(ni in rogue_nir_passes() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_shader_nir.c | 90 NIR_PASS_V(nir, nir_lower_alu_to_scalar, si_alu_to_scalar_filter, sscreen); in si_nir_opts() 92 NIR_PASS_V(nir, nir_lower_phis_to_scalar, false); in si_nir_opts() 128 NIR_PASS_V(nir, nir_opt_move_discards_to_top); in si_nir_opts() 134 NIR_PASS_V(nir, nir_lower_var_copies); in si_nir_opts() 143 NIR_PASS_V(nir, nir_opt_constant_folding); in si_nir_late_opts() 150 NIR_PASS_V(nir, nir_io_add_const_offset_to_base, nir_var_shader_in | nir_var_shader_out); in si_nir_late_opts() 152 NIR_PASS_V(nir, nir_copy_prop); in si_nir_late_opts() 153 NIR_PASS_V(nir, nir_opt_dce); in si_nir_late_opts() 154 NIR_PASS_V(nir, nir_opt_cse); in si_nir_late_opts() 256 NIR_PASS_V(ni in si_lower_nir() [all...] |
/third_party/mesa3d/src/microsoft/spirv_to_dxil/ |
H A D | dxil_spirv_nir.c | 565 NIR_PASS_V(nir, dxil_spirv_nir_kill_undefined_varyings, prev_stage_nir); in dxil_spirv_nir_link() 566 NIR_PASS_V(prev_stage_nir, dxil_spirv_nir_kill_unused_outputs, nir); in dxil_spirv_nir_link() 586 NIR_PASS_V(nir, dxil_nir_lower_int_cubemaps, false); in dxil_spirv_nir_passes() 587 NIR_PASS_V(nir, nir_lower_io_to_vector, in dxil_spirv_nir_passes() 590 NIR_PASS_V(nir, nir_opt_combine_stores, nir_var_shader_out); in dxil_spirv_nir_passes() 591 NIR_PASS_V(nir, nir_remove_dead_derefs); in dxil_spirv_nir_passes() 597 NIR_PASS_V(nir, nir_lower_sysvals_to_varyings, &sysvals_to_varyings); in dxil_spirv_nir_passes() 599 NIR_PASS_V(nir, nir_lower_system_values); in dxil_spirv_nir_passes() 615 NIR_PASS_V(nir, dxil_nir_lower_system_values_to_zero, system_values, in dxil_spirv_nir_passes() 627 NIR_PASS_V(ni in dxil_spirv_nir_passes() [all...] |
H A D | spirv_to_dxil.c | 58 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in spirv_to_dxil_nir_prep() 59 NIR_PASS_V(nir, nir_lower_returns); in spirv_to_dxil_nir_prep() 60 NIR_PASS_V(nir, nir_inline_functions); in spirv_to_dxil_nir_prep() 61 NIR_PASS_V(nir, nir_copy_prop); in spirv_to_dxil_nir_prep() 62 NIR_PASS_V(nir, nir_opt_deref); in spirv_to_dxil_nir_prep() 76 NIR_PASS_V(nir, nir_lower_variable_initializers, ~0); in spirv_to_dxil_nir_prep() 81 NIR_PASS_V(nir, nir_split_var_copies); in spirv_to_dxil_nir_prep() 82 NIR_PASS_V(nir, nir_split_per_member_structs); in spirv_to_dxil_nir_prep() 84 NIR_PASS_V(nir, nir_remove_dead_variables, in spirv_to_dxil_nir_prep() 89 NIR_PASS_V(ni in spirv_to_dxil_nir_prep() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_nir.cpp | 664 NIR_PASS_V(sel->nir, nir_lower_regs_to_ssa); in r600_shader_from_nir() 669 NIR_PASS_V(sel->nir, nir_lower_idiv, &idiv_options); in r600_shader_from_nir() 670 NIR_PASS_V(sel->nir, r600_nir_lower_trigen, rctx->b.gfx_level); in r600_shader_from_nir() 671 NIR_PASS_V(sel->nir, nir_lower_phis_to_scalar, false); in r600_shader_from_nir() 672 NIR_PASS_V(sel->nir, nir_lower_undef_to_zero); in r600_shader_from_nir() 675 NIR_PASS_V(sel->nir, nir_lower_int64); in r600_shader_from_nir() 678 NIR_PASS_V(sel->nir, r600_lower_shared_io); in r600_shader_from_nir() 679 NIR_PASS_V(sel->nir, r600_nir_lower_atomics); in r600_shader_from_nir() 687 NIR_PASS_V(sel->nir, nir_lower_tex, &lower_tex_options); in r600_shader_from_nir() 688 NIR_PASS_V(se in r600_shader_from_nir() [all...] |
/third_party/mesa3d/src/gallium/frontends/clover/nir/ |
H A D | invocation.cpp | 476 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); 477 NIR_PASS_V(nir, nir_lower_returns); 478 NIR_PASS_V(nir, nir_lower_libclc, spirv_options.clc_shader); 480 NIR_PASS_V(nir, nir_inline_functions); 481 NIR_PASS_V(nir, nir_copy_prop); 482 NIR_PASS_V(nir, nir_opt_deref); 489 NIR_PASS_V(nir, nir_lower_variable_initializers, ~nir_var_function_temp); 495 NIR_PASS_V(nir, nir_lower_printf, &printf_options); 497 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); 500 NIR_PASS_V(ni [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_program.c | 117 NIR_PASS_V(s, nir_lower_viewport_transform); in lima_program_optimize_vs_nir() 118 NIR_PASS_V(s, nir_lower_point_size, 1.0f, 100.0f); in lima_program_optimize_vs_nir() 119 NIR_PASS_V(s, nir_lower_io, in lima_program_optimize_vs_nir() 121 NIR_PASS_V(s, nir_lower_load_const_to_scalar); in lima_program_optimize_vs_nir() 122 NIR_PASS_V(s, lima_nir_lower_uniform_to_scalar); in lima_program_optimize_vs_nir() 123 NIR_PASS_V(s, nir_lower_io_to_scalar, in lima_program_optimize_vs_nir() 129 NIR_PASS_V(s, nir_lower_vars_to_ssa); in lima_program_optimize_vs_nir() 147 NIR_PASS_V(s, nir_lower_int_to_float); in lima_program_optimize_vs_nir() 150 NIR_PASS_V(s, nir_lower_bool_to_float); in lima_program_optimize_vs_nir() 152 NIR_PASS_V( in lima_program_optimize_vs_nir() [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_nir.c | 119 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in vk_spirv_to_nir() 120 NIR_PASS_V(nir, nir_lower_returns); in vk_spirv_to_nir() 121 NIR_PASS_V(nir, nir_inline_functions); in vk_spirv_to_nir() 122 NIR_PASS_V(nir, nir_copy_prop); in vk_spirv_to_nir() 123 NIR_PASS_V(nir, nir_opt_deref); in vk_spirv_to_nir() 133 NIR_PASS_V(nir, nir_lower_variable_initializers, ~0); in vk_spirv_to_nir() 138 NIR_PASS_V(nir, nir_split_var_copies); in vk_spirv_to_nir() 139 NIR_PASS_V(nir, nir_split_per_member_structs); in vk_spirv_to_nir() 144 NIR_PASS_V(nir, nir_remove_dead_variables, in vk_spirv_to_nir() 153 NIR_PASS_V(ni in vk_spirv_to_nir() [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/standalone/ |
H A D | lima_compiler_cmdline.c | 121 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, 0); in load_glsl() 147 NIR_PASS_V(ni in load_glsl() [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
H A D | ir3_cmdline.c | 130 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(ni in load_glsl() [all...] |
/third_party/mesa3d/src/microsoft/clc/ |
H A D | clc_compiler.c | 804 NIR_PASS_V(nir, nir_lower_goto_ifs); in clc_spirv_to_dxil() 805 NIR_PASS_V(nir, nir_opt_dead_cf); in clc_spirv_to_dxil() 835 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in clc_spirv_to_dxil() 836 NIR_PASS_V(nir, nir_lower_returns); in clc_spirv_to_dxil() 837 NIR_PASS_V(nir, nir_lower_libclc, clc_libclc_get_clc_shader(lib)); in clc_spirv_to_dxil() 838 NIR_PASS_V(nir, nir_inline_functions); in clc_spirv_to_dxil() 867 NIR_PASS_V(nir, nir_scale_fdiv); in clc_spirv_to_dxil() 884 NIR_PASS_V(nir, nir_lower_variable_initializers, ~(nir_var_function_temp | nir_var_shader_temp)); in clc_spirv_to_dxil() 887 NIR_PASS_V(nir, dxil_nir_lower_memcpy_deref); in clc_spirv_to_dxil() 892 NIR_PASS_V(ni in clc_spirv_to_dxil() [all...] |
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_shader.c | 163 NIR_PASS_V(nir, nir_lower_blend, &options); in panvk_lower_blend() 172 NIR_PASS_V(nir, nir_shader_instructions_pass, in panvk_lower_blend() 262 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in shader_create() 276 NIR_PASS_V(nir, nir_lower_indirect_derefs, in shader_create() 280 NIR_PASS_V(nir, nir_opt_copy_prop_vars); in shader_create() 281 NIR_PASS_V(nir, nir_opt_combine_stores, nir_var_all); in shader_create() 282 NIR_PASS_V(nir, nir_opt_trivial_continues); in shader_create() 314 NIR_PASS_V(nir, nir_lower_tex, &lower_tex_options); in shader_create() 316 NIR_PASS_V(nir, panvk_per_arch(nir_lower_descriptors), in shader_create() 319 NIR_PASS_V(ni in shader_create() [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_glsl_to_nir.cpp | 124 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in st_nir_assign_vs_in_locations() 373 NIR_PASS_V(nir, st_nir_add_point_size); in st_nir_preprocess() 378 NIR_PASS_V(nir, st_nir_zero_initialize_clip_distance); in st_nir_preprocess() 390 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in st_nir_preprocess() 395 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in st_nir_preprocess() 400 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in st_nir_preprocess() 401 NIR_PASS_V(nir, nir_split_var_copies); in st_nir_preprocess() 402 NIR_PASS_V(nir, nir_lower_var_copies); in st_nir_preprocess() 405 NIR_PASS_V(nir, nir_lower_alu_to_scalar, in st_nir_preprocess() 410 NIR_PASS_V(ni in st_nir_preprocess() [all...] |
H A D | st_nir_builtins.c | 43 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in st_nir_finish_builtin_shader() 44 NIR_PASS_V(nir, nir_split_var_copies); in st_nir_finish_builtin_shader() 45 NIR_PASS_V(nir, nir_lower_var_copies); in st_nir_finish_builtin_shader() 46 NIR_PASS_V(nir, nir_lower_system_values); in st_nir_finish_builtin_shader() 47 NIR_PASS_V(nir, nir_lower_compute_system_values, NULL); in st_nir_finish_builtin_shader() 54 NIR_PASS_V(nir, nir_lower_io_to_scalar_early, mask); in st_nir_finish_builtin_shader() 59 NIR_PASS_V(nir, nir_lower_tex, &opts); in st_nir_finish_builtin_shader() 70 NIR_PASS_V(nir, gl_nir_lower_images, false); in st_nir_finish_builtin_shader()
|
H A D | st_program.c | 356 NIR_PASS_V(nir, nir_split_var_copies); in st_finalize_nir_before_variants() 357 NIR_PASS_V(nir, nir_lower_var_copies); in st_finalize_nir_before_variants() 362 NIR_PASS_V(nir, nir_lower_io_arrays_to_elements_no_indirects, false); in st_finalize_nir_before_variants() 364 NIR_PASS_V(nir, nir_lower_io_arrays_to_elements_no_indirects, true); in st_finalize_nir_before_variants() 379 NIR_PASS_V(nir, nir_lower_regs_to_ssa); in st_prog_to_nir_postprocess() 385 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in st_prog_to_nir_postprocess() 388 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in st_prog_to_nir_postprocess() 390 NIR_PASS_V(nir, st_nir_lower_wpos_ytransform, prog, screen); in st_prog_to_nir_postprocess() 391 NIR_PASS_V(nir, nir_lower_system_values); in st_prog_to_nir_postprocess() 392 NIR_PASS_V(ni in st_prog_to_nir_postprocess() [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_kernel.c | 323 NIR_PASS_V(nir, implement_intel_builtins); in brw_kernel_from_spirv() 324 NIR_PASS_V(nir, nir_lower_libclc, spirv_options.clc_shader); in brw_kernel_from_spirv() 330 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in brw_kernel_from_spirv() 331 NIR_PASS_V(nir, nir_lower_returns); in brw_kernel_from_spirv() 332 NIR_PASS_V(nir, nir_inline_functions); in brw_kernel_from_spirv() 333 NIR_PASS_V(nir, nir_copy_prop); in brw_kernel_from_spirv() 334 NIR_PASS_V(nir, nir_opt_deref); in brw_kernel_from_spirv() 344 NIR_PASS_V(nir, nir_lower_variable_initializers, ~0); in brw_kernel_from_spirv() 351 NIR_PASS_V(nir, nir_lower_vec3_to_vec4, in brw_kernel_from_spirv() 359 NIR_PASS_V(ni in brw_kernel_from_spirv() [all...] |
H A D | brw_nir_rt.c | 206 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() 356 NIR_PASS_V(nir, brw_nir_lower_shader_returns); in brw_nir_lower_raygen() 364 NIR_PASS_V(nir, brw_nir_lower_shader_returns); in brw_nir_lower_any_hit() 365 NIR_PASS_V(nir, lower_ray_walk_intrinsics, devinfo); in brw_nir_lower_any_hit() 373 NIR_PASS_V(nir, brw_nir_lower_shader_returns); in brw_nir_lower_closest_hit() 381 NIR_PASS_V(nir, brw_nir_lower_shader_returns); in brw_nir_lower_miss() 389 NIR_PASS_V(nir, brw_nir_lower_shader_returns); in brw_nir_lower_callable() 400 NIR_PASS_V(intersectio in brw_nir_lower_combined_intersection_any_hit() [all...] |
/third_party/mesa3d/src/asahi/compiler/ |
H A D | cmdline.c | 131 NIR_PASS_V(nir[i], nir_lower_global_vars_to_local); in compile_shader() 132 NIR_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(ni in compile_shader() [all...] |
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | cmdline.c | 173 NIR_PASS_V(nir[i], nir_lower_global_vars_to_local); in compile_shader() 174 NIR_PASS_V(nir[i], nir_lower_io_to_temporaries, nir_shader_get_entrypoint(nir[i]), true, i == 0); in compile_shader() 175 NIR_PASS_V(nir[i], nir_opt_copy_prop_vars); in compile_shader() 176 NIR_PASS_V(nir[i], nir_opt_combine_stores, nir_var_all); in compile_shader() 178 NIR_PASS_V(nir[i], nir_lower_system_values); in compile_shader() 179 NIR_PASS_V(nir[i], gl_nir_lower_samplers, prog); in compile_shader() 180 NIR_PASS_V(nir[i], nir_split_var_copies); in compile_shader() 181 NIR_PASS_V(nir[i], nir_lower_var_copies); in compile_shader() 183 NIR_PASS_V(nir[i], nir_lower_io, nir_var_uniform, in compile_shader() 186 NIR_PASS_V(ni in compile_shader() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_nir.c | 77 #define OPT_V(nir, pass, ...) NIR_PASS_V(nir, pass, ##__VA_ARGS__) 250 NIR_PASS_V(s, nir_lower_io_to_temporaries, nir_shader_get_entrypoint(s), in ir3_nir_lower_io_to_temporaries() 256 NIR_PASS_V(s, nir_split_var_copies); in ir3_nir_lower_io_to_temporaries() 257 NIR_PASS_V(s, nir_lower_var_copies); in ir3_nir_lower_io_to_temporaries() 258 NIR_PASS_V(s, nir_lower_global_vars_to_local); in ir3_nir_lower_io_to_temporaries() 271 NIR_PASS_V(s, nir_lower_indirect_derefs, 0, UINT32_MAX); in ir3_nir_lower_io_to_temporaries() 337 NIR_PASS_V(s, ir3_nir_lower_gs); in ir3_finalize_nir() 339 NIR_PASS_V(s, nir_lower_amul, ir3_glsl_type_size); in ir3_finalize_nir() 451 NIR_PASS_V(s, nir_lower_io, nir_var_shader_in | nir_var_shader_out, in ir3_nir_post_finalize() 458 NIR_PASS_V( in ir3_nir_post_finalize() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | glspirv.c | 288 NIR_PASS_V(nir, nir_lower_sysvals_to_varyings, &sysvals_to_varyings); in _mesa_spirv_to_nir() 294 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in _mesa_spirv_to_nir() 295 NIR_PASS_V(nir, nir_lower_returns); in _mesa_spirv_to_nir() 296 NIR_PASS_V(nir, nir_inline_functions); in _mesa_spirv_to_nir() 297 NIR_PASS_V(nir, nir_copy_prop); in _mesa_spirv_to_nir() 298 NIR_PASS_V(nir, nir_opt_deref); in _mesa_spirv_to_nir() 308 NIR_PASS_V(nir, nir_lower_variable_initializers, ~0); in _mesa_spirv_to_nir() 313 NIR_PASS_V(nir, nir_split_var_copies); in _mesa_spirv_to_nir() 314 NIR_PASS_V(nir, nir_split_per_member_structs); in _mesa_spirv_to_nir() 319 NIR_PASS_V(ni in _mesa_spirv_to_nir() [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_shader.c | 104 NIR_PASS_V(nir, nir_lower_sysvals_to_varyings, &sysvals_to_varyings); in tu_spirv_to_nir() 106 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in tu_spirv_to_nir() 107 NIR_PASS_V(nir, nir_split_var_copies); in tu_spirv_to_nir() 108 NIR_PASS_V(nir, nir_lower_var_copies); in tu_spirv_to_nir() 110 NIR_PASS_V(nir, nir_opt_copy_prop_vars); in tu_spirv_to_nir() 111 NIR_PASS_V(nir, nir_opt_combine_stores, nir_var_all); in tu_spirv_to_nir() 113 NIR_PASS_V(nir, nir_lower_is_helper_invocation); in tu_spirv_to_nir() 115 NIR_PASS_V(nir, nir_lower_system_values); in tu_spirv_to_nir() 117 NIR_PASS_V(nir, nir_lower_frexp); in tu_spirv_to_nir() 121 NIR_PASS_V(ni in tu_spirv_to_nir() [all...] |
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_compiler.cpp | 102 NIR_PASS_V(nir, nir_lower_samplers); in compile_nir() 103 NIR_PASS_V(nir, dxil_nir_split_typed_samplers); in compile_nir() 105 NIR_PASS_V(nir, nir_opt_dce); in compile_nir() 108 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_uniform, &dead_var_opts); in compile_nir() 111 NIR_PASS_V(nir, dxil_lower_sample_to_txf_for_integer_tex, in compile_nir() 120 NIR_PASS_V(nir, nir_lower_uniforms_to_ubo, false, false); in compile_nir() 126 NIR_PASS_V(nir, d3d12_nir_invert_depth, key->invert_depth, key->halfz); in compile_nir() 128 NIR_PASS_V(nir, nir_lower_clip_halfz); in compile_nir() 129 NIR_PASS_V(nir, d3d12_lower_yflip); in compile_nir() 131 NIR_PASS_V(ni in compile_nir() [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_compiler_nir.c | 148 NIR_PASS_V(s, nir_lower_vars_to_ssa); in etna_optimize_loop() 1090 NIR_PASS_V(s, nir_lower_texcoord_replace, v->key.sprite_coord_enable, in etna_compile_shader() 1117 NIR_PASS_V(s, nir_lower_io, nir_var_shader_in | nir_var_uniform, etna_glsl_type_size, in etna_compile_shader() 1120 NIR_PASS_V(s, nir_lower_regs_to_ssa); in etna_compile_shader() 1121 NIR_PASS_V(s, nir_lower_vars_to_ssa); in etna_compile_shader() 1122 NIR_PASS_V(s, nir_lower_indirect_derefs, nir_var_all, UINT32_MAX); in etna_compile_shader() 1123 NIR_PASS_V(s, nir_lower_tex, &(struct nir_lower_tex_options) { .lower_txp = ~0u, .lower_invalid_implicit_lod = true, }); in etna_compile_shader() 1126 NIR_PASS_V(s, nir_lower_tex_shadow, v->key.num_texture_states, in etna_compile_shader() 1130 NIR_PASS_V(s, nir_lower_alu_to_scalar, etna_alu_to_scalar_filter_cb, specs); in etna_compile_shader() 1135 NIR_PASS_V( in etna_compile_shader() [all...] |
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_pipeline.c | 376 NIR_PASS_V(nir, nir_lower_var_copies); in lvp_shader_optimize() 377 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL); in lvp_shader_optimize() 378 NIR_PASS_V(nir, nir_opt_dce); in lvp_shader_optimize() 445 NIR_PASS_V(nir, remove_scoped_barriers, nir->info.stage == MESA_SHADER_COMPUTE); in lvp_shader_compile_to_ir() 451 NIR_PASS_V(nir, nir_lower_sysvals_to_varyings, &sysvals_to_varyings); in lvp_shader_compile_to_ir() 457 NIR_PASS_V(nir, nir_lower_subgroups, &subgroup_opts); in lvp_shader_compile_to_ir() 461 NIR_PASS_V(nir, nir_lower_is_helper_invocation); in lvp_shader_compile_to_ir() 462 NIR_PASS_V(nir, lower_demote); in lvp_shader_compile_to_ir() 463 NIR_PASS_V(nir, nir_lower_system_values); in lvp_shader_compile_to_ir() 464 NIR_PASS_V(ni in lvp_shader_compile_to_ir() [all...] |