From: Marek Olšák Date: Thu, 10 Oct 2019 22:43:47 +0000 (-0400) Subject: clover: fix the nir_serialize build failure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c38c8d012ee3e7ad892e74a8234702e8c863992f;p=mesa.git clover: fix the nir_serialize build failure Fixes: dd4cc56ebd0 "nir: add a strip parameter to nir_serialize" --- diff --git a/src/gallium/state_trackers/clover/nir/invocation.cpp b/src/gallium/state_trackers/clover/nir/invocation.cpp index bb8c94b5c8f..ceeb3a45c5b 100644 --- a/src/gallium/state_trackers/clover/nir/invocation.cpp +++ b/src/gallium/state_trackers/clover/nir/invocation.cpp @@ -143,7 +143,7 @@ module clover::nir::spirv_to_nir(const module &mod, const device &dev, struct blob blob; blob_init(&blob); - nir_serialize(&blob, nir); + nir_serialize(&blob, nir, false); const pipe_binary_program_header header { uint32_t(blob.size) }; module::section text { section_id, module::section::text_executable, header.num_bytes, {} };