From 7384ea7978a72dc8eb9e674390f15e2e73cbb506 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 1 Feb 2023 13:40:13 -0800 Subject: [PATCH] nir/tests: Don't unconditionally log shaders from this one CF test All of the other tests only log the shader when validation fails, so having that shader scroll by in the output is very distracting. Reviewed-by: Caio Oliveira Part-of: --- src/compiler/nir/tests/control_flow_tests.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/compiler/nir/tests/control_flow_tests.cpp b/src/compiler/nir/tests/control_flow_tests.cpp index 1b09dc5a665..aad4566eb6d 100644 --- a/src/compiler/nir/tests/control_flow_tests.cpp +++ b/src/compiler/nir/tests/control_flow_tests.cpp @@ -104,13 +104,9 @@ TEST_F(nir_cf_test, delete_break_in_loop) EXPECT_TRUE(_mesa_set_search(block_2->predecessors, block_1)); EXPECT_TRUE(_mesa_set_search(block_3->predecessors, block_2)); - nir_print_shader(b.shader, stderr); - /* Now remove the break. */ nir_instr_remove(&jump->instr); - nir_print_shader(b.shader, stderr); - /* At this point, we should have: * * impl main {