Structure builder and rays: dispatches counted in threads, empty slots never entered, pages that are not there never hit; vertex signatures as DXC orders them
From DexNom/VIctory (GPL-3.0-or-later) bc3cd4b0 and 5f4c3df4: - DispatchX's flag 0x20 says the counts are threads (bc3cd4b0). Taken for groups, a rehydration stage ran up to 64 times its threads and stored over the structures after its own. The lanes past the count leave at once, in every builder program of one dimension without a group barrier (there: in two, by digest). VICTORY_THREAD_DIMENSIONS=0: as before. - A child that is not there may have inverted infinite bounds: it was entered at minus infinity, came first and ended the walk (bc3cd4b0). - A node in a page without a copy reads zeros, a child and a box: no hit (bc3cd4b0). - Signature rows in the order of their names; vertex outputs interpolated as the title's PSV0 says; an unread input packed beside a per-vertex one is constant too (5f4c3df4), with their tests. Every shader is translated again. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
0769cc9dc8
commit
bc83b16387
11 files changed
+443
-44
No files matched your search
@@ -1435,16 +1435,15 @@ extern "system" fn driver_hint(_: This, _feature: u64, _value: u64) -> u64 {
|
||||
0
|
||||
}
|
||||
|
||||
/// `DispatchX(x, y, z, flags)`: a dispatch with console flags, which the
|
||||
/// host has no use for (the ray-tracing builder dispatches this way).
|
||||
extern "system" fn dispatch_x(this: This, x: u32, y: u32, z: u32, _flags: u32) {
|
||||
/// `DispatchX(x, y, z, flags)`: a dispatch with console flags, of which the
|
||||
/// host follows one: the counts are threads, not groups (`draw.rs`
|
||||
/// `THREAD_DIMENSIONS`; the ray-tracing structure builder dispatches this way).
|
||||
extern "system" fn dispatch_x(this: This, x: u32, y: u32, z: u32, flags: u32) {
|
||||
count_dispatch();
|
||||
#[cfg(windows)]
|
||||
state::dispatch(this, x, y, z);
|
||||
with_state(this, |list, s| s.dispatch(list, x, y, z, flags));
|
||||
#[cfg(not(windows))]
|
||||
{
|
||||
let _ = (this, x, y, z);
|
||||
count_dispatch();
|
||||
}
|
||||
let _ = (this, x, y, z, flags);
|
||||
}
|
||||
|
||||
/// `BeginQuery`/`EndQuery(heap, type, index)`: queries are answered when
|
||||
@@ -1756,7 +1755,7 @@ mod state {
|
||||
}
|
||||
pub(super) extern "system" fn dispatch(this: This, x: u32, y: u32, z: u32) {
|
||||
super::count_dispatch();
|
||||
with_state(this, |list, s| s.dispatch(list, x, y, z));
|
||||
with_state(this, |list, s| s.dispatch(list, x, y, z, 0));
|
||||
}
|
||||
/// `DispatchMesh(x, y, z)` (the PC method of List6); the title's mesh
|
||||
/// programs take `x` groups only.
|
||||
|
||||
Reference in new issue
Block a user