nir: fix a bug in is_dual_slot in nir_io_add_const_offset_to_base
authorMarek Olšák <marek.olsak@amd.com>
Tue, 1 Sep 2020 15:37:07 +0000 (11:37 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 2 Sep 2020 20:05:05 +0000 (20:05 +0000)
commit8c43edf9f917a801a18940bb570a295b7eed7f90
tree346844a6022c3e4772ae90bc29afd2b121c3037b
parent536727c465170c028b0d91e4eb8d94020e4a7669
nir: fix a bug in is_dual_slot in nir_io_add_const_offset_to_base

Fixes: 01ab308edc "nir: update IO semantics in nir_io_add_const_offset_to_base"
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6540>
src/compiler/nir/nir_lower_io.c