vkd3d-shader/dxil: Check the fields of well-known structure types.

The main reason is to avoid making false assumptions in the code. I don't know how that could be used, say, to introduce a security bug, but I think validating untrusted input should be done by default.

Conveniently this also acts as documentation for who needs to know what fields we indeed expect to find in a well-known structure.

Merge request reports

Loading