Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.c:
var->storage_modifiers = modifiers; if (reg_reservation) var->reg_reservation = *reg_reservation;
- if (offset_reservation)
var->offset_reservation = *offset_reservation;
Haven't thought this through all the way, but could we add another field to struct hlsl_reg_reservation?