tgsi-to-nir: initialize NIR_DEBUG envvar
This envvar is initialized when creating a NIR shader, but we need to initialize it also when translating TGSI to NIR, before creating the NIR shader.
Fixes: f77ccdfb ("nir: add NIR_DEBUG envvar")
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This envvar is initialized when creating a NIR shader, but we need to initialize it also when translating TGSI to NIR, before creating the NIR shader.
Fixes: f77ccdfb ("nir: add NIR_DEBUG envvar")