X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Futil%2Fregister_allocate.h;h=c9170e7762a82f0fc4b7bb72c6cb517d225f6a59;hb=81124d845e595f73f855240094fe80f9f6935986;hp=c01f4aee47af1598ee30296543d5d7ea2d058ef7;hpb=dd2e050a8422aed2f4de601b3894cbba94ba30bb;p=mesa.git diff --git a/src/util/register_allocate.h b/src/util/register_allocate.h index c01f4aee47a..c9170e7762a 100644 --- a/src/util/register_allocate.h +++ b/src/util/register_allocate.h @@ -39,6 +39,9 @@ extern "C" { struct ra_class; struct ra_regs; +struct blob; +struct blob_reader; + /* @{ * Register set setup. * @@ -65,6 +68,9 @@ void ra_class_add_reg(struct ra_regs *regs, unsigned int c, unsigned int reg); void ra_set_num_conflicts(struct ra_regs *regs, unsigned int class_a, unsigned int class_b, unsigned int num_conflicts); void ra_set_finalize(struct ra_regs *regs, unsigned int **conflicts); + +void ra_set_serialize(const struct ra_regs *regs, struct blob *blob); +struct ra_regs *ra_set_deserialize(void *mem_ctx, struct blob_reader *blob); /** @} */ /** @{ Interference graph setup.