Shadow and trace programs translate, lint clean, ray-tracing write-up
- 59 of the 64 trace programs and the irradiance-cache shading program translate; 51 programs leave the approximate wave64 forms. - The workspace passes the lint with warnings as errors in both feature sets; a few style lints are let through in Cargo.toml for this fork. - README status updated (relay and in-place memory results); docs/fork-ray-tracing.md describes what the title does and what is built. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
1 parent
6fa814fba5
commit
af8f4c68bf
21 files changed
+2350
-62
No files matched your search
@@ -146,12 +146,12 @@ pub(crate) fn frame_drew(frame: u64, drawn: u64) {
|
||||
pub(crate) fn wanted(n: u64) -> bool {
|
||||
// Before the world, with `VICTORY_CAPTURE_WORLD`: every 16th frame too
|
||||
// (small pictures of menus, loading screens and title cards).
|
||||
let before_world = world_on() && n % 16 == 0 && WORLD.load(std::sync::atomic::Ordering::Relaxed) == u64::MAX;
|
||||
let before_world = world_on() && n.is_multiple_of(16) && WORLD.load(std::sync::atomic::Ordering::Relaxed) == u64::MAX;
|
||||
// In the world: every 8th frame's picture, a timeline of the opening
|
||||
// cutscene (its shots do not fall on the same frame numbers from run to
|
||||
// run, so single frames cannot be compared between runs).
|
||||
let first = WORLD.load(std::sync::atomic::Ordering::Relaxed);
|
||||
let in_world = world_on() && first != u64::MAX && n > first && (n - first) % 8 == 0;
|
||||
let in_world = world_on() && first != u64::MAX && n > first && (n - first).is_multiple_of(8);
|
||||
folder().is_some() && (n.is_power_of_two() || listed(n) || before_world || in_world)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user