nir/lower_io: assert that offsets are used for shader_in
authorKarol Herbst <kherbst@redhat.com>
Fri, 24 Jul 2020 14:34:43 +0000 (16:34 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sat, 25 Jul 2020 08:51:48 +0000 (08:51 +0000)
commite2e89fb137c220e035403d8dc6d00d6c44a4f675
treecd67965833792d33ec7ca16bfbfeb8defac2aa89
parent60915f87c73cd8f0361b2f465670313a1e121b41
nir/lower_io: assert that offsets are used for shader_in

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6059>
src/compiler/nir/nir_lower_io.c
src/gallium/frontends/clover/nir/invocation.cpp