v3d: don't emit point coordinates varyings if the FS doesn't read them
[mesa.git] / src / broadcom / compiler / vir.c
index 5d4e5dd103ada140e009fd6d70c01aceb4bea40d..45a6cc9ed2b1b48a4966588e95fdd18cbcb3ac20 100644 (file)
@@ -688,6 +688,8 @@ v3d_fs_set_prog_data(struct v3d_compile *c,
         prog_data->writes_z = c->writes_z;
         prog_data->disable_ez = !c->s->info.fs.early_fragment_tests;
         prog_data->uses_center_w = c->uses_center_w;
+        prog_data->uses_implicit_point_line_varyings =
+                c->uses_implicit_point_line_varyings;
 }
 
 static void