From 8418c90cd3db3a7cddf3429c2424948a874dfb4b Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Tue, 26 Jan 2021 12:39:56 +0000 Subject: [PATCH] check-vulkan: Temporarily print JSON details of GPUs to stderr When the corresponding code in SrtGraphics is ready, we can parse the JSON on stdout and produce machine-readable output from steam-runtime-system-info. However, until we have that, human-readable output is better than nothing. Signed-off-by: Simon McVittie <smcv@collabora.com> --- helpers/check-vulkan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/check-vulkan.c b/helpers/check-vulkan.c index e129a3324..da4145408 100644 --- a/helpers/check-vulkan.c +++ b/helpers/check-vulkan.c @@ -1370,10 +1370,10 @@ int main (int argc, goto out; for (i = 0; i < physical_device_count; i++) - print_physical_device_info (physical_devices[i], original_stdout); + print_physical_device_info (physical_devices[i], stderr); result = draw_test_triangle (vk_instance, physical_devices[0], error); - print_draw_test_result (0, result, local_error, original_stdout); + print_draw_test_result (0, result, local_error, stderr); if (result) ret = EXIT_SUCCESS; -- GitLab