panfrost: Track surfaces drawn per-batch
[mesa.git] / src / gallium / drivers / panfrost / pan_job.h
index b5f639894e0b3c8ec39390aec7f1197df1aedf70..409644d2cfdfdca0078d2af1c05740c7a790240b 100644 (file)
@@ -75,6 +75,9 @@ struct panfrost_batch {
         /* Buffers cleared (PIPE_CLEAR_* bitmask) */
         unsigned clear;
 
+        /* Buffers drawn */
+        unsigned draws;
+
         /* Packed clear values, indexed by both render target as well as word.
          * Essentially, a single pixel is packed, with some padding to bring it
          * up to a 32-bit interval; that pixel is then duplicated over to fill