Mesa (master): clover: fix the nir_serialize build failure

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 10 22:45:00 UTC 2019


Module: Mesa
Branch: master
Commit: c38c8d012ee3e7ad892e74a8234702e8c863992f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c38c8d012ee3e7ad892e74a8234702e8c863992f

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Oct 10 18:43:47 2019 -0400

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, {} };




More information about the mesa-commit mailing list