freedreno/a5xx: add global size compute cap
[mesa.git] / src / gallium / drivers / freedreno / freedreno_gmem.h
index 38b557eb077bf7da46308663a42cfabcd5e8646c..f5276ce4481b6b7e96e0e40161b0b31e6e79f656 100644 (file)
@@ -57,13 +57,16 @@ struct fd_gmem_stateobj {
        uint16_t bin_w, nbins_x;
        uint16_t minx, miny;
        uint16_t width, height;
+       uint16_t maxpw, maxph;   /* maximum pipe width/height */
 };
 
-struct fd_context;
+struct fd_batch;
 
-void fd_gmem_render_tiles(struct fd_context *ctx);
+void fd_gmem_render_tiles(struct fd_batch *batch);
+void fd_gmem_render_noop(struct fd_batch *batch);
+void fd_gmem_flush_compute(struct fd_batch *batch);
 
-bool fd_gmem_needs_restore(struct fd_context *ctx, struct fd_tile *tile,
+bool fd_gmem_needs_restore(struct fd_batch *batch, struct fd_tile *tile,
                uint32_t buffers);
 
 #endif /* FREEDRENO_GMEM_H_ */