Skip to content

SPIR-V: pin each program's subgroup size to its wave size (full subgroups) - #150

Draft
pablogonz12 wants to merge 270 commits into
spirv/on-mainfrom
spirv/subgroup-size
Draft

pablogonz12 wants to merge 270 commits into
spirv/on-mainfrom
spirv/subgroup-size

Conversation

@pablogonz12

Copy link
Copy Markdown
Owner

Draft, on top of #120 (the native SPIR-V emitter). Contract and rationale:
docs/spirv-subgroup-size.md.

The bug this closes

A console compute program reads other lanes of its own 32- or 64-lane wave: DPP
modifiers, v_readlane_b32 / v_writelane_b32, v_mbcnt_*, ds_swizzle_b32,
ds_permute_b32. The DXIL path carries the console's wave size into the host
shader (PSV wave size, from the ISA record's wave32 flag, and it narrows a
64-lane wave to 32 host lanes only where the cross-lane code stays inside
32-lane halves). The SPIR-V path carried nothing: RADV was free to run a 64-lane
program as 32-lane subgroups, and then SubgroupLocalInvocationId disagrees with
the console's lane by half a wave — silently, with the module still valid, so
spirv-val says nothing.

What changed

  • SpirvProgram { words, wave_size, local_size } comes out of the emitter
    (translate_spirv_program; translate_spirv still returns just the words).
    wave_size is the ISA record's wave32 flag, the same source the DXIL path
    takes its wave size from; local_size is the module's own LocalSize.
  • SpirvProgram::subgroup_plan() is the pipeline's side: the required subgroup
    size, whether full subgroups can be required, and the reason when they cannot.
    spirv-emit now writes a .meta per module and counts wave64/wave32/
    full-subgroup programs.
  • A program that reads other lanes of its wave declares GroupNonUniform and
    GroupNonUniformShuffle — what the DPP lowering below will emit.

The pipeline side

There is exactly one Vulkan compute pipeline creator in this tree and it is the
offline harness (xcl-bin/offline/vkpipe.c, local tooling, not committed); the
host path still creates D3D12 pipelines, so no Rust helper needed changing.
vkpipe --subgroup N now:

  1. checks the device first and refuses with a clear message
    (RESULT skip subgroup_unsupported: …) — subgroupSizeControl,
    requiredSubgroupSizeStages containing compute, and
    minSubgroupSize..maxSubgroupSize (32..64 on RADV RDNA4 here);
  2. chains VkPipelineShaderStageRequiredSubgroupSizeCreateInfo with
    requiredSubgroupSize = wave_size onto the stage, ALLOW_VARYING off;
  3. sets VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT when
    LocalSize.x % wave_size == 0, and otherwise prints the reason
    (full=0 why=local_size_x_not_a_multiple) instead of dropping the flag
    quietly — 138 of the 232 programs are in that state (console groups of 1, 2,
    4, 8, 16, 32 and 25 threads in x), 94 get full subgroups.

spirv-check.sh feeds each program's .meta wave size to vkpipe and runs the
lane test below before the dump.

The GPU test (real RADV, no game data)

xcl-bin/offline/subgroup-lane.c: a group that is exactly one wave, every
invocation writes SubgroupLocalInvocationId, LocalInvocationIndex and
SubgroupSize, pipeline pinned as above.

[wave64] RESULT ok: all 64 lanes line up, SubgroupSize=64
[wave32] RESULT ok: all 32 lanes line up, SubgroupSize=32

Negative control, the bug itself: --subgroup 32 --local-size 64 →
RESULT FAIL 32 of 64 lanes disagree (lanes 32..63 read ids 0..31).

Coverage (dump of 751 programs, 442 of them compute)

emitted=232 gap=519 wave64=181 wave32=51 full_subgroups=94
ok 464 (232 emit + 232 pipeline), 0 spirv-val failures, 0 pipeline failures

232/442 as before this branch: the pinning changes what the pipeline asks for,
not what the emitter can emit. DXIL path untouched: offline-check.sh 751/751
(compute 442, mesh 82, pixel 150, vertex 77).

Next: DPP row ops (left for a follow-up)

Now that the subgroup is the console's wave, a DPP row op is a shuffle inside one
16-lane row:

row_shl/row_shr/row_ror delta:  lane = row_base | ((lane + delta) & 15)
quad_perm p[0..3]:              lane = row_base_of_4 | perm[lane & 3]
row_bcast15 / row_bcast31:      lane = row_base | 15 (or 31), no wave crossing

i.e. one OpGroupNonUniformShuffle each, with SubgroupLocalInvocationId as the
lane, and no two-wave exchange for the row ops (only v_mbcnt, v_readlane,
v_writelane and ds_(b)permute still need it). The test name is in place,
ignored: dpp_row_ops_become_shuffles_within_16_lane_rows.

Flattening local_size to [product, 1, 1] would put the other 138 programs on
full subgroups, but it moves the lane the program computes from
LocalInvocationId, so that is a separate change too.

Checks

  • cargo test -p victory-shader — 195 passed (3 ignored, one of them the DPP TODO).
  • cargo xwin clippy --workspace --all-targets --target x86_64-pc-windows-msvc -- -D warnings
  • cargo xtask policy — 235 files ok.

Credit

Pinning the subgroup size to each program's wave size with
VK_EXT_subgroup_size_control and full subgroups was suggested by
u/General_Pool_3859 on r/vulkan
(thread); CREDITS.md has
the design-notes line, and the commits carry the Suggested-by trailer.

pablogonz12 and others added 30 commits November 25, 2026 19:48
…at counts it

pes7's change says the "title slot past the host heap" line once; what it
says is then a diagnostic nobody can ask for. `VICTORY_SLOT_DIAG` picks:
unset or `once` (the default) says it for the first slot past the heap,
`all` says it per slot as before, `0` or `off` says nothing.

The test counts the lines through a subscriber of its own rather than
reading the message: 250 000 slots past the host heap cost one line, three
in `all` cost three, `off` costs none, and every spelling of the switch's
value is parsed.

cargo xwin clippy --workspace --all-targets -- -D warnings; victory-gpu
under Wine: 157 passed, 1 ignored.
…ead allows it

A pixel or vertex program reads a lane mask as a number through the host
wave's ballot. The join fill took that ballot where it happened to be
filling, and cached it per mask, so a join inside a loop was balloted
after the loop where the ballot does not dominate the phi, and a second
edge reused a ballot taken for another read. Each edge now takes its own,
placed at the end of the phi's predecessor, which is where the edge uses
it (`mask_dword` reads `cur_ir`'s tail there).

The join fallback also turned the mask into a plain number, which any
reader then accepted. `read_only_as_host_mask` now requires every read of
the phi, through further joins, to be one that means the same on any wave
(a count, the first lane, the count below a lane, equality) — the list
`mask_ok` already uses, which moves to `host_mask_use`. A wave64 mask's
high dword keeps being refused: its ballot word is zero on a 32-lane
host, so a zero test of it would be true whatever the console's upper
lanes held.

Port of JMAN730/project-flamingo#714 (4db6dc79d, d39a01a2d) by idea; the
original's `tail`/`edges` rename and its `structure.rs` lane wrap (this
fork tracks no spilled mask there) are not ported.

Tests: a join counted after itself in a pixel program still lowers, and
the same join copied as a whole number refuses instead of storing a
number that differs from the console's.

Co-authored-by: JMAN730 <JMAN730@users.noreply.github.com>
NVIDIA has no typed store for B8G8R8X8_UNORM (nor for the block formats):
CreateUnorderedAccessView in one removes the device, and the run ends.
`fits` now asks the host, once per format, whether it stores to the format
the view is really made in - the texture's own for a typed texture the
host takes as it is, the view's for a typeless one and for the sRGB/linear
twins the host casts - and leaves the slot null instead of the device
removed. `VICTORY_TYPED_UAV=0` keeps the old behaviour.

RADV through vkd3d-proton stores to B8G8R8X8_UNORM as B8G8R8A8_UNORM with
the alpha ignored, so there the host answers yes and nothing changes.

Upstream VIctory PR #2679 (fuzeofficial) promotes an sRGB texture shared
with an unordered access texture to its typeless family, and adds this
same guard. The promotion is already here: one host texture per title
texture, and `host_texture` promotes an unordered sRGB format before it
makes the resource (resource.rs:1699). Ported: the guard.

Co-authored-by: Fuzeofficial <U_kgDOCHJt3Q@users.noreply.github.com>
CodeRabbit on #116: a worker may finish between the drop report and the
return value, which would report a one-shot pass as lost while it is
returned. Take one view of it after the wait and use it for both.
Lists whose shaders use title memory ask for every host copy there is at
each submission (about 4,100 in the world), and again after every title
copy: 254,139 change checks a frame over 92.8 GB, 99.7 % of it unchanged
(#400 in the fork's notes). Each check went through the flush's maps, the
write-watch journal and the copy's pages to find that it had nothing to
copy.

A copy now keeps the asking at which every one of its pages was last
copied whole, and the journal answers for a range whether any page of it
was written after that asking (`watch::written_since`). Where it says no,
the flush leaves the copy out of the submission's refreshes: its bytes stay
where the check would have left them. A write that lands while the journal
is read counts as landing after, as it does for a take, so it is the next
submission's refresh. Memory not known to be write-watched, a copy placed
in the title's memory, and a copy with pages never copied whole are
refreshed as before, and so is any range no asking of the submission
covers.

The journal's asking pieces are kept in order, so the flush's per-copy
question is one search instead of a scan of the submission's pieces; the
refresh's own lookup (`watch::writes`) uses the same search.

Ported from uwutaube's VIctory commit e920ea0fc
(https://github.com/uwutaube/VIctory/commit/e920ea0fc), which keeps a
count of a tracker's changed pages beside its set. The fork line's tracker
is not this tree's copy-back (no per-page armed set here), so the idea is
reimplemented on the write-watch journal.

Timed under Wine on the release test exe (`clean_copies_bench`), copies
asked about together as one submission asks: the journal's answer a
refresh makes 14 ns a copy at 4,096 copies (25 ns at 1,024) against 8 ns
(14 ns) for the flush's check; the page walk and the copy's lock that the
skip also removes are not in those numbers.

Off with `VICTORY_SKIP_CLEAN=0` (also live, through the debug tool's
switches file). Tests: `written_since` over a write-watched range (another
range's write is not taken for this one's), and the decision's truth table
with the switch.

Co-authored-by: uwutaube <81832919+uwutaube@users.noreply.github.com>
A host SRV of a part-resident texture is clamped to the resident mip
suffix (`narrow_to_resident`), but nothing remade it when more levels
arrived: the title's descriptor does not change for a slot it streams in
place, so the slot kept showing the older, narrower window and the
sharper mips that did become readable were never sampled. A host copy or
resolve (which fills the chain on the host) left the stale title-memory
window clamping the view too.

`HostHeap::mirror` now records the slots made from a narrowed view (the
texture, the window the title asked for, the window the host names) and
remakes such a slot when the mips that are there no longer match, or when
a host copy filled its chain. `host_written` drops the resident window,
and `narrow_to_resident` never clamps a host-written texture (#616).

Off switch `VICTORY_RESIDENT_MIPS=0`. Unit test of the clamp computation
(`narrowed`, `wanted`). Ported from JMAN730/project-flamingo#672
(jman/cursor/gpu-streamed-mip-view-616-111a); the clamp itself was
already on main, this is the remake-on-widen and host-written half,
reimplemented for this tree's mirror-per-draw design.

Co-authored-by: JMAN730 <JMAN730@users.noreply.github.com>
MESA_SHADER_CACHE_READ_ONLY is not honoured by every Mesa (24.1 still
writes a writable cache), so the section states the supported limits and
what the play script does instead.
(cherry picked from commit 827fbf89b9545c12309ed72c41802050576472a2)
`buffer_range` and `unordered_range` computed `base + FirstElement *
element` and `NumElements * element` with unchecked `u64` arithmetic, and
read the `Buffer` union member without checking `ViewDimension` first.

A title `FirstElement` past `u64` (1 << 60 at stride 16, `u64::MAX`) then
wrapped in release to a small, plausible start address, or panicked in a
debug build; a buffer resource given a texture view description had the
texture's words read as a buffer's, which is the same bogus address from
a different path. Both feed `producers::target_of` and
`descriptor::host::describe_slot`, so a wild read was possible on a
submission's write tracking.

Reimplemented from Marvisak/VIctory #2541 (its tree has `buffer_srv` /
`buffer_uav` where this one has `shadow::find` and `offset`), so the
guards are `checked_buffer_range` plus a `ViewDimension` check before the
union, and the three `FirstElement += offset / element` sites use
`checked_add`.

Test: `overflowing_buffer_ranges_are_refused` (hand-built descriptor
words, no game data).

Co-authored-by: shh <marek8788@proton.me>
Upstream: Marvisak/VIctory#2541
GPU: remake narrowed streamed SRVs when residency widens (flamingo #672)
The empty pipeline library asks for a null blob: vkd3d-proton refuses a pointer at nothing
tools: make the pre-commit hook executable so it actually runs (from #92)
…ngs merge

`Shadow::clean` took an address and a length, and the flush passed the
range's end as that length: `inside` then cut the ask to the copy's end, so
a partial refresh was checked with a tail no shader writes taken in, and a
write there kept it from being skipped. It now takes the range `(from, to)`
as the flush holds it, and `cut_to_copy` cuts it to the copy.

`ask_once` asks a range an asking already holds in part on its own
(`[0, 12000)` and `[8000, 20000)` are each asked alone), which left the
journal's pieces overlapping, and `covers`'s search finds only the piece
whose end passes the range's start: a range lying in the second piece was
not found and `writes` asked the kernel again for what the journal had
(750 MiB in the example). The pieces are merged into one range per run that
meets or overlaps before the search, in `ask_ahead` and `ask_once`, and
`asked` uses the search too.

Both from CodeRabbit on PR #125.

Tests: the cut to the copy (inside, past both ends, the tail only, wholly
outside), and askings that meet or overlap merged into runs a range is
found in, with the gaps between runs left uncovered.
One parse of a console container (`Container::parse` plus the XBCH
program decompression in `native_programs`) gives the resources the
shader reads and whether its programs can store; until now every launch
repeated it for every shader the pipeline library already kept, on the
warm path that is meant to be cheap. The result now lives in
`shader-meta.bin` beside the pipeline library, keyed by the container's
BLAKE3, written atomically at the library's saves. Offline, parsing the
751 dumped programs takes 105 ms cold and 48 us warm (perf-ledger.md).

The file is served only to the build that wrote it: its header carries
`shader_cache::build()` (the BLAKE3 of our executable and of the
translation settings), so a rebuilt translator or one whose switches
differ starts from an empty store rather than reading metadata another
build computed. A bad, truncated or other-version file is ignored and
the parse runs again. `VICTORY_SHADER_META=0` turns the cache off.

Ported from Marvisak/VIctory#2614 by Bebrik229; our branch keeps the
`stores` flag the PR's base did not have, so the cached entry carries it
too and the warm path skips the parse entirely.

Co-authored-by: Sam <sam@users.noreply.github.com>
`resident()` and `note_resident()` each declared their own function-local
map, so nothing ever read back what a staging refresh noted and
`resident()` always returned `None`: a part-resident texture's views were
narrowed by neither, and a host copy could not clear a window. One
module-scope store, both functions on it, and the test that notes a
window, reads it, clears it and reads `None`.

Found by CodeRabbit on #126.

Co-authored-by: JMAN730 <JMAN730@users.noreply.github.com>
A VIctory CopyResource of a CPU-populated depth/stencil texture uploaded the
depth plane and left the stencil zero: the staging buffer was laid out for the
first plane alone. The texture's own layout (every plane it has) is kept now,
the host's plane count is asked for the format, and the subresources of each
compatible plane are footprinted and copied, plane after plane (D3D12 orders
mips, then array slices, then planes). The console's 16-bit depth with 8-bit
stencil keeps the first plane: its depth plane is not the host's, and its twin
carries the contents.

Off switch: VICTORY_TEXTURE_PLANES=0 uploads the first plane alone, as before.

Tests: a unit test of the plane decision and the subresource mapping, and a
CopyResource test of a 2 x 2 R32G8X24_TYPELESS texture (two mips, two slices)
that reads both planes back after the copy and after one stencil byte is
written in the title's memory.

Ported from Marvisak/VIctory#2509 by andrewpozdnakov7-jpg.

Co-authored-by: andrewpozdnakov7-jpg <andrewpozdnakov7-jpg@users.noreply.github.com>
GPU: a host copy nothing wrote is not asked for at submission
The victory-gpu lib tests that open a device on the software adapter crashed
the test exe on windows-latest with STATUS_ACCESS_VIOLATION (0xc0000005):
run 45668309203's first attempt died after 40 of 151 tests, and passed on
rerun. `d3d10warp.dll` is one software rasterizer for the whole process and
four of these tests each open a device of their own, which the harness runs
in parallel by default.

Reproduced on windows-latest: with `--test-threads=4` the four
`indirect::tests::warp_*` alone crashed 1 of 12 runs, while each of the four
passed 12 of 12 alone and the four passed 12 of 12 at `--test-threads=1`.
In the whole suite in parallel, `inplace::tests::warp_the_self_check_reads_
and_writes_our_own_page` also fails 11 of 20 (the self-check's bytes never
arriving), and crashed the exe once in 30.

The seven tests that open a software adapter device, and `host::tests::
warp_adapter_accepts_only_software`, now take one lock for their length
(`warptest::lock`): they still run, and still assert, in full; they no
longer run at the same time.
Under Wine or Proton a program Steam starts has no terminal, and its
stderr goes nowhere: none of the layer's log reached the user's Proton
log or a `2>` redirect. With `VICTORY_LOG_FILE=<path>` the log is
appended to that file instead (no colour codes); if it cannot be opened,
the log stays on stderr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SEGb51RnUN5wf49ozEtinL
(cherry picked from commit 3e5d837114b3434a74fe34a0900575255ebf1964)
(cherry picked from commit 09d847e66909ca28903f810d5e513df5115a94a2)
victory-gpu: say once, not per slot, that the title's heap outgrew the host's (first frame 21 s -> 33 ms)
pablogonz12 and others added 20 commits November 25, 2026 23:55
Both test modules kept; main's switch-key test needs this branch's two sampler
switches listed (VICTORY_ANISO_POINT_MIP, VICTORY_INTERP_F16_OMOD_CLAMP).
Shaders: restore 16-bit compares reading the low halves whatever op_sel says
Shaders: a uniform branch can pick between immediate samplers
GPU: the depth plane's twin is drawn inline in the list that wrote it (HUMAN a7bb3e8)
GPU: integer render targets write unblended
The CI and Linux workflows did not start for 9ea85e1 or 00c14a5 on this
branch (no run objects); the same tree otherwise.
# Conflicts:
#	CREDITS.md
#	crates/victory-gpu/src/draw.rs
…ug 92d353f8, romainhedouin)

Two queries for an interface, three locks and a name looked up at every
change of pipeline; now one lookup by address.

The set of addresses a list has bound is its own type
(`crates/victory-gpu/src/bound.rs`), tested without a device: 10,000 binds of
five pipelines keep and name five (not 10,000), a list that is reset binds
them again, and two pipelines an address apart are two.

Upstream: avatarmanz/VIctory-7900XTX ab86ef7f3, after Belobug 92d353f8
(romainhedouin), GPL-3.0.
Co-authored-by: avatarmanz <avatarmanz@users.noreply.github.com>
(cherry picked from commit ab86ef7f3ffba5cb7e8e21009f28f437222087da)
…le memory (from Belobug dd799aad, romainhedouin); VICTORY_DECLARE_ONCE=0 for the old way

Dispatches declare the same few ranges again and again: 4,003 to 5,550
steps a frame of fork-b1-fast, each a flush of its copy's pending refreshes
and two locks on the thread that submits (the snapshots alone 1.7 to 2.0 ms
a frame). The ranges and their order stay what they were.

The set of declared ranges is its own type
(`crates/victory-gpu/src/declareonce.rs`), tested without a device: 5,000
dispatches declaring three ranges leave three steps, not 15,000 (all 5,000
with VICTORY_DECLARE_ONCE=0); a list that writes title memory declares them
again; ranges that meet are told apart.

Reimplemented on this tree, which keeps `host.rs` in one file where upstream
has `host/place.rs` (that file's `refreshed.clear()` site is
`Deferred::title_written` here).

Upstream: avatarmanz/VIctory-7900XTX b32fb9975, after Belobug dd799aad
(romainhedouin), GPL-3.0.
Co-authored-by: avatarmanz <avatarmanz@users.noreply.github.com>
(cherry picked from commit b32fb9975d74600ac0812fd9424fa2d6829a004a)
GPU/texture: detile only the pages written since the last refresh (fxceless #1130)
…inear corners keep the second

Two findings from CodeRabbit on #182:

`right_corners` reads the POSITION buffer at submission, but the POSITION
range was only checked for being inside its buffer, not against the shadow
map the slots are checked with: a draw rejected by a later slot's check left
the earlier slots' callbacks registered, and one of them could read title
memory that is not mapped. The POSITION range is now checked the same way,
before any slot registers a callback, and a refusal drops the draw there.

`right_angle` passed over a NaN position (`f32::max` ignores it) and took the
corner opposite the longest side of three points on a line. A non-finite
side, or a zero cross product (collinear), keeps the second corner, as
documented.

Tests: right_angles_are_found_in_any_order gains a NaN first position and two
collinear orders, all keeping the second corner. Gates: clippy clean;
victory-gpu 237 passed, 2 ignored, 0 "no device" skips on the RADV card;
victory-shader 194 passed, 2 ignored; cargo xtask policy 258 files ok.
Dispatches past the host's group limit run in pieces, each told where its groups start
…CTORY_SHADER_OPT=64, off)

fxceless c36971b2's shader part as avatarmanz 200a9cc5/53abe45a carry it:
`s_buffer_load_dwordx2` to `x16` from an SRV reads its dwords with one
`rawBufferLoad` for every four of them instead of one a dword, the last of
a load masked to the dwords that are in it. Loads of different console
instructions are never joined: their offsets are 32-bit registers, so
`x - 4` and `x` at 0 are a dword before the view and its first one.

New bit `bitcode::opt::WIDE` (64) with `DEFAULT = ALL & !WIDE`, so
`VICTORY_SHADER_OPT` asks for it (`64`, `127` for every pass) and the
default translation is the one of before: 751 of 751 dumped programs give
byte-identical DXIL, and 396 of 751 change with 127. `VICTORY_SHADER_OPT`
was already in `SWITCHES` and `settings_bytes`, so the shader cache key
covers the bit.

The code is a child module of the lowering (`emit/lower/wide.rs`) with one
hook at each of the two places `smem` reads a raw view. The test
(`emit/wide_tests.rs`) lowers a burst of `s_buffer_load_dwordx8`, `x4` and
`x16` built by hand: 28 buffer loads without the bit, 7 with it, and on the
software adapter the dwords read are the same on both, across the view's
end too.

Gates: clippy (windows, all targets, -D warnings) clean; cargo test -p
victory-shader 202 passed; offline-check 751/751 (all four stages ok) and
victory-run 2,909/2,912 (the 3 bundled-converter dxil-spirv timeouts).
Off by default: measured worth nothing on the card it came from (18.47 ->
18.45 ms, 18.23 -> 18.16).

Co-authored-by: Claude 5.5 <noreply@anthropic.com>
Shaders: translator fixes from project-flamingo #737 and victory-fork #1112/#1123, sampler and f16 switches, dxil-spirv page
…be on the card

avatarmanz 17c4717b4 (after fxceless c36971b2) brings two things: the
title buffers' copies down to any size in the card's memory, and the card's
hashes over the buffer's own bytes.

The second is how this tree already hashes: the compare takes a copy's
offsets (`card_run` clips to `Shadow::len`) and hashes those pieces, never
the 64 KiB-rounded card side, so nothing is taken from it.

The first is new: `resolve_card_limits` clamps the minimum to a MiB, so
`VICTORY_CARD_BUFFERS_MIN_MB=0` still puts only copies of a MiB or more on
the card. Nearly all of a title's buffers are smaller — and in the PC's
memory every load, store and atomic a shader does on one crosses the bus.
`VICTORY_CARD_BUFFERS_MIN_KB` says the least in KiB (`64`: every buffer),
wins over MIN_MB when both are set, and is unset by default, which keeps
the floor of before. It is a live switch (`crate::switches`), like the two
MiB ones.

Test: `resolve_card_limits`' test gains the KB override (64, 0, over MB,
saturating). Gates: clippy (windows, all targets) clean; the victory-gpu
test suite under Wine on the RADV card 233 passed, 0 failed, 2 ignored.

Co-authored-by: Claude 5.5 <noreply@anthropic.com>
@pablogonz12

Copy link
Copy Markdown
Owner Author

merged main in d943394: kept the subgroup-size pinning and main's settings key modules. cargo xwin clippy --workspace --all-targets -D warnings green.

Card buffers: VICTORY_CARD_BUFFERS_MIN_KB, so copies under a MiB can be on the card
A range shaders write is declared once until the list writes title memory (VICTORY_DECLARE_ONCE=0)
A pipeline a list binds again is not kept and named again (one lookup by address)
GPU: a rectangle's fourth corner goes opposite the right angle, wherever it is
@pablogonz12

Copy link
Copy Markdown
Owner Author

gates: victory-gpu tests under Wine (VICTORY_TEST_ADAPTER=hw, RADV, native dxgi, --test-threads=1) or victory-shader on Linux — victory-shader 218 passed, 0 failed, no 'skipped: no device'.

Shader: one rawBufferLoad for every four dwords of a console buffer load (VICTORY_SHADER_OPT=64, off)
@pablogonz12

Copy link
Copy Markdown
Owner Author

merged main again in 688a0ae (main had moved): conflicts were the SWITCHES list (union) and, in #147, main's compute-group counter, now carried by the Budget struct too. clippy -D warnings green.

This branch has not been deployed

No deployments
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.