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
@@ -929,7 +929,7 @@ extern "system" fn copy_texture_region(
|
||||
static COUNT: std::sync::atomic::AtomicU64 = std::sync::atomic::AtomicU64::new(0);
|
||||
let n = COUNT.fetch_add(1, std::sync::atomic::Ordering::Relaxed) + 1;
|
||||
let made = read_back(list, dst, x, y, z, src, source_box);
|
||||
if n <= 16 || n % 4096 == 0 || made.is_err() {
|
||||
if n <= 16 || n.is_multiple_of(4096) || made.is_err() {
|
||||
static REFUSED: std::sync::atomic::AtomicU64 = std::sync::atomic::AtomicU64::new(0);
|
||||
if made.is_err() && REFUSED.fetch_add(1, std::sync::atomic::Ordering::Relaxed) >= 16 {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user