summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_gmem.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-03-29 20:54:42 -0400
committerIlia Mirkin <[email protected]>2015-04-02 00:09:14 -0400
commitd9992ab35a51c574dcfa8049859c0887956ecdf6 (patch)
tree537f89e1e1da4e99679c8b80a1f2d34cae524ef0 /src/gallium/drivers/freedreno/freedreno_gmem.h
parent602bc6c88dbfa34083aa9d229fb6396b008e23eb (diff)
freedreno: add support for laying out MRTs in gmem
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_gmem.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_gmem.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.h b/src/gallium/drivers/freedreno/freedreno_gmem.h
index ff322df3c2f..81f9b6abe98 100644
--- a/src/gallium/drivers/freedreno/freedreno_gmem.h
+++ b/src/gallium/drivers/freedreno/freedreno_gmem.h
@@ -47,12 +47,14 @@ struct fd_tile {
struct fd_gmem_stateobj {
struct pipe_scissor_state scissor;
- uint cpp;
+ uint32_t cbuf_base[4];
+ uint32_t zsbuf_base;
+ uint8_t cbuf_cpp[4];
+ uint8_t zsbuf_cpp;
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? */
};
struct fd_context;