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/Makefile.sources | |
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/Makefile.sources')
-rw-r--r-- | src/compiler/Makefile.sources | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources index 27cc33ab835..b80468c7a44 100644 --- a/src/compiler/Makefile.sources +++ b/src/compiler/Makefile.sources @@ -277,6 +277,8 @@ NIR_FILES = \ nir/nir_search.c \ nir/nir_search.h \ nir/nir_search_helpers.h \ + nir/nir_serialize.c \ + nir/nir_serialize.h \ nir/nir_split_var_copies.c \ nir/nir_sweep.c \ nir/nir_to_lcssa.c \ |