11 Oct
2023
11 Oct
'23
10:41 a.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl_codegen.c:
{ unsigned int size = hlsl_type_get_array_element_reg_size(type->e.array.type, regset);
+ if (regset == HLSL_REGSET_NUMERIC) + size /= 4;
It's pretty obvious, but can you `assert(size % 4 == 0)` please? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/396#note_48333