20 Dec
2023
20 Dec
'23
1:13 p.m.
On Wed Dec 20 12:15:09 2023 +0000, Giovanni Mascellani wrote:
One option to improve readability is to have additional data using the same name as its class, so record -> struct, array as it is, new struct for object to hold both version and UAV format. I guess that `record` is used instead of `struct` because `struct` is a keyword in C. It could be `struct_`, sure. The updated comment looks fine to me, but `hlsl_types_are_equal()` still doesn't check `class` before comparing `version`. Specific name to use is not very important, the point was to use separate structures per-class, regardless of specific type within the class.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/443#note_56297