nir/linking_helpers: force type matching in does_varying_match
this otherwise breaks when i/o is scalarized in the producer but not the consumer cc: mesa-stable Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24458>
This commit is contained in:
committed by
Marge Bot
parent
58ba2bcc8c
commit
ac00f5a361
@@ -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 *
|
||||
|
||||
Reference in New Issue
Block a user