nir: Don't replace the whole shader in NIR_TEST_*
Instead, we replace everything except the nir_shader
itself which we leave in place. This makes the NIR_TEST_* variables work with gallium drivers.
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.
Instead, we replace everything except the nir_shader
itself which we leave in place. This makes the NIR_TEST_* variables work with gallium drivers.