Nov. 13, 2023
4:11 p.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl.h:
/* Format of the data contained within the type if the base_type is HLSL_TYPE_TEXTURE or * HLSL_TYPE_UAV. */ struct hlsl_type *resource_format; + /* Additional field to distinguish object types. Currently used only for technique types. */ + unsigned int version;
Using this approach you should probably update `hlsl_types_are_equal()` and `hlsl_type_clone()`? I don't remember whether there were other similar helpers. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/443#note_52139