fix Windows D3D12 build with shared debug cvars

This commit is contained in:
mchughalex 2026-06-06 15:13:51 +01:00
parent 243c8e59ef
commit 97ab3e107d
2 changed files with 26 additions and 26 deletions

View file

@ -80,6 +80,32 @@ REXCVAR_DEFINE_INT32(resolution_scale, 2, "GPU",
.range(1, 8)
.lifecycle(rex::cvar::Lifecycle::kRequiresRestart);
REXCVAR_DEFINE_INT32(vulkan_debug_log_frame_summaries_remaining, 0, "GPU/Vulkan",
"Track Vulkan per-frame draw summaries for this many frames")
.range(0, 36000)
.lifecycle(rex::cvar::Lifecycle::kHotReload)
.debug_only();
REXCVAR_DEFINE_INT32(vulkan_debug_frame_summary_interval_frames, 30, "GPU/Vulkan",
"Frame interval for Vulkan debug frame summary logging")
.range(1, 600)
.lifecycle(rex::cvar::Lifecycle::kHotReload)
.debug_only();
REXCVAR_DEFINE_INT32(vulkan_debug_log_team_profile_background_candidates_remaining, 0,
"GPU/Vulkan",
"Log texture lifecycle events matching team_profile_background_0.rx2")
.range(0, 10000)
.lifecycle(rex::cvar::Lifecycle::kHotReload)
.debug_only();
REXCVAR_DEFINE_INT32(vulkan_debug_log_team_profile_background_bindings_remaining, 0,
"GPU/Vulkan",
"Log texture binding events matching team_profile_background_0.rx2")
.range(0, 10000)
.lifecycle(rex::cvar::Lifecycle::kHotReload)
.debug_only();
REXCVAR_DEFINE_BOOL(pre_mask_resolve_l2_block, true, "GPU",
"Pre-mask scaled resolve L2 blocks to the write range before iterating");

View file

@ -73,18 +73,6 @@ REXCVAR_DEFINE_INT32(vulkan_async_placeholder_max_consecutive_skips, 120, "GPU/V
.range(0, 3600)
.lifecycle(rex::cvar::Lifecycle::kHotReload);
REXCVAR_DEFINE_INT32(vulkan_debug_log_frame_summaries_remaining, 0, "GPU/Vulkan",
"Track Vulkan per-frame draw summaries for this many frames")
.range(0, 36000)
.lifecycle(rex::cvar::Lifecycle::kHotReload)
.debug_only();
REXCVAR_DEFINE_INT32(vulkan_debug_frame_summary_interval_frames, 30, "GPU/Vulkan",
"Frame interval for Vulkan debug frame summary logging")
.range(1, 600)
.lifecycle(rex::cvar::Lifecycle::kHotReload)
.debug_only();
REXCVAR_DEFINE_INT32(vulkan_debug_log_resolve_decisions_remaining, 0, "GPU/Vulkan",
"Log Vulkan render-target resolve/readback decisions for this many copy "
"commands")
@ -92,20 +80,6 @@ REXCVAR_DEFINE_INT32(vulkan_debug_log_resolve_decisions_remaining, 0, "GPU/Vulka
.lifecycle(rex::cvar::Lifecycle::kHotReload)
.debug_only();
REXCVAR_DEFINE_INT32(vulkan_debug_log_team_profile_background_candidates_remaining, 0,
"GPU/Vulkan",
"Log texture lifecycle events matching team_profile_background_0.rx2")
.range(0, 10000)
.lifecycle(rex::cvar::Lifecycle::kHotReload)
.debug_only();
REXCVAR_DEFINE_INT32(vulkan_debug_log_team_profile_background_bindings_remaining, 0,
"GPU/Vulkan",
"Log texture binding events matching team_profile_background_0.rx2")
.range(0, 10000)
.lifecycle(rex::cvar::Lifecycle::kHotReload)
.debug_only();
REXCVAR_DEFINE_INT32(vulkan_debug_log_team_profile_background_draws_remaining, 0,
"GPU/Vulkan",
"Log draws sampling the exact team_profile_background_0.rx2 texture")