Skip to content

GPU: give table slots without a view a null descriptor of the kind the shader reads - #568

Closed
BastienRodz wants to merge 6 commits into
Marvisak:mainfrom
BastienRodz:gpu/typed-null-descriptors
Closed

BastienRodz wants to merge 6 commits into
Marvisak:mainfrom
BastienRodz:gpu/typed-null-descriptors

Conversation

@BastienRodz

@BastienRodz BastienRodz commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

For #508. Whether it ends that page fault still needs someone with the RDNA3 setup to check (see the end).

What

A host descriptor slot for which the title has no view we know is a null Texture2D SRV. Every host heap slot starts as one (HostHeap::fill_null), and fresh tables use one for empty entries (make_null). The translated shaders index the heap directly (SM 6.6), and each handle's annotation says what they expect. So a shader that writes such a slot as a UAV, or reads it as a buffer, uses a descriptor of the wrong type. That is undefined behavior. The dispatch in #508 has Uav s1+8: uav None and Uav s1+16: uav None in its table, and RDNA3 page-faults.

Now, where the title has no view, the host makes a null descriptor of the kind the shader annotates: SRV or UAV; typed, raw or structured buffer; or a texture of the right dimension. Writes are dropped and reads return zero.

How

  • victory-shader (emit/lower.rs):
    • handle() records, for each descriptor loaded from a table at a constant offset, the root parameter slot, the dword within the table and the resource properties it annotates the handle with. Both arms of a control-flow join are recorded.
    • If one slot is annotated as both SRV and UAV, the UAV annotation wins, deterministically.
    • Dynamically indexed loads are not recorded (shortcut:). Their empty slots keep the old null.
    • The list is exposed as HostShader::table_views.
  • Shader cache (shader_cache.rs): the new field is encoded. The magic goes to VSH2 and the converter version to 2, so old entries are rejected and translated again.
  • victory-gpu:
    • descriptor::host::null_desc_for_props maps an annotation to a null SRV, UAV or CBV description. Formats are R32_{FLOAT,UINT,SINT} by component type, raw buffers are R32_TYPELESS + RAW, structured buffers use the stride from the annotation, and textures get their dimension. Kinds without a valid null (MSAA UAVs, samplers) give None, and those slots keep the old null.
    • State::tables makes these nulls in three places:
      • empty entries of fresh tables (and when a view cannot be made);
      • mirrored title slots: HostHeap::mirror_for_draw remembers a typed null in the slot state, so a later real descriptor still replaces it;
      • annotated slots that no used-resource entry names (later elements of a range), but only when the title has no view there.
    • Fresh-table keys now include the annotations, and their size covers annotated slots.
  • A title view the host cannot make (an explicit Texture1D SRV with no resource, say) also takes the typed null a later draw annotates. Before, the null of the title's own dimension stayed, because the slot already counted as made (4b4d504, traced by @alladeen321123 on WARP).
  • Mirrored slots are rewritten in place, so a draw recorded earlier would read whatever kind a later draw writes. A draw that would change a mirrored typed null's kind is refused under the slot's lock, and its table is made afresh in dynamic slots instead. An unannotated draw, or a title copy or write of an empty record, leaves an existing typed null alone (cd6d559, b2a6bd2, raised by @SamuelReeder).
  • The null_view note recording that untyped null buffer views did not stop the world's low-address page faults (run w10) is kept, and now says that annotated slots get typed nulls.

Tested

Native Windows: the upstream CI's checks (clippy -D warnings with and without --all-features, then cargo test --workspace --locked) pass on GitHub's windows-latest at this head: https://github.com/BastienRodz/VIctory/actions/runs/45461216241

Linux x86_64, cross-built with cargo xwin for x86_64-pc-windows-msvc, run under Wine 11. GPU tests ran on vkd3d-proton 3.1 over Mesa lavapipe (VKD3D_FEATURE_LEVEL=12_0). No game data used: every test input is synthetic.

  • Plain Wine (no host device):
    • cargo xwin test -p victory-gpu: 52 passed, 0 failed, 1 ignored.
    • cargo xwin test -p victory-shader: 107 passed, 15 failed; main ffe310e gives 105 passed and the same 15 failed. They are emit::valu_tests::* and two emit::waterfall_tests::*, which need an SM 6.6 device. Rebased onto ffe310e. With the waterfall loops there, a per-lane load (resource::Waterfall) reads each lane's own entry, so it is not recorded as a table view (its offset is only the first lane's). The two table loads of an s_cselect choice are recorded, as a phi's are.
  • vkd3d-proton (host device): victory-gpu 51 passed and 1 failed, the environment failure a_rejected_blob_gives_an_empty_library that main has there too.
  • New tests:
    • table_views_record_srv_uav_structured_and_skip_dynamic: hand-assembled compute program; raw SRV, raw UAV and structured UAV recorded with their dwords, and a load with a dynamic soffset (from v_readfirstlane) not recorded.
    • table_views_prefer_uav_and_record_phi_arms: UAV wins in both orders; both arms of a branch are recorded.
    • null_desc_maps_buffer_and_texture_annotations: every buffer kind, every texture SRV and UAV dimension, the component-type formats, the CBV, and the unsupported kinds.
    • host_accepts_typed_null_descriptors_and_mirror_transitions (host-gated; ran on vkd3d-proton): the device takes every typed null. A mirrored slot goes from empty to typed null, then to another typed null, then to a real view once the title writes one. A slot past the heap is ignored. Device not removed.
    • Diagnostics (5bab0e2): each table line of the device-removed report ends with the shaders' annotation for that entry, or [not annotated].
  • shader_cache round-trip includes table_views, and VSH1 entries are rejected.
  • cargo clippy --workspace --all-targets --locked -- -D warnings, with and without --all-features (as the CI runs it): clean.
  • rustfmt: no new diffs in the changed code (the touched files keep the diffs they have on main). cargo xtask policy: 151 files ok.

Tested by others (thanks)

Not run

  • The title, and any hardware GPU. The run-w10 note says untyped null buffer views alone did not stop the world's low-address faults. This change is narrower (the kind the shader annotates, SRV or UAV), and it removes a type mismatch the hardware does not have to survive, but whether GPU: writing unbound UAVs removes the device on an RDNA3 iGPU #508's fault goes away is not proven. A diag run on the RDNA3 iGPU from GPU: writing unbound UAVs removes the device on an RDNA3 iGPU #508 with VICTORY_D3D12_DRED=1 would settle it: does the fault in 2dc602192abf6288 stop, or does it move?
  • Dynamically indexed descriptors, and slots no shader annotates, keep the old null 2D view.

AI-assisted: implemented with Gemini 4 Neon, then reviewed, corrected and tested with Claude Code. Corrections: annotated slots that have a view are no longer made outside readable; the dynamic-offset test was fixed; the run-w10 note is kept. Every command above was really run.

🤖 Generated with Claude Code

@Mesrine67

Mesrine67 commented Nov 24, 2026 •

Copy link
Copy Markdown

Local validation on Windows 11 with an AMD Radeon RX 6750 XT (driver 32.0.21045.29003), against PR head 0845e8d:

Focused tests:

  • cargo test --locked -p victory-shader table_views_ -- --nocapture --test-threads=1: 2 passed.
  • cargo test --locked -p victory-gpu null_desc_maps_buffer_and_texture_annotations -- --nocapture --test-threads=1: 1 passed.
  • cargo test --locked -p victory-gpu host_accepts_typed_null_descriptors_and_mirror_transitions -- --nocapture --test-threads=1: 1 passed on a created D3D12 device; the device-removed check passed in 0.15s. WARP and diagnostics environment flags were unset. A temporary local-only print confirmed the test did not return early for a missing device; I restored that instrumentation and the worktree is clean.

Full regression suites on the same head:

  • cargo test --locked -p victory-gpu --lib -- --test-threads=1: 45 passed, 1 ignored (benchmark), 0 failed.
  • cargo test --locked -p victory-shader --lib -- --test-threads=1: 71 passed, 0 failed.

Integration check:

  • cargo build --release --locked -p victory: passed.
  • Ran the resulting VIctory CLI with the title EXE as input but without --execute. It mapped the image, bound the title imports, reported 0 missing imports, and stopped at "not executing"; no title process started.
  • This is only a loader/preparation check. No title entry point/gameplay/rendering was executed.

The synthetic tests verify typed-null descriptor creation and mirror transitions on an RX 6750 XT. They do not establish that #508's page fault is fixed or that the title fault reported in #533 disappears. Full logs: E:\GTA_6\LOGS\VIctory_pr568_rx6750_tests_2026-11-24.log and E:\GTA_6\LOGS\VIctory_pr568_release_preflight_2026-11-24.log.

@KoLolX3

KoLolX3 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Check on Linux, not Windows: pass. Head 0845e8d58 merged onto main d2a4bae1f (clean merge).

  • Native tests of the seven crates that build on Linux (core, formats, game, loader, pe, pipeline, shader): PR 94 passed, 7 failed, main 92 passed, 7 failed.
  • Windows cross type-check of the whole workspace (cargo xwin check --workspace --target x86_64-pc-windows-msvc, covers victory-gpu, victory-hle and the app): PR ok, main ok.
  • Tests this PR adds: 4, of which 2 ran in the native run (the pass count rose by 2); the other 2 are in code this run does not execute (cfg(windows) modules, the victory-gpu and victory-hle crates, or ignored tests), and were not run.
  • rustfmt: unformatted hunks, PR 167, main 168.
  • Failing on main here as well (not this PR): 7 tests in victory-loader and victory-pe that parse their own test binary as a PE image, which is an ELF file on Linux.
  • Not run: victory-gpu / victory-hle tests and the game itself.

On: AMD Ryzen 7 5700, 62 GB RAM, Artix Linux 7.3.4-artix1-2, rustc 1.98.1 (the repo's pinned toolchain), cargo-xwin 0.24.1. No game data. Automated check only: the code itself was not reviewed.

@SAitken91

Copy link
Copy Markdown
Contributor

Tested on an RX 6950 XT (RDNA2), Windows 11, diag build with VICTORY_D3D12_DRED=1, Series X profile, entering the first mission. Base: d2a4bae plus my open shader PRs (#539 #554 #563 #565 #569 #571 #592); one run each.

time in world before device removal lists submitted uav None in report
without #568 ~3 s / ~4 s (two runs) 115 / 152 11 / 8
with #568 ~78 s 470 3

All runs end in a page fault in the same low range (0x4808000, 0x481f000, 0x480e000), "no title memory copy below it", with every breadcrumb complete. With #568 the last command is an indirect mesh draw (indirect kind 10, mesh 8c0c0024c3c557dc + pixel cb4f0bf6d720abbc) that reads a root SRV descriptor (Srv s3+0: Descriptor). The 3 remaining uav None entries may be the State::table_entry path mentioned on #508. Happy to run another build on this card.

@BastienRodz

BastienRodz commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

Thank you, that's the first in-game result for this PR: from 3–4 s to ~78 s in the world on RDNA2.

On the 3 remaining uav None: in the diagnostics report that text comes from describe() in draw.rs. It means the title did write an unordered view there, but its resource is not a host texture (typically a buffer UAV, which describe does not detail). It is not an empty slot. Empty slots show elsewhere in the same report, in the u<n>=... [heap N: ...] part (describe_slot):

So those three entries probably aren't untyped nulls left behind. State::table_entry (the mirrored-table path mentioned on #508) is covered here as well, through mirror_for_draw. The slots this PR leaves as the plain null are dynamically indexed descriptors and slots no shader annotates. If your next report still has [heap N: null] (without a parenthesis) on a table the faulting pipeline reads, that would point at one of those.

The new last command, an indirect mesh draw (8c0c0024c3c557dc + cb4f0bf6d720abbc) reading a root SRV (Srv s3+0: Descriptor) with the fault in the same low range and "no title memory copy below it", looks like a different problem: a root descriptor whose address has no host copy. It may be worth its own issue, with the root3=... host ... part of the report: host None there would say the root SRV points outside every title buffer we know.

AI-assisted (Claude Code).

@SAitken91

Copy link
Copy Markdown
Contributor

Thanks for the explanation. A correction and the data you asked about:

BastienRodz added a commit to BastienRodz/VIctory that referenced this pull request Nov 24, 2026
The device-removed report's table lines describe the title's view at each
entry; the u<n> part describes only the first host slot of a table, and
not the copy a table made afresh is read from. So a report could not tell
whether an empty entry got a typed null (Marvisak#568) or the plain null 2D view.
Each table line now ends with the shaders' annotation for that entry
([annotated <kind> <more>]) or [not annotated]: with no view, the first
means a null of that kind, the second the plain null.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BastienRodz

Copy link
Copy Markdown
Contributor Author

Thanks for the second run and the correction. Agreed: one run each can't tell anything apart, so the ~78 s says nothing on its own.

On the missing null (…): I'm afraid my pointer was wrong. [heap N: …] describes only the first slot of each table (u<n> divided by 32). It does not describe the entries the shader reads at other offsets (s1+8, s1+16, …), nor the copy a table made afresh is read from. Any table holding a constant buffer is made afresh, and #568 writes its typed nulls into that copy. So plain null there doesn't show whether the new path ran.

To make it visible, 5bab0e2 adds to the diagnostics report's table lines: each line now ends with the annotation the shaders give that entry, [annotated <kind> <more>], or [not annotated]. For an entry with no view:

  • no view [annotated 0x100b 0x0]: a null raw-buffer UAV was placed (0x100b is raw buffer 0xb with the UAV bit 0x1000);
  • no view [not annotated]: it got the plain null 2D view (dynamically indexed, or not read at a constant offset).

uav None (a view whose resource is not a host texture) keeps its view either way.

If you run it again (several runs, as you say), the table lines of the faulting dispatch or draw would show which case the empty entries are. Thanks also for checking root3: it has a host copy, so that idea is out.

AI-assisted (Claude Code).

BastienRodz added a commit to BastienRodz/VIctory that referenced this pull request Nov 24, 2026
The device-removed report's table lines describe the title's view at each
entry; the u<n> part describes only the first host slot of a table, and
not the copy a table made afresh is read from. So a report could not tell
whether an empty entry got a typed null (Marvisak#568) or the plain null 2D view.
Each table line now ends with the shaders' annotation for that entry
([annotated <kind> <more>]) or [not annotated]: with no view, the first
means a null of that kind, the second the plain null.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BastienRodz
BastienRodz force-pushed the gpu/typed-null-descriptors branch 2 times, most recently from 4d45bc9 to ad7b7ea Compare November 24, 2026 08:03
BastienRodz added a commit to BastienRodz/VIctory that referenced this pull request Nov 24, 2026
The device-removed report's table lines describe the title's view at each
entry; the u<n> part describes only the first host slot of a table, and
not the copy a table made afresh is read from. So a report could not tell
whether an empty entry got a typed null (Marvisak#568) or the plain null 2D view.
Each table line now ends with the shaders' annotation for that entry
([annotated <kind> <more>]) or [not annotated]: with no view, the first
means a null of that kind, the second the plain null.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BastienRodz added a commit to BastienRodz/VIctory that referenced this pull request Nov 24, 2026
The device-removed report's table lines describe the title's view at each
entry; the u<n> part describes only the first host slot of a table, and
not the copy a table made afresh is read from. So a report could not tell
whether an empty entry got a typed null (Marvisak#568) or the plain null 2D view.
Each table line now ends with the shaders' annotation for that entry
([annotated <kind> <more>]) or [not annotated]: with no view, the first
means a null of that kind, the second the plain null.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BastienRodz
BastienRodz force-pushed the gpu/typed-null-descriptors branch from ad7b7ea to 04feb6c Compare November 24, 2026 08:23
@zhien114514

Copy link
Copy Markdown

Thanks — tested on the RDNA3 iGPU setup you asked for. The page fault is gone; the device is no longer removed. Details below.

Setup

CPU / GPU Ryzen 7 H 255 with Radeon 780M (RDNA3 iGPU, 4,096 MB UMA carve-out)
RAM / commit 27.8 GB; page file raised to 16 GB (max 40 GB) → commit limit 31.1 → 43.8 GB
OS / driver Windows 11 Insider build 26340; AMD 32.0.13046.2004
Build your branch gpu/typed-null-descriptors @ ad7b7ea4, cargo build --profile diag -p victory --features diagnostics
Env VICTORY_SHADER_LOOP_LIMIT=1000, --console series-x

Baseline (main, same machine, same settings)

Dies at ~63 s into the world load:

ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists;
      no breadcrumbs (0x887A0004); device removed: … (0x887A0005)

Immediately before: 7.1 fps, 140.6 ms/frame, 492 draws/frame. No E_OUTOFMEMORY at all once the page file was raised.

With #568

main #568
device removed 1 (at 63 s) 0
ERROR lines 2 0
0x8007000E 0 0
survived 63 s 210 s (I stopped it, it had not failed)
world rendering no yes, 0.3–0.9 fps

Memory stayed at 12–17 GB private the whole time, so this is not the commit wall either.

What it looks like now

0.6 fps, 1699.8 ms/frame (790.3 preparing: copies 429.6 ms 79.0 MB,
      textures 34.2 ms 113.8 MB; 401.x on the GPU; …), N draws/frame

The frame time is dominated by the copy bridge and by shaders being translated on the fly — 341 pipelines were still "dropped without a host pipeline" during the run. GPU-side work is only ~300–450 ms.

Caveats

  • No D3D12 debug layer on this machine (0x887A002D), so no DRED and no breadcrumbs: I can show that the removal is gone, not that a specific named fault disappeared. Installing "Graphics Tools" failed here (Windows Update unreachable, DISM 12029 even through a proxy), so if you want a DRED run I'll do it once I can add the layer.
  • There are still shaders that do not translate at all on this title build, e.g.:
    WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped
         stage="compute" hash=fc5e66f8f873d3bb error=converter shader.dxil v2: GFX…
    
    Unrelated to GPU: writing unbound UAVs removes the device on an RDNA3 iGPU #508, but it is the next thing that eats draws on this machine.

Also confirmed (for #471)

Raising the page file from 1 GB/8 GB to 16 GB/40 GB removed the 0x8007000E cascade entirely (was 214 failures at ~9.6 GB private, now 0). #471's read of the problem holds.

Happy to run a DRED build on this adapter when the debug layer is available, and to re-run after your next revision.

@BastienRodz

Copy link
Copy Markdown
Contributor Author

Thank you, that's the setup this was for, and a clear before/after: on main the device is removed at ~63 s, with this PR it isn't removed at all over 210 s, and the world renders. I've added it to the description.

Two notes:

  • Variance: SAitken91's runs on RDNA2 showed how much timing can vary between runs of one build. If you get the chance, two or three more runs of each build would make this solid. A DRED run once the debug layer installs would also be welcome, to see whether a named fault remains anywhere.
  • The shader does not translate warning: converter shader.dxil v2 only names the shader cache's converter version (this PR bumps it to 2). The error after it is the translator refusing the program, which is unrelated to GPU: writing unbound UAVs removes the device on an RDNA3 iGPU #508, as you say.

AI-assisted (Claude Code).

@d1ll3x3

d1ll3x3 commented Nov 24, 2026

Copy link
Copy Markdown

checked: #568 on RDNA3 (you asked for one) | base: main@8e79c80 + #568 + #67, with either #609 or #431 | on: Windows 11, RX 7800 XT (RDNA3, 16 GB), 32 GB RAM, diag build, VICTORY_D3D12_DRED=1, Xbox Series 1.0.2.1

result: 4 runs into the first mission's intro cutscene (2 min 39 s to 11 min 39 s). None of the device removals pointed at a null or typed-null slot: every one was a page fault "inside freed" a texture (and once a title buffer), details on #609 and #431. #568 applies cleanly on #431; on #609 it has one conflict in describe_slot (diagnostics only). No regressions seen.

AI-assisted (Claude Code).

@BastienRodz

Copy link
Copy Markdown
Contributor Author

Thank you for the four runs. That's the result this PR needed on RDNA3: no device removal points at a null slot any more, and what's left is the freed-resource faults #609 and #431 deal with. Added to the description. On the describe_slot conflict with #609: whichever of the two lands second should keep both (#609's description, plus the null (kind, more) case for typed nulls). If #609 merges first, I'll rebase this on it.

AI-assisted (Claude Code).

BastienRodz and others added 3 commits November 24, 2026 09:58
…e shader reads

A descriptor slot the title never wrote a view we know into is a null
Texture2D SRV on the host: every host heap slot starts as one, and
fresh tables get one for an empty entry. The translated shaders index
the heap directly (SM 6.6), with the kind they expect in each handle's
annotation, so a shader that writes such a slot as a UAV, or reads it
as a buffer, uses a descriptor of the wrong type. That is undefined;
two UAV entries without a view.

The translator now records, for each descriptor it loads from a table
at a constant offset, the resource properties it annotates the handle
with (HostShader::table_views; UAV annotations win when one slot is
read both ways; dynamically indexed loads are not recorded). Where the
title has no view, the host makes a null descriptor of that kind: SRV
or UAV, typed, raw or structured buffer, or the texture dimension, so
writes are dropped and reads return zero. This covers fresh tables,
mirrored title slots (a later real descriptor still replaces the null)
and annotated slots past the used-resource entries. Slots no shader
annotates keep the null 2D view. The shader cache format is bumped
(VSH2, converter version 2) for the new field.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The device-removed report's table lines describe the title's view at each
entry; the u<n> part describes only the first host slot of a table, and
not the copy a table made afresh is read from. So a report could not tell
whether an empty entry got a typed null (Marvisak#568) or the plain null 2D view.
Each table line now ends with the shaders' annotation for that entry
([annotated <kind> <more>]) or [not annotated]: with no view, the first
means a null of that kind, the second the plain null.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…elect choices, the lanes argument of track)

Rebased onto main ffe310e: a waterfall loop's load reads each lane's own
entry, so its first-lane offset is not recorded as a table view; both
table loads of an s_cselect choice are recorded, as a phi's are; the
test helper passes the structure to resource::track, and the waterfall
test's HostShader gets its table_views.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BastienRodz

Copy link
Copy Markdown
Contributor Author

Closing: main has taken another route for the same faults. d71c388 guards buffer reads through slots holding texture views, and 683ad7a reads table constants in place, so tables no longer go through dynamic slots. That is the mechanism this PR's typed nulls and conflict handling relied on. Rebasing would mean rewriting most of it onto a design the maintainer has already replaced. Thanks to alladeen321123, SamuelReeder and the testers for the traces and reviews. If a typed-null case still shows up on current main (a UAV or a dimension mismatch the guard doesn't cover), I'll file it on its own.

geiyiliyabumo pushed a commit to geiyiliyabumo/VIctory that referenced this pull request Nov 24, 2026
…ator-fixes

Shaders: fix DXIL signature mismatches and prune oversized mesh outputs
ThatMaddLadd added a commit to ThatMaddLadd/VIctory that referenced this pull request Nov 25, 2026
ThatMaddLadd added a commit to ThatMaddLadd/VIctory that referenced this pull request Nov 25, 2026
…83ad7a)

Upstream closed Marvisak#568: main now guards buffer reads through slots holding
texture views and reads table constants in place, the faults Marvisak#568's typed
null slots were for. Marvisak#189's Wave64 options, which landed beside it, stay.
ThatMaddLadd added a commit to ThatMaddLadd/VIctory that referenced this pull request Nov 25, 2026
Upstream superseded Marvisak#635 and Marvisak#568 (reverted just before this merge); Marvisak#189,
Marvisak#334, Marvisak#437, Marvisak#542, Marvisak#587 and Marvisak#1529 are still open upstream and are kept.

Resolutions:
- emit::Options is upstream's struct with Marvisak#189's `wave64` added;
  TranslateOptions stays as its alias. lower::Parts carries both `options`
  and upstream's `view_marks`.
- Shader cache: upstream's cached refusals and hit flag, keyed by Marvisak#189's
  Wave64 mode byte as before.
- lower.rs: Marvisak#542's 2 GiB bound applies to raw and structured views; title
  memory (upstream's MEMORY path and root views read as memory) is not
  bounded again, being checked where it is looked up. Scalar loads take
  upstream's raw views plus Marvisak#437's UAVs. The descriptor-kind use keeps
  Marvisak#437's preference for image/vector uses inside upstream's fallback.
  image() is upstream's (its own a16 bias/compare, gather4_l and _cl
  grads), replacing Marvisak#437's parallel version.
- Marvisak#189: AddH (upstream's f16 wave sum) in apply_wave_op; 16-bit
  reductions are refused in an emulated 64-lane wave. mask_dword checks
  Marvisak#189's deferred ballot errors before upstream's mask_number.
- Marvisak#334: indirect arguments keep the per-list buffer states (no
  indirect::done); upstream's single-group clamp dispatch is taken, and
  its diagnostics readback copies from the read state without barriers.
- GPU adapter: upstream still creates its device on the default adapter,
  so host_adapter() stays. The shader test host keeps the high-performance
  adapter pick and adds upstream's dedicated-memory requirement.
- Marvisak#1529: gameinput.rs as the PR's own merge of main (scripted keys first,
  then keyboard and mouse); run.rs configures controls and FidelityFX.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants