Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.h:
struct hlsl_reg { uint32_t id;
- uint32_t count;
I was thinking "isn't this redundant with var->data_type->reg_size[...]?" and then discovered that this is the number of actually used registers, or at least it's supposed to be. That could use documentation :-)