From 169e22f9620847740fc32cc11f5b6b1f709e4a95 Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Wed, 26 Feb 2025 11:06:18 -0800 Subject: [PATCH] intel/blorp: Drop clear color assignment prior to Xe2 This hasn't been used since the responsibility of clear color updates moved to the drivers. Reviewed-by: Rohan Garg Part-of: --- src/intel/blorp/blorp_clear.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c index 602a72d4918..cf51ff9c87f 100644 --- a/src/intel/blorp/blorp_clear.c +++ b/src/intel/blorp/blorp_clear.c @@ -519,12 +519,6 @@ blorp_fast_clear(struct blorp_batch *batch, else params.op = BLORP_OP_MCS_COLOR_CLEAR; - /* If a swizzle was provided, we need to swizzle the clear color so that - * the hardware color format conversion will work properly. - */ - params.dst.clear_color = - isl_color_value_swizzle_inv(params.dst.clear_color, swizzle); - batch->blorp->exec(batch, ¶ms); }