Merge day/light

This commit is contained in:
local committed 2026-11-25 12:55:58 -06:00
commit a02177b7d0
11 files changed
+854 -13

No files matched your search

+8
View File
@@ -182,6 +182,14 @@ pub fn group_sync() -> u8 {
})
}
/// Whether buffer atomics of the ray-tracing structure builder stand between
/// two fences (`VICTORY_BVH_FENCES=0`: they do not). Part of the
/// translation: the shader cache keys on it.
pub fn builder_fences() -> bool {
static ON: std::sync::OnceLock<bool> = std::sync::OnceLock::new();
*ON.get_or_init(|| std::env::var_os("VICTORY_BVH_FENCES").is_none_or(|v| v != "0"))
}
/// The clean-up passes that run over a translated program before it is
/// written (`bitcode::opt`): a set of that module's pass bits. Every pass
/// is exact, so the switch is for telling a translator fault from a