aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_gmem.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2013-12-27 10:31:22 -0500
committerRob Clark <[email protected]>2014-01-08 16:30:18 -0500
commitbfb44c24bc1eff850d47984b2cb60c957ffc143d (patch)
tree4b2a8c073162a0e3b84dc0fff8d92a0d56892d46 /src/gallium/drivers/freedreno/freedreno_gmem.h
parent42c5e2a2ed1888d67d89de5b48749a8228a8f167 (diff)
freedreno: be more clever about gmem usage
Only need to leave room for depth/stencil if it is actually used, etc. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_gmem.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_gmem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.h b/src/gallium/drivers/freedreno/freedreno_gmem.h
index 1082d542a91..b52557c952b 100644
--- a/src/gallium/drivers/freedreno/freedreno_gmem.h
+++ b/src/gallium/drivers/freedreno/freedreno_gmem.h
@@ -51,6 +51,7 @@ struct fd_gmem_stateobj {
uint16_t bin_h, nbins_y;
uint16_t bin_w, nbins_x;
uint16_t width, height;
+ bool has_zs; /* gmem config using depth/stencil? */
};
void fd_gmem_render_tiles(struct pipe_context *pctx);