I see, that's unfortunate. Should I use masks and shifts instead?
It seems preferable to me, yes.
P.S. do you think we need to revert wine@3724385c86eeedd6de8fa91d6179b64ba0fd9597 for the same reason?
I wouldn't have written it that way, but my opinion on Wine's d3d10/d3dcompiler module isn't necessarily relevant. :) One thing to perhaps point out though is that the code in Wine targets a potentially narrower set of platforms than vkd3d.