DEBUG22 request and report stencil readiness
This commit is contained in:
@@ -168,17 +168,18 @@ pub fn outlineDebug(L: lua.State) callconv(.{ .x86_thiscall = .{} }) u32 {
|
||||
if (target_guid != 0) tracker.debug_unit_target_guid_seen = true;
|
||||
|
||||
_ = d3d9_hook.lateRehookIfLost();
|
||||
d3d9_hook.requestStencilCheck();
|
||||
const live = d3d9_hook.getLiveHookState();
|
||||
|
||||
var buf: [336]u8 = undefined;
|
||||
const msg = std.fmt.bufPrintZ(
|
||||
&buf,
|
||||
"OutlineDBG shst={d} rtst={d} sha={x} err={s} hooks={d}{d}{d} tgt={d} mdl={d} odip={d} cache={d} pipe={d}/{d}",
|
||||
"OutlineDBG st={d} fmt={x} rst={x} shst={d} hooks={d}{d}{d} tgt={d} mdl={d} odip={d} cache={d} pipe={d}/{d}",
|
||||
.{
|
||||
@intFromBool(d3d9_hook.debug_stencil_ready),
|
||||
d3d9_hook.debug_stencil_format,
|
||||
@as(u32, @bitCast(d3d9_hook.debug_stencil_reset_hr)),
|
||||
d3d9_hook.debug_shader_stage,
|
||||
d3d9_hook.debug_resource_stage,
|
||||
@as(u32, @bitCast(d3d9_hook.debug_shader_assemble_hr)),
|
||||
std.mem.sliceTo(&d3d9_hook.debug_shader_error_text, 0),
|
||||
@intFromBool(live.endscene_ours),
|
||||
@intFromBool(live.dip_ours),
|
||||
@intFromBool(live.reset_ours),
|
||||
|
||||
Reference in New Issue
Block a user