From 75e5d458a006838f5222eb1fac5852c31c71d97f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcin=20=C5=9Alusarz?= Date: Mon, 30 Jan 2023 17:18:04 +0100 Subject: [PATCH] anv: enable task redistribution Disabling is no longer needed after "intel/compiler/mesh: use slice id of task urb handles in mesh shaders". This reverts commit 4eaecd79657f0cd99f6536fd55a7a14958d6624b. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7141 Reviewed-by: Caio Oliveira Part-of: --- src/intel/vulkan/genX_pipeline.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 0594942..067bce0 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -1778,12 +1778,7 @@ emit_task_state(struct anv_graphics_pipeline *pipeline) redistrib.SmallTaskThreshold = 1; /* 2^N */ redistrib.TargetMeshBatchSize = devinfo->num_slices > 2 ? 3 : 5; /* 2^N */ redistrib.TaskRedistributionLevel = TASKREDISTRIB_BOM; - - /* TODO: We have an unknown issue with Task Payload when task redistribution - * is enabled. Disable it for now. - * See https://gitlab.freedesktop.org/mesa/mesa/-/issues/7141 - */ - redistrib.TaskRedistributionMode = TASKREDISTRIB_OFF; + redistrib.TaskRedistributionMode = TASKREDISTRIB_RR_STRICT; } } -- 2.7.4