27 Jul
2023
27 Jul
'23
9:06 a.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/tpf.c:
struct sm4_index_range ranges[MAX_REG_OUTPUT * 2]; };
+struct vkd3d_sm4_lookup_tables +{ + const struct vkd3d_sm4_register_type_info *rt_info_from_sm4[VKD3D_SM4_REGISTER_TYPE_COUNT]; + const struct vkd3d_sm4_register_type_info *rt_info_from_vkd3d[VKD3DSPR_COUNT];
Especially given that this is going to be directly used only in a couple of places, I would avoid an excessively shortened name. `register_type_info_from_sm4` doesn't seem too long. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/281#note_40432