[Device] Serialize VariationDevice zerocopy
This commit is contained in:
parent
071a2bb4f7
commit
58e9df132f
|
@ -3460,6 +3460,7 @@ struct VariationDevice
|
||||||
if (!layout_variation_idx_delta_map->has (varIdx, &v))
|
if (!layout_variation_idx_delta_map->has (varIdx, &v))
|
||||||
return_trace (nullptr);
|
return_trace (nullptr);
|
||||||
|
|
||||||
|
c->start_zerocopy (this->static_size);
|
||||||
auto *out = c->embed (this);
|
auto *out = c->embed (this);
|
||||||
if (unlikely (!out)) return_trace (nullptr);
|
if (unlikely (!out)) return_trace (nullptr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue