Shader forms: sizes of views nothing reads, ordered sections, wave sums off the beaten path, counters
- An image or structured buffer whose descriptor is read for its size alone (the puddle passes, a water simulation step). - The record count of a structured buffer is asked of the raw view the host makes of it: as a structured view's it was in bytes on AMD. - Primitive-ordered pixel shading becomes rasterizer ordered views (the hair cards' layers). - A 16-bit wave sum where not every lane runs, on 64-lane waves, bit for bit as the console's tree. - "Some lane is left" of a mask operation as a number; scalars parked in a VGPR used before; a one-channel store into a counter texture (the upscaler). - translate --list prints a hash of every emitted module. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
eb50022824
commit
5686c41b47
10 files changed
+941
-31
No files matched your search
@@ -598,6 +598,12 @@ fn check(
|
||||
if let Some(keep) = &checks.keep {
|
||||
lock(keep).push((label(), shader.clone()));
|
||||
}
|
||||
// With `--list`: a hash of the module and of what the host binds for it,
|
||||
// to show which shaders a change to the translator touches.
|
||||
if t.list {
|
||||
let hash = blake3::hash(format!("{shader:?}").as_bytes()).to_hex();
|
||||
t.lines.push(format!("{} emitted {}", label(), &hash[..16]));
|
||||
}
|
||||
// `VICTORY_EMIT_DUMP` with `--list`: every emitted shader as a file.
|
||||
if t.list
|
||||
&& let Ok(dir) = std::env::var("VICTORY_EMIT_DUMP")
|
||||
|
||||
Reference in new issue
Block a user