vkd3d-shader/ir: Print results as signed numbers.

This commit is contained in:
Giovanni Mascellani 2024-09-10 22:25:40 +02:00 committed by Henri Verbeet
parent 096f133b09
commit b31c9831fa
Notes: Henri Verbeet 2024-09-11 15:34:39 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1058

View File

@ -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;
}
}