From 361396c86682eec03a067141a3dafd4629b36a45 Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Mon, 7 Sep 2020 17:32:15 +1200 Subject: [PATCH] panfrost: Remove old comment on broken depth reload Depth reload works now, so now the optimisation is just for performance and isn't a workaround any more. Reviewed-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_resource.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_resource.c b/src/gallium/drivers/panfrost/pan_resource.c index 046a452cb04..cb2e30ccf2c 100644 --- a/src/gallium/drivers/panfrost/pan_resource.c +++ b/src/gallium/drivers/panfrost/pan_resource.c @@ -840,8 +840,7 @@ panfrost_transfer_map(struct pipe_context *pctx, /* When a resource to be modified is already being used by a * pending batch, it is often faster to copy the whole BO than - * to flush and split the frame in two. This also mostly - * mitigates broken depth reload. + * to flush and split the frame in two. */ panfrost_flush_batches_accessing_bo(ctx, bo, false);