nir: add pass to lower discard() to demote()
[mesa.git] / src / compiler / nir /
drwxr-xr-x   ..
-rw-r--r-- 5822 README
-rw-r--r-- 10557 meson.build
-rw-r--r-- 63259 nir.c
-rw-r--r-- 136639 nir.h
-rw-r--r-- 47738 nir_algebraic.py
-rw-r--r-- 40375 nir_builder.h
-rw-r--r-- 3663 nir_builder_opcodes_h.py
-rw-r--r-- 15719 nir_builtin_builder.c
-rw-r--r-- 8365 nir_builtin_builder.h
-rw-r--r-- 25417 nir_clone.c
-rw-r--r-- 1593 nir_constant_expressions.h
-rw-r--r-- 16018 nir_constant_expressions.py
-rw-r--r-- 22074 nir_control_flow.c
-rw-r--r-- 6912 nir_control_flow.h
-rw-r--r-- 1571 nir_control_flow_private.h
-rw-r--r-- 30842 nir_deref.c
-rw-r--r-- 2707 nir_deref.h
-rw-r--r-- 29877 nir_divergence_analysis.c
-rw-r--r-- 8389 nir_dominance.c
-rw-r--r-- 15297 nir_format_convert.h
-rw-r--r-- 34153 nir_from_ssa.c
-rw-r--r-- 13703 nir_gather_info.c
-rw-r--r-- 8785 nir_gather_ssa_types.c
-rw-r--r-- 10629 nir_gather_xfb_info.c
-rw-r--r-- 3040 nir_gs_count_vertices.c
-rw-r--r-- 9451 nir_inline_functions.c
-rw-r--r-- 25412 nir_instr_set.c
-rw-r--r-- 2502 nir_instr_set.h
-rw-r--r-- 41514 nir_intrinsics.py
-rw-r--r-- 2568 nir_intrinsics_c.py
-rw-r--r-- 2030 nir_intrinsics_h.py
-rw-r--r-- 38397 nir_linking_helpers.c
-rw-r--r-- 9845 nir_liveness.c
-rw-r--r-- 42094 nir_loop_analyze.c
-rw-r--r-- 3521 nir_loop_analyze.h
-rw-r--r-- 5263 nir_lower_alpha_test.c
-rw-r--r-- 9119 nir_lower_alu.c
-rw-r--r-- 10554 nir_lower_alu_to_scalar.c
-rw-r--r-- 9865 nir_lower_amul.c
-rw-r--r-- 7479 nir_lower_array_deref_of_vec.c
-rw-r--r-- 8839 nir_lower_atomics_to_ssbo.c
-rw-r--r-- 4210 nir_lower_bit_size.c
-rw-r--r-- 5204 nir_lower_bitmap.c
-rw-r--r-- 6067 nir_lower_bool_to_float.c
-rw-r--r-- 5412 nir_lower_bool_to_int32.c
-rw-r--r-- 3953 nir_lower_clamp_color_outputs.c
-rw-r--r-- 16108 nir_lower_clip.c
-rw-r--r-- 4241 nir_lower_clip_cull_distance_arrays.c
-rw-r--r-- 2902 nir_lower_clip_halfz.c
-rw-r--r-- 2533 nir_lower_discard_to_demote.c
-rw-r--r-- 24916 nir_lower_double_ops.c
-rw-r--r-- 10920 nir_lower_drawpixels.c
-rw-r--r-- 4437 nir_lower_fb_read.c
-rw-r--r-- 1776 nir_lower_flatshade.c
-rw-r--r-- 21813 nir_lower_flrp.c
-rw-r--r-- 3056 nir_lower_fragcoord_wtrans.c
-rw-r--r-- 7030 nir_lower_frexp.c
-rw-r--r-- 3832 nir_lower_global_vars_to_local.c
-rw-r--r-- 7843 nir_lower_gs_intrinsics.c
-rw-r--r-- 9100 nir_lower_idiv.c
-rw-r--r-- 7659 nir_lower_indirect_derefs.c
-rw-r--r-- 6566 nir_lower_input_attachments.c
-rw-r--r-- 29916 nir_lower_int64.c
-rw-r--r-- 6239 nir_lower_int_to_float.c
-rw-r--r-- 5673 nir_lower_interpolation.c
-rw-r--r-- 56881 nir_lower_io.c
-rw-r--r-- 15004 nir_lower_io_arrays_to_elements.c
-rw-r--r-- 14100 nir_lower_io_to_scalar.c
-rw-r--r-- 13271 nir_lower_io_to_temporaries.c
-rw-r--r-- 19113 nir_lower_io_to_vector.c
-rw-r--r-- 3488 nir_lower_load_const_to_scalar.c
-rw-r--r-- 9144 nir_lower_locals_to_regs.c
-rw-r--r-- 12792 nir_lower_non_uniform_access.c
-rw-r--r-- 5269 nir_lower_packing.c
-rw-r--r-- 2312 nir_lower_passthrough_edgeflags.c
-rw-r--r-- 3999 nir_lower_patch_vertices.c
-rw-r--r-- 11602 nir_lower_phis_to_scalar.c
-rw-r--r-- 3751 nir_lower_point_size.c
-rw-r--r-- 2596 nir_lower_point_size_mov.c
-rw-r--r-- 10580 nir_lower_regs_to_ssa.c
-rw-r--r-- 9814 nir_lower_returns.c
-rw-r--r-- 4588 nir_lower_samplers.c
-rw-r--r-- 6560 nir_lower_scratch.c
-rw-r--r-- 7051 nir_lower_ssbo.c
-rw-r--r-- 19437 nir_lower_subgroups.c
-rw-r--r-- 13223 nir_lower_system_values.c
-rw-r--r-- 38845 nir_lower_tex.c
-rw-r--r-- 7053 nir_lower_to_source_mods.c
-rw-r--r-- 6851 nir_lower_two_sided_color.c
-rw-r--r-- 4135 nir_lower_uniforms_to_ubo.c
-rw-r--r-- 6072 nir_lower_var_copies.c
-rw-r--r-- 4581 nir_lower_variable_initializers.c
-rw-r--r-- 27077 nir_lower_vars_to_ssa.c
-rw-r--r-- 10313 nir_lower_vec_to_movs.c
-rw-r--r-- 4318 nir_lower_viewport_transform.c
-rw-r--r-- 4016 nir_lower_wpos_center.c
-rw-r--r-- 14790 nir_lower_wpos_ytransform.c
-rw-r--r-- 3070 nir_metadata.c
-rw-r--r-- 6768 nir_move_vec_src_uses_to_dest.c
-rw-r--r-- 3884 nir_normalize_cubemap_coords.c
-rw-r--r-- 42161 nir_opcodes.py
-rw-r--r-- 5078 nir_opcodes_c.py
-rw-r--r-- 1674 nir_opcodes_h.py
-rw-r--r-- 11655 nir_opt_access.c
-rw-r--r-- 94556 nir_opt_algebraic.py
-rw-r--r-- 13947 nir_opt_combine_stores.c
-rw-r--r-- 12907 nir_opt_comparison_pre.c
-rw-r--r-- 4389 nir_opt_conditional_discard.c
-rw-r--r-- 8934 nir_opt_constant_folding.c
-rw-r--r-- 40576 nir_opt_copy_prop_vars.c
-rw-r--r-- 8112 nir_opt_copy_propagate.c
-rw-r--r-- 2875 nir_opt_cse.c
-rw-r--r-- 4733 nir_opt_dce.c
-rw-r--r-- 13003 nir_opt_dead_cf.c
-rw-r--r-- 8309 nir_opt_dead_write_vars.c
-rw-r--r-- 20450 nir_opt_find_array_copies.c
-rw-r--r-- 17289 nir_opt_gcm.c
-rw-r--r-- 6889 nir_opt_idiv_const.c
-rw-r--r-- 48279 nir_opt_if.c
-rw-r--r-- 4431 nir_opt_intrinsics.c
-rw-r--r-- 13129 nir_opt_large_constants.c
-rw-r--r-- 45874 nir_opt_load_store_vectorize.c
-rw-r--r-- 33956 nir_opt_loop_unroll.c
-rw-r--r-- 6028 nir_opt_move.c
-rw-r--r-- 10288 nir_opt_peephole_select.c
-rw-r--r-- 5992 nir_opt_rematerialize_compares.c
-rw-r--r-- 5789 nir_opt_remove_phis.c
-rw-r--r-- 2232 nir_opt_shrink_load.c
-rw-r--r-- 8659 nir_opt_sink.c
-rw-r--r-- 4883 nir_opt_trivial_continues.c
-rw-r--r-- 5334 nir_opt_undef.c
-rw-r--r-- 14293 nir_opt_vectorize.c
-rw-r--r-- 11752 nir_phi_builder.c
-rw-r--r-- 4830 nir_phi_builder.h
-rw-r--r-- 44027 nir_print.c
-rw-r--r-- 5904 nir_propagate_invariant.c
-rw-r--r-- 41526 nir_range_analysis.c
-rw-r--r-- 1682 nir_range_analysis.h
-rw-r--r-- 6728 nir_remove_dead_variables.c
-rw-r--r-- 6752 nir_repair_ssa.c
-rw-r--r-- 32742 nir_schedule.c
-rw-r--r-- 30014 nir_search.c
-rw-r--r-- 6983 nir_search.h
-rw-r--r-- 13042 nir_search_helpers.h
-rw-r--r-- 65660 nir_serialize.c
-rw-r--r-- 1590 nir_serialize.h
-rw-r--r-- 6970 nir_split_per_member_structs.c
-rw-r--r-- 5705 nir_split_var_copies.c
-rw-r--r-- 57842 nir_split_vars.c
-rw-r--r-- 5204 nir_sweep.c
-rw-r--r-- 12910 nir_to_lcssa.c
-rw-r--r-- 42462 nir_validate.c
-rw-r--r-- 2135 nir_vla.h
-rw-r--r-- 3526 nir_worklist.c
-rw-r--r-- 4849 nir_worklist.h
-rw-r--r-- 2488 nir_xfb_info.h
drwxr-xr-x - tests