diff options
author | Marek Olšák <[email protected]> | 2019-10-09 13:27:07 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-10-10 15:47:07 -0400 |
commit | dd4cc56ebd05074848b1817493f5058e0c1cd9e9 (patch) | |
tree | 5299b9cc0ac06aea50026d2b97cad25c35172db9 /src/mesa/drivers/dri | |
parent | e6986bcb733d87518cad13a5e9ef116d26eadbc0 (diff) |
nir: add a strip parameter to nir_serialize
so that drivers don't have to call nir_strip manually.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program_binary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program_binary.c b/src/mesa/drivers/dri/i965/brw_program_binary.c index bf875341e21..a126f863ae2 100644 --- a/src/mesa/drivers/dri/i965/brw_program_binary.c +++ b/src/mesa/drivers/dri/i965/brw_program_binary.c @@ -132,7 +132,7 @@ serialize_nir_part(struct blob *writer, struct gl_program *prog) blob_write_uint32(writer, NIR_PART); intptr_t size_offset = blob_reserve_uint32(writer); size_t nir_start = writer->size; - nir_serialize(writer, prog->nir); + nir_serialize(writer, prog->nir, false); blob_overwrite_uint32(writer, size_offset, writer->size - nir_start); } |