diff --git a/src/microsoft/compiler/dxil_signature.c b/src/microsoft/compiler/dxil_signature.c index 84ee5acc693..0b8539e5d3d 100644 --- a/src/microsoft/compiler/dxil_signature.c +++ b/src/microsoft/compiler/dxil_signature.c @@ -130,7 +130,7 @@ get_additional_semantic_info(nir_shader *s, nir_variable *var, struct semantic_i bool is_depth = is_depth_output(info->kind); - if (!glsl_type_is_struct(type)) { + if (!glsl_type_is_struct(glsl_without_array(type))) { info->sig_comp_type = dxil_get_comp_type(type); } else if (var->data.interpolation == INTERP_MODE_FLAT) { info->sig_comp_type = DXIL_COMP_TYPE_U32;