From 644bc4ed5edd4e3ffa88750bdacb147c75df9546 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Mon, 30 Mar 2026 15:54:10 +1100 Subject: Fix AL2 via VK_NV_low_latency2's async implementation, fix race in TimestampPool --- src/layer_context.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/layer_context.cc') diff --git a/src/layer_context.cc b/src/layer_context.cc index 4699202..4399338 100644 --- a/src/layer_context.cc +++ b/src/layer_context.cc @@ -4,15 +4,14 @@ #include namespace low_latency { - + LayerContext::LayerContext() { const auto parse_bool_env = [](const auto& name) -> bool { const auto env = std::getenv(name); return env && std::string_view{env} == "1"; }; - - this->is_antilag_1_enabled = parse_bool_env(SLEEP_AFTER_PRESENT_ENV); - this->should_spoof_nvidia = parse_bool_env(SPOOF_NVIDIA_ENV); + + this->should_expose_reflex = parse_bool_env(EXPOSE_REFLEX_ENV); } LayerContext::~LayerContext() {} -- cgit v1.2.3