freedreno/query: add optional enable hook
[mesa.git] / src / gallium / drivers / freedreno / freedreno_context.h
index 9e7130ab91536328ca9f9108e0b7410544b82a43..85ce97c16b79c377c64e3d5b3396364155c28b20 100644 (file)
@@ -164,6 +164,9 @@ struct fd_context {
         */
        struct fd_hw_sample *sample_cache[MAX_HW_SAMPLE_PROVIDERS];
 
+       /* which sample providers were active in the current batch: */
+       uint32_t active_providers;
+
        /* tracking for current stage, to know when to start/stop
         * any active queries:
         */