nir: Don't replace the nir_shader when NIR_TEST_SERIALIZE=1
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 4 Jun 2019 22:50:22 +0000 (17:50 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 5 Jun 2019 20:07:28 +0000 (20:07 +0000)
commitfe2fc30cb559f7ef99c07bd219c057b011242cb4
tree84686069b2d5afded4df1c14f2d777462a28bfd7
parent9eba6d9a880558c89a72cbafd873d4fe1247928d
nir: Don't replace the nir_shader when NIR_TEST_SERIALIZE=1

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108957
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Rob Clark <robdclark@chromium.org>
src/compiler/nir/nir.h
src/compiler/nir/nir_serialize.c