v3d: don't emit point coordinates varyings if the FS doesn't read them
[mesa.git] / src / broadcom / compiler / v3d_compiler.h
index 2bc07de7e1f3ed31ee52e1b149e0ebbbaef43423..cb466c0c59f15123a4a6f00abbc6de4b7cdce4a1 100644 (file)
@@ -513,6 +513,7 @@ struct v3d_compile {
 
         bool uses_center_w;
         bool writes_z;
 
         bool uses_center_w;
         bool writes_z;
+        bool uses_implicit_point_line_varyings;
 
         /* State for whether we're executing on each channel currently.  0 if
          * yes, otherwise a block number + 1 that the channel jumped to.
 
         /* State for whether we're executing on each channel currently.  0 if
          * yes, otherwise a block number + 1 that the channel jumped to.
@@ -689,6 +690,7 @@ struct v3d_fs_prog_data {
         bool writes_z;
         bool disable_ez;
         bool uses_center_w;
         bool writes_z;
         bool disable_ez;
         bool uses_center_w;
+        bool uses_implicit_point_line_varyings;
 };
 
 struct v3d_compute_prog_data {
 };
 
 struct v3d_compute_prog_data {