nir: patch up deref-vars when lowering clip-planes
Otherwise, we fail validation and potentially generate invalid code. Let's fix up the mode of the accesses to the variable.
Signed-off-by: Erik Faye-Lund erik.faye-lund@collabora.com
Otherwise, we fail validation and potentially generate invalid code. Let's fix up the mode of the accesses to the variable.
Signed-off-by: Erik Faye-Lund erik.faye-lund@collabora.com