31 Oct
2022
31 Oct
'22
7:10 p.m.
Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl_sm1.c:
static D3DXPARAMETER_TYPE sm1_base_type(const struct hlsl_type *type) { + if (type->type == HLSL_CLASS_ARRAY) + return sm1_base_type(type->e.array.type); +
sm1_class() does this too, but we should probably just pass "array_type" from write_sm1_type(). -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/42#note_12603