On Wed Mar 1 21:41:00 2023 +0000, Francisco Casas wrote:
changed this line in [version 2 of the diff](/wine/vkd3d/-/merge_requests/106/diffs?diff_id=35142&start_sha=ec0b3f4018ce8c60ce578966fcff54ae5888f5d5#9155b9453b4ec8ea0b9b025dfb55c061bd931610_4380_4387)
I think that `"packoffset() is only allowed inside constant buffer declarations."` delivers more information than "packoffset() is not allowed on functions.". Native outputs a similar error, and I don't know of another circumstance where `packoffset()` can be used either.
Despite that, while addressing other comments, I realized that using `packoffsets()` inside a struct definition inside a buffer declaration is not allowed either, so that new check has a slightly more specific comment: `"packoffset() is not allowed inside struct definitions."`.