freedreno/ir3: remove tgsi f/e
[mesa.git] / src / gallium / drivers / freedreno / freedreno_gmem.h
index c7c687419b4ad77d8288a17325684476ef342091..5867235db90c4f2265994c696fcf27df015269de 100644 (file)
@@ -47,14 +47,21 @@ struct fd_tile {
 
 struct fd_gmem_stateobj {
        struct pipe_scissor_state scissor;
-       uint cpp;
+       uint32_t cbuf_base[4];
+       uint32_t zsbuf_base[2];
+       uint8_t cbuf_cpp[4];
+       uint8_t zsbuf_cpp[2];
        uint16_t bin_h, nbins_y;
        uint16_t bin_w, nbins_x;
        uint16_t minx, miny;
        uint16_t width, height;
-       bool has_zs;  /* gmem config using depth/stencil? */
 };
 
-void fd_gmem_render_tiles(struct pipe_context *pctx);
+struct fd_context;
+
+void fd_gmem_render_tiles(struct fd_context *ctx);
+
+bool fd_gmem_needs_restore(struct fd_context *ctx, struct fd_tile *tile,
+               uint32_t buffers);
 
 #endif /* FREEDRENO_GMEM_H_ */