diff options
author | Rob Clark <[email protected]> | 2016-07-19 13:22:01 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-07-30 09:23:42 -0400 |
commit | 9f0eb6952790bffe2670f26d399f15acec199cac (patch) | |
tree | 5f432f9e957c065bd9a27f615ac286583afd2e9b /src/gallium/drivers/freedreno/freedreno_state.c | |
parent | e6bfe1c7734cfbf41a763797527db6cb49fa1566 (diff) |
freedreno: drop needs_rb_fbd
We need to emit RB_FRAME_BUFFER_DIMENSION once per batch.. tracking this
in fd_context is wrong when the gmem code executes asynchronously from
the flush_queue worker. But in fact we don't really need to track it at
all. We cannot assume previous value at the beginning of the batch
(because of other processes potentially using the GPU), so just drop the
tracking and emit it in _tile_init().
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_state.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_state.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_state.c b/src/gallium/drivers/freedreno/freedreno_state.c index 6dad07515a1..8c9040545c2 100644 --- a/src/gallium/drivers/freedreno/freedreno_state.c +++ b/src/gallium/drivers/freedreno/freedreno_state.c @@ -150,10 +150,6 @@ fd_set_framebuffer_state(struct pipe_context *pctx, cso = &ctx->batch->framebuffer; - if ((cso->width != framebuffer->width) || - (cso->height != framebuffer->height)) - ctx->needs_rb_fbd = true; - util_copy_framebuffer_state(cso, framebuffer); ctx->dirty |= FD_DIRTY_FRAMEBUFFER; |