clover: fix the nir_serialize build failure
authorMarek Olšák <marek.olsak@amd.com>
Thu, 10 Oct 2019 22:43:47 +0000 (18:43 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 10 Oct 2019 22:44:40 +0000 (18:44 -0400)
Fixes: dd4cc56ebd0 "nir: add a strip parameter to nir_serialize"

src/gallium/state_trackers/clover/nir/invocation.cpp

index bb8c94b..ceeb3a4 100644 (file)
@@ -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, {} };