spirv: Output spirv2nir tool result to stdout

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22180>
This commit is contained in:
Caio Oliveira 2023-03-28 18:28:06 -07:00 committed by Marge Bot
parent a71f79fb45
commit 6e3207a191

View file

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