clover: fix the nir_serialize build failure

Fixes: dd4cc56ebd "nir: add a strip parameter to nir_serialize"
This commit is contained in:
Marek Olšák 2019-10-10 18:43:47 -04:00
parent 1b221f4e7b
commit c38c8d012e
1 changed files with 1 additions and 1 deletions

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