A buffer slot's 8-byte leaf (half4, float2, long, a chunked uchar8) whose AIR alignment is at least
8 and whose offset is proven a multiple of 8 (MemoryPlan::proven_align) is now one element of a
StorageBuffer { uvec2[] } view at the slot's binding, as a 16-byte leaf at a proven 16-aligned
offset already is one uvec4. Elsewhere it stays two words.
Why: under robustBufferAccess2 RADV's load/store vectorizer does not merge two word loads it cannot
prove 8-aligned, so a half4 read was two buffer_load_b32 where a native kernel reading f16vec4[]
has one buffer_load_b64 (780M Geekbench kernels run ~1.4x native's GPU time per job).
- Path::Vec2 beside Path::Vec4, Units::vec2, UnitViews::vec2; WordMem's vector read/write take the
lane count; views::declare_vec declares either width. Uniform views get no uvec2 view (std140
stride 16); device addresses and the threadgroup arena keep no vector unit.
- Exact under rule 1: the same bytes move. Descriptor bases are 16-aligned and a bound range is a
whole number of 16-byte units, so the word view's containment check is the unit's.
- The dynamic-views self-check module declares a uvec2 variable too (RUNTIME bump).
- docs/FAST-PATHS.md, multi-variable dynamic binding row: "narrow, uvec2 or uvec4 unit view".
No switch, Degradation kind, refusal or public type change.
Verified (codegen): ISA compile-only gfx1103 RADV 26.2.6 (amdgpu noop drm-shim) on our own half4
column convolution: the loop's read and store are buffer_load_b64 / buffer_store_b64 as the native
twin's; VMEM 5 -> 2 (native 2), instructions 88 -> 83 (native 56). msi m3-max-28997 at ae8ac29436:
clippy -D warnings all targets/features (translator, runtime) 0; touched tests 292/292
(engine_access incl. eight_byte_leaves_move_as_one_uvec2: views, OpStore counts, exact bytes on the
CPU interpreter at every residual, both encodings, every tested profile); metal2vulkan suite 3578
passed, 1 expected failure golden_hashes_match_the_table (re-blessed on development next).