From b31c9831fa41ad89d4f9d90d159eff46a0a8506d Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Tue, 10 Sep 2024 22:25:40 +0200 Subject: [PATCH] vkd3d-shader/ir: Print results as signed numbers. --- libs/vkd3d-shader/ir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/vkd3d-shader/ir.c b/libs/vkd3d-shader/ir.c index 38011308..6cef85fd 100644 --- a/libs/vkd3d-shader/ir.c +++ b/libs/vkd3d-shader/ir.c @@ -6635,14 +6635,14 @@ static void vsir_transform_( if ((ctx->result = step(ctx->program, ctx)) < 0) { - WARN("Transformation \"%s\" failed with result %u.\n", step_name, ctx->result); + WARN("Transformation \"%s\" failed with result %d.\n", step_name, ctx->result); return; } if ((ctx->result = vsir_program_validate(ctx->program, ctx->config_flags, ctx->compile_info->source_name, ctx->message_context)) < 0) { - WARN("Validation failed with result %u after transformation \"%s\".\n", ctx->result, step_name); + WARN("Validation failed with result %d after transformation \"%s\".\n", ctx->result, step_name); return; } }