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().