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
578d459c34
commit
6a2d9f99c9
21 files changed
+2350
-62
No files matched your search
@@ -653,7 +653,7 @@ impl Staging {
|
||||
const HASH_EVERY: u64 = 8;
|
||||
let unwritten = last.asked != 0 && written.iter().all(|&(_, w)| w <= last.asked);
|
||||
last.asked = now;
|
||||
let turn = crate::frame::current().wrapping_add((start >> 16) as u64) % HASH_EVERY == 0;
|
||||
let turn = crate::frame::current().wrapping_add((start >> 16) as u64).is_multiple_of(HASH_EVERY);
|
||||
if unwritten && !turn {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user