diff options
author | Hyunjun Ko <[email protected]> | 2018-10-24 10:57:15 +0900 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-10-25 18:46:19 -0400 |
commit | 3d198926a487cefc0316c2c4d1ebb20ff8ebf535 (patch) | |
tree | 77af01eb0791485f76771072113f3e731b093f4e /src/gallium/drivers/freedreno/freedreno_batch.c | |
parent | 703271c22a9b3ac85e9aef38be288e4ce9ba5e3a (diff) |
freedreno: use fd_bc_alloc_batch instead of fd_batch_create.
Following the commit 2385d7b066 and 8e798e28f7, for resource dependancy
tracking.
Fixes: dEQP-GLES31.functional.image_load_store.early_fragment_tests.no_early_fragment_tests_depth_fbo
with FD_MESA_DEBUG=inorder
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_batch.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_batch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_batch.c b/src/gallium/drivers/freedreno/freedreno_batch.c index ff42d6c138c..a46fbecf2d7 100644 --- a/src/gallium/drivers/freedreno/freedreno_batch.c +++ b/src/gallium/drivers/freedreno/freedreno_batch.c @@ -358,7 +358,7 @@ fd_batch_flush(struct fd_batch *batch, bool sync, bool force) */ new_batch = NULL; } else { - new_batch = fd_batch_create(ctx, false); + new_batch = fd_bc_alloc_batch(&ctx->screen->batch_cache, ctx, false); util_copy_framebuffer_state(&new_batch->framebuffer, &batch->framebuffer); } |