DEBUG18 show D3DX assembler message
This commit is contained in:
+5
-14
@@ -173,26 +173,17 @@ 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} 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}",
|
||||
"OutlineDBG shst={d} rtst={d} sha={x} err={s} hooks={d}{d}{d} tgt={d} mdl={d} odip={d} cache={d} pipe={d}/{d}",
|
||||
.{
|
||||
@intFromBool(rehook_ok),
|
||||
@intFromBool(live.vtable_found),
|
||||
@intFromBool(live.same_vtable),
|
||||
@intFromBool(live.endscene_ours),
|
||||
@intFromBool(live.dip_ours),
|
||||
@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),
|
||||
@intFromBool(tracker.debug_pin_target_consumed_seen),
|
||||
std.mem.sliceTo(&d3d9_hook.debug_shader_error_text, 0),
|
||||
@intFromBool(live.endscene_ours),
|
||||
@intFromBool(live.dip_ours),
|
||||
@intFromBool(live.reset_ours),
|
||||
@intFromBool(tracker.debug_target_seen),
|
||||
@intFromBool(tracker.debug_target_model_seen),
|
||||
@intFromBool(d3d9_hook.debug_dip_seen),
|
||||
@intFromBool(d3d9_hook.debug_outline_dip_seen),
|
||||
@intFromBool(d3d9_hook.debug_cached_draw_seen),
|
||||
@intFromBool(d3d9_hook.debug_pipeline_entered_seen),
|
||||
|
||||
Reference in New Issue
Block a user