nir: Split NIR_INTRINSIC_TYPE into separate src/dest indices
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 1 Oct 2020 02:20:53 +0000 (21:20 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 1 Oct 2020 18:36:53 +0000 (18:36 +0000)
commit0aa08ae2f673a36709c5485679d4c89a747ec0e9
tree9829fb0885559ee64f54c7834c9ff6e432839743
parent4c70f1ba2fb2ef0aef33d0f7f160ad110b731615
nir: Split NIR_INTRINSIC_TYPE into separate src/dest indices

We're about to introduce conversion ops which are going to want two
different types.  We may as well just split the one we have rather than
end up with three.  There are a couple places where this is mildly
inconvenient but most of the time I find it to actually be nicer.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6945>
21 files changed:
src/broadcom/compiler/v3d_nir_lower_logic_ops.c
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_gather_ssa_types.c
src/compiler/nir/nir_intrinsics.py
src/compiler/nir/nir_lower_cl_images_to_tex.c
src/compiler/nir/nir_lower_io.c
src/compiler/nir/nir_lower_io_to_scalar.c
src/compiler/nir/nir_lower_mediump_outputs.c
src/compiler/nir/nir_lower_passthrough_edgeflags.c
src/compiler/nir/nir_print.c
src/compiler/spirv/spirv_to_nir.c
src/freedreno/ir3/ir3_image.c
src/gallium/auxiliary/nir/tgsi_to_nir.c
src/gallium/drivers/etnaviv/etnaviv_nir.c
src/gallium/drivers/lima/ir/lima_nir_lower_uniform_to_scalar.c
src/gallium/drivers/lima/ir/lima_nir_split_load_input.c
src/gallium/drivers/radeonsi/si_shader_nir.c
src/panfrost/bifrost/bifrost_compile.c
src/panfrost/midgard/midgard_compile.c