nir/lower_amul: fix slot calculation
authorRob Clark <robdclark@chromium.org>
Sun, 5 Apr 2020 15:12:04 +0000 (08:12 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Apr 2020 18:00:17 +0000 (18:00 +0000)
commit57557783f6156862b5e946201d833298518dab75
tree6d7f30b6fd26215c3ac647e07632e14a59c0013b
parent4638a16a9302a0e7ebf95dc5e025d2623127cf25
nir/lower_amul: fix slot calculation

Fixes incorrect indexing in
dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.packed.mat2x3

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4455>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4455>
src/compiler/nir/nir_lower_amul.c
src/compiler/nir_types.cpp
src/compiler/nir_types.h