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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38760>
This commit is contained in:
Emma Anholt 2025-12-01 10:31:46 -08:00 committed by Marge Bot
parent fd6489c026
commit 4287bb761e

View file

@ -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)