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:
fxcelessandClaude Fable 5.2 committed 2026-11-24 13:48:06 -05:00
1 parent 6fa814fba5
commit af8f4c68bf
21 files changed
+2350 -62

No files matched your search

+2 -2
View File
@@ -1534,13 +1534,13 @@ fn buffer_view_ok(format: DXGI_FORMAT, first: u64, count: u32, stride: u32, raw:
let f = format.0 as u32;
let element = if raw {
// raw: R32 typeless, counted in dwords, starting on 16 bytes
if format != DXGI_FORMAT_R32_TYPELESS || stride != 0 || first % 4 != 0 {
if format != DXGI_FORMAT_R32_TYPELESS || stride != 0 || !first.is_multiple_of(4) {
return false;
}
4
} else if stride > 0 {
// structured: no format, a stride the host takes
if format != DXGI_FORMAT_UNKNOWN || stride > 2048 || stride % 4 != 0 {
if format != DXGI_FORMAT_UNKNOWN || stride > 2048 || !stride.is_multiple_of(4) {
return false;
}
u64::from(stride)