turnip: fix nir validate failure from push constant lowering
authorJonathan Marek <jonathan@marek.ca>
Wed, 8 Apr 2020 01:39:40 +0000 (21:39 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 9 Apr 2020 14:43:02 +0000 (14:43 +0000)
commitf03e63cd9964b8f2577538d02545794c199f1b62
treee0d6c602a578fa23ca066a08425fa9d84d129720
parent86d1a4c907e9adcfc4ea803bb0207e92f98332e2
turnip: fix nir validate failure from push constant lowering

Fixes newly added checks in nir validate failing.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3783>
src/freedreno/vulkan/tu_shader.c