Merge day/light
This commit is contained in:
commit
a02177b7d0
11 files changed
+854
-13
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user