nir: Add a face_sysval argument to nir_lower_two_sided_color
[mesa.git] / src / broadcom / compiler / vir.c
index d26a3250ead0659a91e2d46111699181eade1d89..44ee75697df0e1a6a85812efd5949a07eb1ce310 100644 (file)
@@ -939,7 +939,7 @@ static void
 v3d_nir_lower_fs_late(struct v3d_compile *c)
 {
         if (c->fs_key->light_twoside)
-                NIR_PASS_V(c->s, nir_lower_two_sided_color);
+                NIR_PASS_V(c->s, nir_lower_two_sided_color, true);
 
         if (c->fs_key->clamp_color)
                 NIR_PASS_V(c->s, nir_lower_clamp_color_outputs);