From d37c6ff4edf9be7b74be1a75eff091d36f0e1df9 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 17 Oct 2025 10:51:03 +0300 Subject: [PATCH] brw: mark divergence data as valid for debug purposes Signed-off-by: Lionel Landwerlin Reviewed-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/brw/brw_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/compiler/brw/brw_nir.c b/src/intel/compiler/brw/brw_nir.c index 7c11c411dbe..92d39d1003b 100644 --- a/src/intel/compiler/brw/brw_nir.c +++ b/src/intel/compiler/brw/brw_nir.c @@ -2383,6 +2383,7 @@ brw_postprocess_nir_opts(nir_shader *nir, const struct brw_compiler *compiler, nir_foreach_function_impl(impl, nir) { nir_divergence_analysis_impl(impl, options); + impl->valid_metadata |= nir_metadata_divergence; } nir_shader_instructions_pass(nir,