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 <robdclark@gmail.com>
return;
}
- batch = fd_batch_create(ctx, true);
+ batch = fd_bc_alloc_batch(&ctx->screen->batch_cache, ctx, true);
fd5_emit_restore(batch, batch->draw);
fd5_emit_lrz_flush(batch->draw);
*/
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);
}