Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
0192a5e
feat: record the compute root signature and descriptor tables (slots …
tedin7 Nov 24, 2026
682b0e0
feat: record compute descriptor tables (slot 35) and clear them on a …
tedin7 Nov 25, 2026
bb6b9a1
merge: keep the main-based compute root rework over the first draft
tedin7 Nov 25, 2026
033f40c
startup: record SetComputeRoot32BitConstant(s) (list slots 37, 39)
tedin7 Nov 24, 2026
9c87260
merge: sync with origin/main (keep compute tables and compute root SR…
tedin7 Nov 25, 2026
d8cc1ac
feat: record command-list slot 14 Dispatch on the desktop list
tedin7 Nov 24, 2026
48635dd
startup: refuse Dispatch under a compute root with unforwarded argume…
tedin7 Nov 25, 2026
7307c2f
startup: gate Dispatch on bound compute root SRVs and a pipeline buil…
tedin7 Nov 25, 2026
cffe8ce
startup: record SetComputeRoot32BitConstant(s) (list slots 37, 39)
tedin7 Nov 24, 2026
e0966b9
feat: record command-list slot 14 Dispatch on the desktop list
tedin7 Nov 24, 2026
f3b91dd
startup: refuse Dispatch under a compute root with unforwarded argume…
tedin7 Nov 25, 2026
c18cacb
startup: gate Dispatch on bound compute root SRVs and a pipeline buil…
tedin7 Nov 25, 2026
24c5f55
fix: pass pipeline root out-param in slot86 mesh cached pipeline build
tedin7 Nov 25, 2026
8a4df52
Merge origin/main into x2w-frontier-slot14-dispatch
tedin7 Nov 25, 2026
be1bce6
Merge branch 'pr1803' into startup/compute-dispatch-translated
NiiRoZz Nov 25, 2026
9828b5d
fix: track which compute root constant words were set; drop slot 40 c…
tedin7 Nov 25, 2026
44f0a23
Merge branch 'pr1974' into startup/compute-dispatch-translated
NiiRoZz Nov 25, 2026
2e25282
Merge branch 'pr1975' into startup/compute-dispatch-translated
NiiRoZz Nov 25, 2026
1e567a0
Dispatch translated compute programs with raw table buffers
NiiRoZz Nov 25, 2026
aca6e89
Log untranslated compute dispatches on their own line budget
NiiRoZz Nov 25, 2026
8e14a74
Count compute dispatches per key with their first refusal
NiiRoZz Nov 25, 2026
f2f7bfc
Dispatch translated compute programs that store to 2D textures
NiiRoZz Nov 25, 2026
15e8b7a
Dispatch translated compute programs that read 2D textures
NiiRoZz Nov 25, 2026
509dc53
Check a compute manifest without entry values at Dispatch
NiiRoZz Nov 25, 2026
d3c396c
Document texture views and the census of translated compute Dispatch
NiiRoZz Nov 25, 2026
70b27f2
Check the device on every 64th translated Dispatch and drop a livenes…
NiiRoZz Nov 25, 2026
d0b9e77
Compute dispatch: allow two outputs of one texture, refuse packed out…
NiiRoZz Nov 25, 2026
6e64faa
Merge branch 'main' into startup/compute-dispatch-translated
tedin7 Nov 25, 2026
771b935
Merge origin/main into pr2470
NiiRoZz Nov 25, 2026
15cdaff
Merge pr2470 (origin/main) into pr2490
NiiRoZz Nov 25, 2026
b49c738
Merge remote-tracking branch 'fork/startup/compute-dispatch-translate…
NiiRoZz Nov 25, 2026
f67f80a
Merge branch 'pr2470' into pr2490
NiiRoZz Nov 25, 2026
f5c3c85
startup: compute input named by a resource heap record a root constan…
NiiRoZz Nov 25, 2026
b6bc3c3
startup: drop a heap record control whose branch target was inside an…
NiiRoZz Nov 25, 2026
5bade3c
Merge main into the heap record branch
NiiRoZz Nov 25, 2026
7bbd141
Merge remote-tracking branch 'origin/main' into startup/compute-dispa…
NiiRoZz Nov 25, 2026
fdba779
startup: read the stage kind as the other handlers do in the heap load
NiiRoZz Nov 25, 2026
d17d262
Merge the current slot 14 Dispatch head (8a4df523)
NiiRoZz Nov 25, 2026
a205217
Merge the current root-constant store head (9828b5d8); pin the entry-…
NiiRoZz Nov 25, 2026
c821b4b
startup: avoid calling the compute driver after process termination b…
RavenCurseBurg Nov 25, 2026
67f25a9
Merge the reworked dispatch branch; a compute list transitions a samp…
NiiRoZz Nov 25, 2026
1f5fb5e
Repair a broken line in the dispatch check
NiiRoZz Nov 25, 2026
7728caf
Merge branch 'pr2470' into pr2490
NiiRoZz Nov 25, 2026
76ce41b
Pin four existing texture dispatch refusals: integer view format, man…
NiiRoZz Nov 25, 2026
1efce19
Merge the reworked dispatch and texture branches
NiiRoZz Nov 25, 2026
ba79c8b
startup: bind a compute heap record whose index is a table buffer wor…
NiiRoZz Nov 25, 2026
b306d44
Merge remote-tracking branch 'origin/main' into HEAD
NiiRoZz Nov 25, 2026
5c248dc
docs: a compute heap record whose index is read from a table buffer
NiiRoZz Nov 25, 2026
62b5ccc
docs: state the measured first refusals and the heap-record ceiling e…
NiiRoZz Nov 25, 2026
f5b0303
Drop the repeated compute root reset left by merging two slot 14 snap…
NiiRoZz Nov 25, 2026
190e00a
Merge startup/compute-dispatch-translated (f5b03039) into startup/com…
NiiRoZz Nov 25, 2026
6d64c36
Merge branch 'startup/compute-dispatch-heap-rootconst' into startup/c…
NiiRoZz Nov 25, 2026
5955e40
startup: keep the descriptor load tag when checking the index word's …
NiiRoZz Nov 25, 2026
6c1960c
startup: read the pipe's modified set tolerantly in the heap index wo…
NiiRoZz Nov 25, 2026
5e185ab
Merge upstream main; use upstream's process-exit flag and DllMain
NiiRoZz Nov 25, 2026
63875b3
Merge commit '1991fd08a123604ae9c9ffb90de16d201214589a' into startup/…
NiiRoZz Nov 25, 2026
1991fd0
Merge commit '5e185ab7df261b7574e92eca77df063b69bb0ba5' into pr2490-fu
NiiRoZz Nov 25, 2026
356b805
Merge commit '63875b310533d5f872414130a3d4c2e839717d14' into startup/…
NiiRoZz Nov 25, 2026
8e393e1
Merge upstream main
NiiRoZz Nov 25, 2026
2221bd8
Merge upstream main
NiiRoZz Nov 25, 2026
9caf8fd
Merge remote-tracking branch 'origin/main' into startup/compute-dispa…
NiiRoZz Nov 25, 2026
9d74bec
Merge branch 'startup/compute-dispatch-translated' into startup/compu…
NiiRoZz Nov 25, 2026
d756657
Merge remote-tracking branch 'fork/startup/compute-dispatch-textures'…
NiiRoZz Nov 25, 2026
8c242e3
Merge branch 'startup/compute-dispatch-heap-rootconst' into startup/c…
NiiRoZz Nov 25, 2026
60304f3
Merge upstream main
NiiRoZz Nov 26, 2026
aa11b13
Merge commit '60304f30' into HEAD
NiiRoZz Nov 26, 2026
206749e
Merge upstream main
NiiRoZz Nov 26, 2026
d3fe030
Merge upstream main
NiiRoZz Nov 26, 2026
28c44d5
Merge upstream main
NiiRoZz Nov 26, 2026
c314f36
Merge upstream main
NiiRoZz Nov 26, 2026
e2b58be
merge: sync with origin/main (keep the heap index word change on top …
tedin7 Nov 26, 2026
f56592d
chore: merge main into startup/compute-dispatch-heap-bufindex
tedin7 Nov 26, 2026
7a39c5d
chore: merge main into startup/compute-dispatch-heap-bufindex
tedin7 Nov 26, 2026
9f97acc
Merge remote-tracking branch 'origin/main' into HEAD
tedin7 Nov 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
(["tests/startup_compute_image_store_d16_check.py", "--llvm-mc", "llvm-mc-15"], {}),
(["tests/startup_compute_readfirstlane_check.py", "--llvm-mc", "llvm-mc-15"], {}),
(["tests/startup_gfx2hlsl_heap_record_check.py", "--llvm-mc", "llvm-mc-15"], {}),
(["tests/startup_gfx2hlsl_heap_word_check.py", "--llvm-mc", "llvm-mc-15"], {}),
(["tests/startup_compute_gather_l_check.py", "--llvm-mc", "llvm-mc-15"], {}),
(["tests/startup_compute_buffer_atomics_check.py", "--llvm-mc", "llvm-mc-15"], {}),
(["tests/startup_compute_store_d16_x_check.py", "binary", "llvm-mc-15"], {}),
Expand Down Expand Up @@ -305,6 +306,7 @@ jobs:
tests/startup_gfx2hlsl_readfirstlane_recompute_check.py \
tests/startup_compute_readfirstlane_check.py \
tests/startup_gfx2hlsl_heap_record_check.py \
tests/startup_gfx2hlsl_heap_word_check.py \
tests/startup_gfx2hlsl_calculated_target_check.py \
tests/startup_triage_run_check.py \
tests/startup_run_ps1_check.py \
Expand Down
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ python3 -m venv out/pe-env
./out/pe-env/bin/python -B tests/startup_compute_image_store_d16_check.py
./out/pe-env/bin/python -B tests/startup_gfx2hlsl_heap_record_check.py
./out/pe-env/bin/python -B tests/startup_compute_store_format_xyzw_check.py
./out/pe-env/bin/python -B tests/startup_gfx2hlsl_heap_word_check.py
./out/pe-env/bin/python -B tests/startup_compute_translate_check.py
./out/pe-env/bin/python -B tests/startup_gfx2hlsl_swap_check.py
./out/pe-env/bin/python -B tests/startup_gfx2hlsl_s_abs_check.py
Expand Down
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3290,6 +3290,8 @@ if(EXISTS "${INTAKE_PYTHON}")
"${CMAKE_CURRENT_SOURCE_DIR}/tests/startup_compute_image_store_d16_check.py")
add_test(NAME startup_gfx2hlsl_heap_record COMMAND "${INTAKE_PYTHON}" -B
"${CMAKE_CURRENT_SOURCE_DIR}/tests/startup_gfx2hlsl_heap_record_check.py")
add_test(NAME startup_gfx2hlsl_heap_word COMMAND "${INTAKE_PYTHON}" -B
"${CMAKE_CURRENT_SOURCE_DIR}/tests/startup_gfx2hlsl_heap_word_check.py")
add_test(NAME startup_compute_readfirstlane COMMAND "${INTAKE_PYTHON}" -B
"${CMAKE_CURRENT_SOURCE_DIR}/tests/startup_compute_readfirstlane_check.py")
add_test(NAME startup_compute_gather_l COMMAND "${INTAKE_PYTHON}" -B
Expand Down Expand Up @@ -4457,11 +4459,15 @@ if(EXISTS "${INTAKE_PYTHON}")
add_test(NAME startup_compute_dispatch_heap_${adapter} COMMAND "${INTAKE_PYTHON}" -B
"${CMAKE_CURRENT_SOURCE_DIR}/tests/startup_compute_dispatch_heap_check.py" "$<TARGET_FILE:startup_stream_consumer>"
"${DXC_EXECUTABLE}" ${adapter})
add_test(NAME startup_compute_dispatch_heap_word_${adapter} COMMAND "${INTAKE_PYTHON}" -B
"${CMAKE_CURRENT_SOURCE_DIR}/tests/startup_compute_dispatch_heap_word_check.py" "$<TARGET_FILE:startup_stream_consumer>"
"${DXC_EXECUTABLE}" ${adapter})
add_test(NAME startup_compute_live_retry_${adapter} COMMAND "${INTAKE_PYTHON}" -B
"${CMAKE_CURRENT_SOURCE_DIR}/tests/startup_compute_live_retry_check.py" "$<TARGET_FILE:startup_stream_consumer>"
"${DXC_EXECUTABLE}" ${adapter})
set_tests_properties(startup_compute_dispatch_${adapter} startup_compute_dispatch_texture_${adapter}
startup_compute_dispatch_heap_${adapter} startup_compute_live_retry_${adapter}
startup_compute_dispatch_heap_${adapter} startup_compute_dispatch_heap_word_${adapter}
startup_compute_live_retry_${adapter}
PROPERTIES TIMEOUT 120 SKIP_RETURN_CODE 77)
endforeach()
add_test(NAME startup_stream_adapter_filter COMMAND "${INTAKE_PYTHON}" -B
Expand Down
15 changes: 14 additions & 1 deletion docs/experiments.md
Original file line number Diff line number Diff line change
Expand Up @@ -16654,7 +16654,7 @@ ctest --preset dev --no-tests=error -R "^startup_compute_dispatch_" -V

A compute root signature that indexes the resource heap directly (root flag 0x400) passes the heap pointer in one SGPR after the root parameters. `gfx2hlsl.py` lowers one form of a load through that pointer: `s_lshl_b32 R, <root constant word>, 5`, then, with no write of `R` and no branch target in between, `s_load_dwordx4 D, s[H:H+1], R` with a constant zero in `s[H+1]` and no `offset:` modifier. `D` is then a buffer descriptor, and the manifest names it `srv <i> buf heap rootconst <parameter> <word>`. Slot 32 now records the title memory of the list's view heap on every call; at Dispatch the stand-in reads the 16-byte descriptor at byte `word << 5` (32-bit arithmetic, as the program computes it) of that memory and binds the buffer through the path a `table` record takes. A record outside the heap refuses the dispatch (`a heap record is outside the list's view heap`) and binds nothing.

Every other form keeps a refusal that names it: another shift or index, an index register written again, a branch target between the shift and the load, a high word that is not a constant zero, an `offset:` modifier, eight dwords (an image record), and an index read from a buffer (`s_load of a resource heap record whose index is read from a buffer`). A formatted load or a store through such a record, and the graphics stages, are refused as before.
Every other form keeps a refusal that names it: another shift or index, an index register written again, a branch target between the shift and the load, a high word that is not a constant zero, an `offset:` modifier, eight dwords (an image record), and an index read from a buffer in any form other than the one below (`s_load of a resource heap record whose index is read from a buffer other than a table buffer at a dispatch-constant offset`). A formatted load or a store through such a record, and the graphics stages, are refused as before.

`tests/startup_gfx2hlsl_heap_record_check.py` compares the manifest and the HLSL of a source-built gfx1013 program whole, runs 19 refused controls and one translator mutation (without the write tracking, a refused control translates), and with `--llvm-mc` reassembles every instruction. `tests/startup_compute_dispatch_heap_check.py` dispatches that program through the stand-in's list on WARP and on a physical adapter (exit 77 without one): the input descriptor is only in heap record 2, records 0 and 1 hold the output's descriptor, and all 320 output words must match; before translation and for a record outside the heap every word keeps its sentinel. Changing the runtime's shift to 4, or ignoring the index, makes the dispatch test fail (`an output buffer is also an input`).

Expand Down Expand Up @@ -16686,6 +16686,19 @@ python -B tests/startup_compute_lds_dual_atomics_check.py binary llvm-mc-15

Not covered here: `llvm-mc-15` assembly step on Linux CI (`binary`), signed 32-bit (`ds_min_i32`/`ds_max_i32`), `ds_xor_b32`, `ds_sub_u32`/`ds_rsub_u32`, float LDS atomics, and 64-bit LDS dual/atomic forms.

#### A heap record index read from a table buffer

The index can also be a word of a table buffer. `gfx2hlsl.py` accepts `s_buffer_load_dword(xN)` from a table buffer descriptor that no instruction modified, at a literal byte offset or at `<root constant word> * k + c` built with `s_mul_i32`, `s_mulk_i32`, `s_add_u32`, `s_add_i32` or `s_addk_i32` and literals (plus any `offset:` modifier), dword-aligned, with no branch target between the arithmetic and the load or between the load and the shift. The manifest names the word as `srv <i> buf heap word table <parameter> <byte> at <offset> [rootconst <parameter> <word> times <k>]`. At Dispatch the stand-in reads the table record, computes the byte offset in 32-bit arithmetic, reads the index word from the buffer's memory and binds the heap record it names as above. The read is made at record time, so it is sound only when the GPU does not write the word: the stand-in reads it only when the buffer lies in the recording's upload memory (list slot 148), which no GPU command writes. A buffer elsewhere refuses the dispatch (`a heap index word is not in the list's upload memory`), and so does a word past the buffer's `stride * num_records` bytes (`a heap index word is outside its table buffer`). An index from a per-thread value, a group ID, another buffer word, a register sum or a modified descriptor keeps the refusal.

`tests/startup_gfx2hlsl_heap_word_check.py` compares the manifest and the HLSL of a source-built program whole, with six more accepted forms and ten refused controls, and with `--llvm-mc` reassembles every new instruction. `tests/startup_compute_dispatch_heap_word_check.py` dispatches it on WARP and on a physical adapter: only the word at `288 + 336 * <root constant>` names the input's record, every other word names an output record, and all 320 output words must match; a record outside the heap, a buffer that ends before the word and a buffer outside upload memory each refuse with one reason and leave every output word at its sentinel. Ignoring the scale, the byte offset or the read word, or dropping the upload or range check, makes the dispatch test fail; dropping the alignment, descriptor, register-offset or branch-target checks makes a translator control fail.

Measured on one synthetic program. That the title leaves the upload memory unchanged between recording and execution is a hypothesis, the same one the heap record read relies on, and which memory the real index buffers live in has not been measured. In a local set of 158 compute requests that hold such a load, 153 stopped first at the buffer-read index. All 153 change their first refusal and none translates fully yet: 145 now stop at a later instruction (82 at a per-lane `vcc` live at an `s_cbranch_execz` join, 24 at `v_fma_mix_f32`, 14 at `src_scc` in `s_mul_i32`, 25 at others), 6 at a buffer read in another form and 2 at an 8-dword record. 145 programs hold a heap load that now lowers, but 120 of the 158 still hold a refused heap-record load somewhere: 101 a buffer read in another form, 32 an offset that is not a root constant shifted by 5, 2 an 8-dword record (this counts every refusal site, including sites after an earlier refusal). Most of the buffer-form sites compute the offset or read the word before a branch target, which ends the marks because another path into the join may hold a different word; in about 97 programs an 8-dword (image) heap record would stay refused even past that.

```powershell
python -B tests/startup_gfx2hlsl_heap_word_check.py --llvm-mc llvm-mc-15
ctest --preset dev --no-tests=error -R "^startup_compute_dispatch_heap_word_" -V
```

## Startup translator: a short operand list is refused, never a translator crash

The batch translator records any non-`Unsupported` exception from a handler as
Expand Down
51 changes: 43 additions & 8 deletions src/startup_stubs/d3d12_compute_dispatch.inl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,15 @@

struct ComputeTranslation {
// Root parameter and byte offset (views), or parameter and word (entry values). A heap view names the root
// constant (parameter and word) that indexes its 32-byte record in the list's view heap.
struct Slot { int a, b; bool texture, heap; };
// constant (parameter and word) that indexes its 32-byte record in the list's view heap, or, with word_param
// set, the table buffer (word_param, word_byte) whose word at byte at + root constant (a, b) * times (a < 0:
// at alone) is the index.
struct Slot {
int a, b;
bool texture, heap;
int word_param = -1, word_byte = 0;
std::uint32_t at = 0, times = 0;
};
u64 key = 0;
int state = 0; // 0 not loaded, 1 ready, 2 unavailable
ULONGLONG retry_manifest_at = 0; // only an absent manifest can become ready later
Expand Down Expand Up @@ -81,7 +88,7 @@ const char* load_compute_translation(ComputeTranslation& tr)
continue;
}
unsigned i = 0, x = 0, y = 0, z = 0, w = 0;
int a = 0, b = 0, used = 0;
int a = 0, b = 0, c = 0, d = 0, used = 0;
const auto whole = [&] { return used == static_cast<int>(line.size()); };
if (line.empty() || (std::sscanf(line.c_str(), "group %u %u %u%n", &x, &y, &z, &used) == 3 && whole())) continue;
if (std::sscanf(line.c_str(), "ud %u%n", &declared_uds, &used) == 1 && whole()) continue;
Expand All @@ -92,6 +99,12 @@ const char* load_compute_translation(ComputeTranslation& tr)
else if (std::sscanf(line.c_str(), "srv %u buf heap rootconst %d %d%n", &i, &a, &b, &used) == 3 && whole() &&
i == tr.srvs.size())
tr.srvs.push_back({a, b, false, true});
else if (std::sscanf(line.c_str(), "srv %u buf heap word table %d %d at %u%n", &i, &a, &b, &x, &used) == 4 && whole() &&
i == tr.srvs.size())
tr.srvs.push_back({-1, 0, false, true, a, b, x});
else if (std::sscanf(line.c_str(), "srv %u buf heap word table %d %d at %u rootconst %d %d times %u%n", &i, &a, &b, &x,
&c, &d, &y, &used) == 7 && whole() && i == tr.srvs.size())
tr.srvs.push_back({c, d, false, true, a, b, x, y});
else if (std::sscanf(line.c_str(), "uav %u table %d %d%n", &i, &a, &b, &used) == 3 && whole() && i == tr.uavs.size())
tr.uavs.push_back({a, b});
else if (std::sscanf(line.c_str(), "uav %u tex2d float table %d %d channels 4%n", &i, &a, &b, &used) == 3 && whole() &&
Expand Down Expand Up @@ -174,12 +187,34 @@ bool dispatch_translated(Wrapper* self, UINT x, UINT y, UINT z)
for (std::size_t i = 0; i < count && !reason; ++i) {
const bool output = i >= inputs;
const ComputeTranslation::Slot slot = output ? tr->uavs[i - inputs] : tr->srvs[i];
// A heap record sits at the 32-bit byte offset the program computes, the root constant word shifted left by
// 5, in the title memory of the list's view heap: a literal byte offset, as a table's is.
const u64 entry = slot.a < 0 || slot.b < 0 ? 0
: slot.heap ? pass.title_view_heap.record(std::uint32_t{pass.compute_constants.word(slot.a, slot.b)} << 5, 16)
: pass.compute_tables.table(slot.a).record(static_cast<u64>(slot.b), slot.texture ? 32 : 16);
std::uint32_t index = slot.a < 0 || slot.b < 0 ? 0 : pass.compute_constants.word(slot.a, slot.b);
std::memset(words, 0, sizeof(words));
if (slot.word_param >= 0) {
// The index word is read now from the recording's upload memory, where the title wrote it (no GPU command
// writes there), at the dword-aligned 32-bit byte offset the program reads it at.
const u64 table_entry = pass.compute_tables.table(slot.word_param).record(static_cast<u64>(slot.word_byte), 16);
if (!table_entry || !x2w_local::readable(reinterpret_cast<const void*>(table_entry), 16)) {
reason = "a table descriptor is not bound";
break;
}
std::memcpy(words, reinterpret_cast<const void*>(table_entry), 16);
const std::uint32_t at = slot.at + index * slot.times;
const u64 address = words[0] | (u64{words[1] & 0xffff} << 32);
const UINT stride = (words[1] >> 16) & 0x3fff;
if (words[0] == view_token_magic || !list_upload_range(self, address + at, 4).resource) {
reason = "a heap index word is not in the list's upload memory";
break;
}
if (u64{at} + 4 > u64{stride ? stride : 1} * words[2]) {
reason = "a heap index word is outside its table buffer";
break;
}
std::memcpy(&index, reinterpret_cast<const void*>(address + at), 4);
}
// A heap record sits at the 32-bit byte offset the program computes, the index shifted left by 5, in the
// title memory of the list's view heap: a literal byte offset, as a table's is.
const u64 entry = slot.heap ? (slot.word_param >= 0 || slot.a >= 0 ? pass.title_view_heap.record(std::uint32_t{index << 5}, 16) : 0)
: slot.a < 0 || slot.b < 0 ? 0 : pass.compute_tables.table(slot.a).record(static_cast<u64>(slot.b), slot.texture ? 32 : 16);
const std::size_t entry_bytes = slot.texture ? 32 : 16;
if (!entry || !x2w_local::readable(reinterpret_cast<const void*>(entry), entry_bytes)) {
reason = slot.heap ? "a heap record is outside the list's view heap" : "a table descriptor is not bound";
Expand Down
Loading
Loading