iris: Clone before calling nir_strip and serializing
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 May 2019 22:39:24 +0000 (15:39 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 29 May 2019 18:16:32 +0000 (18:16 +0000)
commit6892d2b94a546ec35c259b98a014107d83986227
treec158537c9d2ac5309df3711f394367e530ef7e75
parente1409aead589d582f62a2526d2acaf03c704615f
iris: Clone before calling nir_strip and serializing

This is non-destructive and leaves the debugging information in place.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/gallium/drivers/iris/iris_program.c