Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp281 NIR_PASS_V(nir, nir_lower_64bit_pack); in st_nir_opts()
377 NIR_PASS_V(nir, st_nir_lower_builtin); in st_glsl_to_nir_post_opts()
378 NIR_PASS_V(nir, nir_lower_atomics, shader_program); in st_glsl_to_nir_post_opts()
495 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in st_nir_get_mesa_program()
499 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in st_nir_get_mesa_program()
500 NIR_PASS_V(nir, nir_split_var_copies); in st_nir_get_mesa_program()
501 NIR_PASS_V(nir, nir_lower_var_copies); in st_nir_get_mesa_program()
509 NIR_PASS_V(*producer, nir_remove_dead_variables, nir_var_shader_out); in st_nir_link_shaders()
510 NIR_PASS_V(*consumer, nir_remove_dead_variables, nir_var_shader_in); in st_nir_link_shaders()
513 NIR_PASS_V(*producer, nir_lower_global_vars_to_local); in st_nir_link_shaders()
[all …]
Dst_program.c564 NIR_PASS_V(vpv->tgsi.ir.nir, nir_lower_clamp_color_outputs); in st_create_vp_variant()
566 NIR_PASS_V(vpv->tgsi.ir.nir, nir_lower_passthrough_edgeflags); in st_create_vp_variant()
1029 NIR_PASS_V(tgsi.ir.nir, nir_lower_clamp_color_outputs); in st_create_fp_variant()
1047 NIR_PASS_V(tgsi.ir.nir, nir_lower_bitmap, &options); in st_create_fp_variant()
1080 NIR_PASS_V(tgsi.ir.nir, nir_lower_drawpixels, &options); in st_create_fp_variant()
1087 NIR_PASS_V(tgsi.ir.nir, nir_lower_tex, &options); in st_create_fp_variant()
1094 NIR_PASS_V(tgsi.ir.nir, st_nir_lower_tex_src_plane, in st_create_fp_variant()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c118 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in load_glsl()
121 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in load_glsl()
122 NIR_PASS_V(nir, nir_split_var_copies); in load_glsl()
123 NIR_PASS_V(nir, nir_lower_var_copies); in load_glsl()
125 NIR_PASS_V(nir, nir_split_var_copies); in load_glsl()
126 NIR_PASS_V(nir, nir_lower_var_copies); in load_glsl()
127 NIR_PASS_V(nir, nir_lower_io_types); in load_glsl()
136 NIR_PASS_V(nir, nir_lower_global_vars_to_local); in load_glsl()
162 NIR_PASS_V(nir, nir_lower_system_values); in load_glsl()
163 NIR_PASS_V(nir, nir_lower_io, nir_var_all, ir3_glsl_type_size, 0); in load_glsl()
[all …]
Dir3_nir.c83 #define OPT_V(nir, pass, ...) NIR_PASS_V(nir, pass, ##__VA_ARGS__)
Dir3_shader.c300 NIR_PASS_V(nir, nir_lower_io, nir_var_all, ir3_glsl_type_size, in ir3_shader_create()
349 NIR_PASS_V(nir, nir_lower_io, nir_var_all, ir3_glsl_type_size, in ir3_shader_create_compute()
Dir3_compiler_nir.c196 NIR_PASS_V(ctx->s, nir_lower_locals_to_regs); in compile_init()
/external/mesa3d/src/broadcom/compiler/
Dvir.c578 NIR_PASS_V(c->s, nir_lower_tex, &tex_options); in v3d_lower_nir()
584 NIR_PASS_V(c->s, v3d_nir_lower_io, c); in v3d_lower_nir_late()
585 NIR_PASS_V(c->s, v3d_nir_lower_txf_ms, c); in v3d_lower_nir_late()
586 NIR_PASS_V(c->s, nir_lower_idiv); in v3d_lower_nir_late()
682 NIR_PASS_V(c->s, nir_lower_clamp_color_outputs); in v3d_compile_vs()
685 NIR_PASS_V(c->s, nir_lower_clip_vs, key->base.ucp_enables); in v3d_compile_vs()
686 NIR_PASS_V(c->s, nir_lower_io_to_scalar, in v3d_compile_vs()
691 NIR_PASS_V(c->s, nir_lower_io_to_scalar, nir_var_shader_out); in v3d_compile_vs()
695 NIR_PASS_V(c->s, nir_convert_from_ssa, true); in v3d_compile_vs()
755 NIR_PASS_V(c->s, nir_lower_two_sided_color); in v3d_compile_fs()
[all …]
Dnir_to_vir.c1174 NIR_PASS_V(s, nir_lower_vars_to_ssa); in v3d_optimize_nir()
/external/mesa3d/src/amd/vulkan/
Dradv_shader.c163 NIR_PASS_V(shader, nir_lower_vars_to_ssa); in radv_optimize_nir()
164 NIR_PASS_V(shader, nir_lower_64bit_pack); in radv_optimize_nir()
165 NIR_PASS_V(shader, nir_lower_alu_to_scalar); in radv_optimize_nir()
166 NIR_PASS_V(shader, nir_lower_phis_to_scalar); in radv_optimize_nir()
265 NIR_PASS_V(nir, nir_lower_constant_initializers, nir_var_local); in radv_shader_compile_to_nir()
266 NIR_PASS_V(nir, nir_lower_returns); in radv_shader_compile_to_nir()
267 NIR_PASS_V(nir, nir_inline_functions); in radv_shader_compile_to_nir()
277 NIR_PASS_V(nir, nir_remove_dead_variables, in radv_shader_compile_to_nir()
283 NIR_PASS_V(nir, nir_lower_constant_initializers, ~0); in radv_shader_compile_to_nir()
284 NIR_PASS_V(nir, nir_lower_system_values); in radv_shader_compile_to_nir()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c499 NIR_PASS_V(sel->nir, nir_lower_io, nir_var_uniform, type_size, in si_lower_nir()
501 NIR_PASS_V(sel->nir, nir_lower_uniforms_to_ubo); in si_lower_nir()
503 NIR_PASS_V(sel->nir, nir_lower_returns); in si_lower_nir()
504 NIR_PASS_V(sel->nir, nir_lower_vars_to_ssa); in si_lower_nir()
505 NIR_PASS_V(sel->nir, nir_lower_alu_to_scalar); in si_lower_nir()
506 NIR_PASS_V(sel->nir, nir_lower_phis_to_scalar); in si_lower_nir()
511 NIR_PASS_V(sel->nir, nir_lower_tex, &lower_tex_options); in si_lower_nir()
520 NIR_PASS_V(sel->nir, nir_lower_subgroups, &subgroups_options); in si_lower_nir()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c170 NIR_PASS_V(nir, nir_lower_constant_initializers, nir_var_local); in anv_shader_compile_to_nir()
171 NIR_PASS_V(nir, nir_lower_returns); in anv_shader_compile_to_nir()
172 NIR_PASS_V(nir, nir_inline_functions); in anv_shader_compile_to_nir()
182 NIR_PASS_V(nir, nir_remove_dead_variables, in anv_shader_compile_to_nir()
186 NIR_PASS_V(nir, nir_lower_wpos_center, pipeline->sample_shading_enable); in anv_shader_compile_to_nir()
191 NIR_PASS_V(nir, nir_lower_constant_initializers, ~0); in anv_shader_compile_to_nir()
192 NIR_PASS_V(nir, nir_propagate_invariant); in anv_shader_compile_to_nir()
193 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in anv_shader_compile_to_nir()
202 NIR_PASS_V(nir, anv_nir_lower_input_attachments); in anv_shader_compile_to_nir()
401 NIR_PASS_V(nir, anv_nir_lower_ycbcr_textures, pipeline); in anv_pipeline_compile()
[all …]
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_program.c150 NIR_PASS_V(s, nir_lower_io, nir_var_all, type_size, in vc5_shader_state_create()
164 NIR_PASS_V(s, nir_opt_global_to_local); in vc5_shader_state_create()
165 NIR_PASS_V(s, nir_lower_regs_to_ssa); in vc5_shader_state_create()
166 NIR_PASS_V(s, nir_normalize_cubemap_coords); in vc5_shader_state_create()
168 NIR_PASS_V(s, nir_lower_load_const_to_scalar); in vc5_shader_state_create()
172 NIR_PASS_V(s, nir_remove_dead_variables, nir_var_local); in vc5_shader_state_create()
/external/mesa3d/src/intel/compiler/
Dbrw_nir.c680 NIR_PASS_V(*producer, nir_remove_dead_variables, nir_var_shader_out); in brw_nir_link_shaders()
681 NIR_PASS_V(*consumer, nir_remove_dead_variables, nir_var_shader_in); in brw_nir_link_shaders()
684 NIR_PASS_V(*producer, nir_lower_global_vars_to_local); in brw_nir_link_shaders()
685 NIR_PASS_V(*consumer, nir_lower_global_vars_to_local); in brw_nir_link_shaders()
691 NIR_PASS_V(*producer, nir_lower_indirect_derefs, in brw_nir_link_shaders()
693 NIR_PASS_V(*consumer, nir_lower_indirect_derefs, in brw_nir_link_shaders()
Dbrw_fs.cpp6789 NIR_PASS_V(shader, demote_sample_qualifiers); in brw_compile_fs()
6790 NIR_PASS_V(shader, move_interpolation_to_top); in brw_compile_fs()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_link.cpp300 NIR_PASS_V(prog->nir, nir_lower_samplers, shProg); in brw_link_shader()
301 NIR_PASS_V(prog->nir, nir_lower_atomics, shProg); in brw_link_shader()
302 NIR_PASS_V(prog->nir, nir_lower_atomics_to_ssbo, in brw_link_shader()
Dbrw_program.c83 NIR_PASS_V(nir, nir_lower_io_to_temporaries, in brw_create_nir()
87 NIR_PASS_V(nir, nir_lower_regs_to_ssa); /* turn registers into SSA */ in brw_create_nir()
134 NIR_PASS_V(nir, brw_nir_lower_uniforms, is_scalar); in brw_create_nir()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1542 NIR_PASS_V(s, nir_lower_vars_to_ssa); in vc4_optimize_nir()
2255 NIR_PASS_V(c->s, nir_lower_alpha_test, in vc4_shader_ntq()
2260 NIR_PASS_V(c->s, vc4_nir_lower_blend, c); in vc4_shader_ntq()
2302 NIR_PASS_V(c->s, nir_lower_tex, &tex_options); in vc4_shader_ntq()
2305 NIR_PASS_V(c->s, nir_lower_two_sided_color); in vc4_shader_ntq()
2308 NIR_PASS_V(c->s, nir_lower_clamp_color_outputs); in vc4_shader_ntq()
2312 NIR_PASS_V(c->s, nir_lower_clip_fs, c->key->ucp_enables); in vc4_shader_ntq()
2314 NIR_PASS_V(c->s, nir_lower_clip_vs, c->key->ucp_enables); in vc4_shader_ntq()
2315 NIR_PASS_V(c->s, nir_lower_io_to_scalar, in vc4_shader_ntq()
2325 NIR_PASS_V(c->s, nir_lower_io_to_scalar, nir_var_shader_in); in vc4_shader_ntq()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir.h2428 #define NIR_PASS_V(nir, pass, ...) _PASS(nir, \ macro