From 6e3207a191e0ca77dac8804215804409bb96117f Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Tue, 28 Mar 2023 18:28:06 -0700 Subject: [PATCH] spirv: Output spirv2nir tool result to stdout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Tapani Pälli Part-of: --- src/compiler/spirv/spirv2nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/spirv/spirv2nir.c b/src/compiler/spirv/spirv2nir.c index 2a9a47bd4ab..151baffae3a 100644 --- a/src/compiler/spirv/spirv2nir.c +++ b/src/compiler/spirv/spirv2nir.c @@ -175,7 +175,7 @@ int main(int argc, char **argv) &spirv_opts, NULL); if (nir) - nir_print_shader(nir, stderr); + nir_print_shader(nir, stdout); else fprintf(stderr, "SPIRV to NIR compilation failed\n");