From 1f1420ea53d9309e80f74535c54d7e6cacb29393 Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Fri, 28 Aug 2026 21:04:57 +0200 Subject: [PATCH] DEBUG17 expose D3D9 failure HRESULTs --- src/outline/outline.zig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/outline/outline.zig b/src/outline/outline.zig index a17c2b7..806d42a 100644 --- a/src/outline/outline.zig +++ b/src/outline/outline.zig @@ -173,7 +173,7 @@ pub fn outlineDebug(L: lua.State) callconv(.{ .x86_thiscall = .{} }) u32 { var buf: [336]u8 = undefined; const msg = std.fmt.bufPrintZ( &buf, - "OutlineDBG rh={d} live={d}/{d} hooks={d}{d}{d} shst={d} rtst={d} end={d} post={d} con={d}/{d} tgt={d} mdl={d} dip={d} odip={d} cache={d} pipe={d}/{d}", + "OutlineDBG rh={d} live={d}/{d} hooks={d}{d}{d} shst={d} rtst={d} sha={x} shc={x} tex={x} end={d} post={d} con={d}/{d} tgt={d} mdl={d} dip={d} odip={d} cache={d} pipe={d}/{d}", .{ @intFromBool(rehook_ok), @intFromBool(live.vtable_found), @@ -183,6 +183,9 @@ pub fn outlineDebug(L: lua.State) callconv(.{ .x86_thiscall = .{} }) u32 { @intFromBool(live.reset_ours), d3d9_hook.debug_shader_stage, d3d9_hook.debug_resource_stage, + @as(u32, @bitCast(d3d9_hook.debug_shader_assemble_hr)), + @as(u32, @bitCast(d3d9_hook.debug_shader_create_hr)), + @as(u32, @bitCast(d3d9_hook.debug_texture_create_hr)), @intFromBool(d3d9_hook.debug_endscene_seen), @intFromBool(tracker.debug_scan_after_publish_seen), @intFromBool(tracker.debug_pin_player_consumed_seen),