nir: add a strip parameter to nir_serialize
authorMarek Olšák <marek.olsak@amd.com>
Wed, 9 Oct 2019 17:27:07 +0000 (13:27 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 10 Oct 2019 19:47:07 +0000 (15:47 -0400)
commitdd4cc56ebd05074848b1817493f5058e0c1cd9e9
tree5299b9cc0ac06aea50026d2b97cad25c35172db9
parente6986bcb733d87518cad13a5e9ef116d26eadbc0
nir: add a strip parameter to nir_serialize

so that drivers don't have to call nir_strip manually.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/compiler/nir/nir_serialize.c
src/compiler/nir/nir_serialize.h
src/gallium/drivers/iris/iris_program.c
src/gallium/drivers/radeonsi/si_shader_nir.c
src/gallium/drivers/radeonsi/si_state_shaders.c
src/intel/vulkan/anv_pipeline_cache.c
src/mesa/drivers/dri/i965/brw_program_binary.c
src/mesa/state_tracker/st_shader_cache.c