pan/midgard: Implement nir_intrinsic_load_num_work_groups
[mesa.git] / src / gallium / drivers / panfrost / pan_context.h
index 542d24d2c2703e93c9600954dfe94d22ff4c70a0..1277629382aee3d31c6e20ec36af369cf28c0576 100644 (file)
@@ -108,6 +108,9 @@ struct panfrost_context {
         /* panfrost_resource -> panfrost_job */
         struct hash_table *write_jobs;
 
+        /* Within a launch_grid call.. */
+        const struct pipe_grid_info *compute_grid;
+
         /* Bit mask for supported PIPE_DRAW for this hardware */
         unsigned draw_modes;