nir: Add nir_foreach_shader_in/out_variable helpers
authorJason Ekstrand <jason@jlekstrand.net>
Sat, 18 Jul 2020 23:24:25 +0000 (18:24 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 17:38:57 +0000 (17:38 +0000)
commit2956d53400fdabe7a52d7ca6154827fea160abf2
tree9f206c80df45c9f09225b51e73a2e84f7a8499da
parent9bf8572222044638866c8b5d9079a439ff39beb1
nir: Add nir_foreach_shader_in/out_variable helpers

Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5966>
58 files changed:
src/amd/compiler/aco_instruction_selection_setup.cpp
src/amd/llvm/ac_nir_to_llvm.c
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader_info.c
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_nir_lower_io.c
src/broadcom/compiler/v3d_nir_lower_logic_ops.c
src/broadcom/compiler/vir.c
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_gather_xfb_info.c
src/compiler/nir/nir_linking_helpers.c
src/compiler/nir/nir_lower_alpha_test.c
src/compiler/nir/nir_lower_bitmap.c
src/compiler/nir/nir_lower_clamp_color_outputs.c
src/compiler/nir/nir_lower_clip.c
src/compiler/nir/nir_lower_clip_disable.c
src/compiler/nir/nir_lower_drawpixels.c
src/compiler/nir/nir_lower_flatshade.c
src/compiler/nir/nir_lower_input_attachments.c
src/compiler/nir/nir_lower_mediump_outputs.c
src/compiler/nir/nir_lower_point_size_mov.c
src/compiler/nir/nir_lower_two_sided_color.c
src/compiler/nir/nir_range_analysis.c
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_nir.c
src/freedreno/ir3/ir3_nir_lower_tess.c
src/gallium/auxiliary/gallivm/lp_bld_nir.c
src/gallium/auxiliary/nir/nir_draw_helpers.c
src/gallium/auxiliary/nir/nir_to_tgsi_info.c
src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c
src/gallium/drivers/freedreno/a2xx/ir2_nir.c
src/gallium/drivers/iris/iris_program.c
src/gallium/drivers/lima/ir/gp/nir.c
src/gallium/drivers/lima/ir/pp/nir.c
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
src/gallium/drivers/r600/sfn/sfn_nir.cpp
src/gallium/drivers/radeonsi/si_shader_llvm_vs.c
src/gallium/drivers/radeonsi/si_shader_nir.c
src/gallium/drivers/v3d/v3d_program.c
src/gallium/drivers/vc4/vc4_nir_lower_blend.c
src/gallium/drivers/vc4/vc4_nir_lower_io.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
src/gallium/drivers/zink/zink_compiler.c
src/gallium/frontends/clover/nir/invocation.cpp
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_nir.cpp
src/intel/compiler/brw_interpolation_map.c
src/intel/compiler/brw_nir.c
src/intel/compiler/brw_nir_lower_alpha_to_coverage.c
src/intel/vulkan/anv_nir_lower_multiview.c
src/intel/vulkan/anv_pipeline.c
src/mesa/program/prog_to_nir.c
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_program.c
src/panfrost/midgard/midgard_compile.c