diff options
author | Connor Abbott <[email protected]> | 2017-09-12 23:17:51 -0400 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2017-10-31 23:36:53 -0700 |
commit | 120da009755414ba62b0f902a67ad22004b9a304 (patch) | |
tree | 2353d1c708813407b91186057975ce26fa173564 /src/compiler/nir/meson.build | |
parent | 57892a23be9058b535072ce03dc155f42db02be4 (diff) |
nir: add serialization and deserialization
v2 (Jason Ekstrand):
- Various whitespace cleanups
- Add helpers for reading/writing objects
- Rework derefs
- [de]serialize nir_shader::num_*
- Fix uses of blob_reserve_bytes
- Use a bitfield struct for packing tex_instr data
v3:
- Zero nir_variable struct on deserialization. (Jordan)
- Allow nir_serialize.h to be included in C++. (Jordan)
- Handle NULL info.name. (Jason)
- Set info.name to NULL when name is NULL. (Jordan)
Acked-by: Timothy Arceri <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/meson.build')
-rw-r--r-- | src/compiler/nir/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/meson.build b/src/compiler/nir/meson.build index cb88effa628..bb9ac084480 100644 --- a/src/compiler/nir/meson.build +++ b/src/compiler/nir/meson.build @@ -164,6 +164,8 @@ files_libnir = files( 'nir_search.c', 'nir_search.h', 'nir_search_helpers.h', + 'nir_serialize.c', + 'nir_serialize.h', 'nir_split_var_copies.c', 'nir_sweep.c', 'nir_to_lcssa.c', |