From c38c8d012ee3e7ad892e74a8234702e8c863992f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 10 Oct 2019 18:43:47 -0400 Subject: [PATCH] clover: fix the nir_serialize build failure Fixes: dd4cc56ebd0 "nir: add a strip parameter to nir_serialize" --- src/gallium/state_trackers/clover/nir/invocation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, {} }; -- 2.30.2