From 4287bb761e5198fe57aa5463c95bdef6f91c8a82 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Mon, 1 Dec 2025 10:31:46 -0800 Subject: [PATCH] nir/shader_bisect: Fix C code printing after review feedback changes. When I added in the printed-shader and env var value both being tracked in shaders[], it broke the C printing. Part-of: --- src/compiler/nir/nir_shader_bisect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/nir/nir_shader_bisect.py b/src/compiler/nir/nir_shader_bisect.py index 013b6745785..a2b1cc49abd 100755 --- a/src/compiler/nir/nir_shader_bisect.py +++ b/src/compiler/nir/nir_shader_bisect.py @@ -68,7 +68,7 @@ def bisect(args): for shader in bad: print(f"Bisected to source_blake3 {shader}") print( - f"You can now replace nir_shader_bisect_select() with _mesa_printed_blake3_equal(s->info.source_blake3, (uint32_t[]){shader})") + f"You can now replace nir_shader_bisect_select() with _mesa_printed_blake3_equal(s->info.source_blake3, (uint32_t[]){shader[0]})") exit(0) else: num = len(bad)