nir/lower_io_to_scalar: update io semantics on per-component inst
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 12 Oct 2020 23:24:29 +0000 (01:24 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Oct 2020 22:54:58 +0000 (22:54 +0000)
commit9b01598fe5ae5675c1fe7082e39030121acd5221
treefccfc16af32ca339e02810908efd66e75b3ec42a
parentac5f0ee19cefc639289e8d1ceda483ecc4b59c9e
nir/lower_io_to_scalar: update io semantics on per-component inst

When we replace the original instruction with per-channel operations,
the new instruction should inherint the semantics of the original
instruction.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6721>
src/compiler/nir/nir_lower_io_to_scalar.c