+static void vkd3d_test_printf(int line, const char *msg) +{ + printf("%s:%d%s: %s", vkd3d_test_name, line, vkd3d_test_state.context, msg); +}
I suppose this matches both Wine and the existing code, but do we really need signed line numbers?
I don't think there's any reason to, no. I just kept the existing code, but I'll go ahead and add an extra patch to make those unsigned.