nir: fix nir_variable_create for kernels
authorKarol Herbst <kherbst@redhat.com>
Fri, 21 Aug 2020 16:46:33 +0000 (18:46 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 21 Aug 2020 22:07:05 +0000 (22:07 +0000)
commit47e52d84ea3d4c1830bf942a41151aaabbf320d3
tree04ac0db454b391c924a5eb8b352886ecc75d25b7
parent368e9a0b545633ca352596964657a334b88e0473
nir: fix nir_variable_create for kernels

We ended up with INTERP_MODE_SMOOTH but we really just want to have NONE.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5891>
src/compiler/nir/nir.c