diff --git a/src/compiler/nir/nir_linking_helpers.c b/src/compiler/nir/nir_linking_helpers.c index 1538311b05f..f9ba20a73f4 100644 --- a/src/compiler/nir/nir_linking_helpers.c +++ b/src/compiler/nir/nir_linking_helpers.c @@ -1001,7 +1001,8 @@ static bool does_varying_match(nir_variable *out_var, nir_variable *in_var) { return in_var->data.location == out_var->data.location && - in_var->data.location_frac == out_var->data.location_frac; + in_var->data.location_frac == out_var->data.location_frac && + in_var->type == out_var->type; } static nir_variable *