d3d12-gpu: castable R9G9B9E5 views over R32_UINT/SINT textures without copying (D3D12-ALIAS-CAST-R9G9B9E5) #2660
Closed
leonida/mandy
zmasi wants to merge 0 commits from
perf/d3d12-gpu-alias-cast-r9g9b9e5 into main
pull from: perf/d3d12-gpu-alias-cast-r9g9b9e5
merge into: leonida:main
leonida:main
leonida:github-pr/3295
leonida:beta
leonida:docs/changelog-3483-3500
leonida:github-pr/3294
leonida:github-pr/2975
leonida:github-pr/2815
leonida:feat/gate-driver-start
leonida:feat/skip-pipelines-release
leonida:perf/lazy-compare
leonida:perf/mwaitx-wait
leonida:test/prio-ceiling-main
leonida:fix/ab-cpu-stdout
leonida:fix/gate-old-crashes
leonida:diag/ab-cpu
leonida:test/main-0312
leonida:github-pr/3291
leonida:diag/indirect-clamp-census
leonida:feat/barrier-enhanced
leonida:perf/texture-frame-ceiling
leonida:perf/dstorage-threads
leonida:fix/console-queue-dma-tables
leonida:fix/port-descriptors-record-parts
leonida:fix/frame-waits-fence
leonida:fix/console-sampler-words
leonida:fix/graphics-userdata-spill
leonida:fix/xg-reserved-layout-rotation
leonida:fix/barrier-console-flags
leonida:fix/switches-wait-test-child
leonida:test/list-value-waits
leonida:test/lot-gxdk-0412
leonida:fix/bvh-compacted-size
leonida:docs/i18n-quickstarts
leonida:feat/native-pipeline-slots
leonida:fix/clippy-leonida-gpu
leonida:fix/list-value-producers
leonida:fix/descriptor-page-straddle
leonida:fix/xmem-low-window
leonida:fix/ffx-jitter-never-zero
leonida:fix/run-stdout-closed
leonida:github-pr/2892
leonida:github-pr/2896
leonida:feat/warm-save-every
leonida:github-pr/2980
leonida:github-pr/2994
leonida:github-pr/3005
leonida:github-pr/3010
leonida:github-pr/3136
leonida:github-pr/3303
leonida:github-pr/3220
leonida:github-pr/3143
leonida:github-pr/3330
leonida:github-pr/3226
leonida:github-pr/3187
leonida:carry/3395
leonida:github-pr/2946
leonida:github-pr/2947
leonida:github-pr/2945
leonida:github-pr/2983
leonida:github-pr/3001
leonida:github-pr/3372
leonida:github-pr/3128
leonida:github-pr/3296
leonida:github-pr/2588
leonida:github-pr/3119
leonida:github-pr/3378
leonida:fix/crash-diagnostics
leonida:feat/dlss-mip-bias
leonida:fix/retired-out-of-order
leonida:fix/dxr-postbuild-barrier
leonida:fix/amd-relay-default
leonida:fix/removed-report-wait
leonida:feat/heap-twin
leonida:feat/vram-margin
leonida:github-pr/2472
leonida:github-pr/3123
leonida:github-pr/3088
leonida:assets/annonce-v1
leonida:github-pr/2794
leonida:github-pr/3300
leonida:github-pr/3304
leonida:github-pr/3308
leonida:github-pr/3367
leonida:github-pr/3369
leonida:fix/launcher-dlss-diagnostics
leonida:github-pr/3269
leonida:github-pr/2957
leonida:github-pr/3205
leonida:fix/crash-zero-guard
leonida:github-pr/3185
leonida:github-pr/3099
leonida:github-pr/3104
leonida:github-pr/3348
leonida:github-pr/3379
leonida:github-pr/3377
leonida:perf/darner-title-priority-ceiling
leonida:github-pr/3376
leonida:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
leonida:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
leonida:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
leonida:github-pr/3373
leonida:github-pr/3368
leonida:github-pr/3198
leonida:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
leonida:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
leonida:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
leonida:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
leonida:github-pr/3346
leonida:github-pr/3375
leonida:github-pr/2958
leonida:github-pr/3151
leonida:github-pr/3307
leonida:github-pr/3278
leonida:github-pr/3374
leonida:fix/runtime-test-conservative-fixtures
leonida:github-pr/3366
leonida:ci/shard-semantic-linux
leonida:github-pr/3354
leonida:docs/fg-limit-fps-switch
leonida:github-pr/3365
leonida:fix/read-file-hard-link
leonida:github-pr/3364
leonida:fix/book-slot-heap-never-read
leonida:github-pr/3361
leonida:github-pr/3263
leonida:github-pr/3360
leonida:github-pr/3353
leonida:github-pr/3331
leonida:fix/alias-later-queued-submissions
leonida:github-pr/3352
leonida:github-pr/3228
leonida:github-pr/3349
leonida:claude/gallant-sagan-aamatr
leonida:github-pr/3200
leonida:github-pr/3132
leonida:github-pr/3323
leonida:github-pr/3332
leonida:github-pr/3340
leonida:github-pr/3311
leonida:github-pr/3334
leonida:github-pr/3297
leonida:github-pr/3256
leonida:github-pr/2567
leonida:github-pr/2851
leonida:d3d12/agility-sdk-621
leonida:github-pr/3164
leonida:github-pr/3114
leonida:github-pr/3050
leonida:github-pr/3113
leonida:github-pr/3326
leonida:github-pr/3144
leonida:github-pr/2642
leonida:github-pr/3072
leonida:github-pr/2789
leonida:github-pr/2643
leonida:github-pr/3009
leonida:github-pr/3035
leonida:github-pr/3031
leonida:github-pr/2686
leonida:github-pr/2834
leonida:github-pr/3321
leonida:github-pr/3325
leonida:github-pr/3290
leonida:github-pr/3324
leonida:github-pr/3130
leonida:claude/fervent-curie-m19lnr
leonida:github-pr/3309
leonida:github-pr/3305
leonida:github-pr/3306
leonida:github-pr/3302
leonida:github-pr/3301
leonida:github-pr/3345
leonida:github-pr/3211
leonida:github-pr/3027
leonida:github-pr/3286
leonida:github-pr/3235
leonida:github-pr/3265
leonida:github-pr/3275
leonida:codex/skip-no-hit-ray-passes
leonida:github-pr/2823
leonida:github-pr/2911
leonida:github-pr/3262
leonida:github-pr/3125
leonida:github-pr/3206
leonida:github-pr/3250
leonida:github-pr/3238
leonida:github-pr/3188
leonida:github-pr/2952
leonida:github-pr/3217
leonida:github-pr/3168
leonida:t3/preserve-fsr-sdk-restart-path
leonida:t3/propagate-host-failure-hresult
leonida:github-pr/3209
leonida:t3/launcher-custom-parameters
leonida:github-pr/3207
leonida:github-pr/3183
leonida:github-pr/3160
leonida:github-pr/3201
leonida:ci/less-to-run
leonida:github-pr/2930
leonida:github-pr/2797
leonida:github-pr/2999
leonida:perf/native-compute-shader-forms
leonida:github-pr/3191
leonida:github-pr/3011
leonida:github-pr/3019
leonida:github-pr/2996
leonida:gh-readonly-queue/main/pr-2789-45dc41f95c1cd0dcc29c2c50582e0e9af8a77259
leonida:claude/blissful-franklin-ukp7ag
leonida:github-pr/3141
leonida:github-pr/3156
leonida:github-pr/3150
leonida:github-pr/3153
leonida:github-pr/3163
leonida:github-pr/3142
leonida:github-pr/3139
leonida:github-pr/2841
leonida:github-pr/3069
leonida:github-pr/3098
leonida:github-pr/3107
leonida:github-pr/3071
leonida:github-pr/2774
leonida:github-pr/2889
leonida:github-pr/3075
leonida:github-pr/2661
leonida:github-pr/3064
leonida:github-pr/3054
leonida:github-pr/3049
leonida:github-pr/2855
leonida:github-pr/2943
leonida:github-pr/3016
leonida:github-pr/2887
leonida:github-pr/3006
leonida:github-pr/3003
leonida:github-pr/2993
leonida:notes/card-time-and-plant-flicker
leonida:github-pr/2989
leonida:feat/vulkan-rs
leonida:github-pr/2985
leonida:github-pr/2951
leonida:github-pr/2982
leonida:github-pr/752
leonida:github-pr/792
leonida:github-pr/2877
leonida:github-pr/2654
leonida:github-pr/2893
leonida:github-pr/2948
leonida:github-pr/2944
leonida:github-pr/2919
leonida:github-pr/2915
leonida:archive/ci/less-to-run/20261202T1121Z
leonida:github-pr/2800
leonida:github-pr/2822
leonida:github-pr/2833
leonida:github-pr/2840
leonida:github-pr/2831
leonida:github-pr/2832
leonida:github-pr/2801
leonida:github-pr/2890
leonida:github-pr/2891
leonida:github-pr/2664
leonida:github-pr/2807
leonida:rt-call-trace
leonida:github-pr/2755
leonida:perf/ahead-split
leonida:github-pr/2587
leonida:github-pr/2698
leonida:github-pr/2609
leonida:github-pr/3219
leonida:docs/readme-runtime-proposal
leonida:github-pr/2017
leonida:github-pr/1741
leonida:github-pr/1667
leonida:codex/coord-claim-check-20261124-7e48
No reviewers
Assignees
Clear assignees
No assignees
Labels
Clear labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
enhancement
New feature or request
missing claim
Needs a claim in #14
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
Projects
Clear projects
No items
No project
Milestone
Clear milestone
No items
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
leonida/mandy!2660
Loading…
Reference in a new issue
No description provided.
Delete branch "perf/d3d12-gpu-alias-cast-r9g9b9e5"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request closed
This pull request cannot be reopened because the branch was deleted.
Claimed in the coordination issue as: D3D12-ALIAS-CAST-R9G9B9E5 (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7249716729, https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7264381245)
What and why
Eliminates the per-frame GPU copy and duplicate VRAM cost of
DXGI_FORMAT_R9G9B9E5_SHAREDEXP(67) shader views placed in the memory of shader-writtenDXGI_FORMAT_R32_UINT(42) andDXGI_FORMAT_R32_SINT(43) textures (d3d12/docs/findings.md"Aliased views of GPU-written textures:R9G9B9E5overR32_UINT" and "Open: the copies behind aliased views could go"):86reads,~390-395.6 MiB/frameacross radiance/reflection/fog targets, 4-mip probe atlases, and 6-face sky cubes) areR9G9B9E5SRVs placed over shader-writtenR32_UINTtextures because console shaders packRGB9E5manually forRWTexturestores whileD3D12_RESOURCE_DESCputsR32_UINTandR9G9B9E5_SHAREDEXPin different legacy typeless families.R9G9B9E5HostTexture(directly whenLEONIDA_ALIAS_DIRECT=1or through an intermediate staging buffer whenLEONIDA_ALIAS_DIRECT=0), costing1.6-3.6 ms/frameof GPU copy time plus duplicate texture and staging-buffer VRAM.Castable
R32_UINT/R32_SINTDefault-heap committed and placed texture creation (texture.rs,pool.rs,resource.rs):D3D12_FEATURE_D3D12_OPTIONS12(EnhancedBarriersSupported && RelaxedFormatCastingSupported) viaID3D12Device10(texture::relaxed_format_casting/texture::castable_r9g9b9e5, cached per adapter LUID without touchinghost.rs).R32_UINTandR32_SINT1D/2D/3D/array textures via bothID3D12Device10::CreateCommittedResource3(create_committed_r9g9b9e5_or_legacy) andID3D12Device10::CreatePlacedResource2(pool::texture_with_cast+create_placed_r9g9b9e5_or_legacywithID3D12Device12::GetResourceAllocationInfo3sizing/alignment) usingD3D12_BARRIER_LAYOUT_COMMON(HostTextureinitial state0 = COMMON) andpCastableFormats = &[DXGI_FORMAT_R9G9B9E5_SHAREDEXP], preserving legacyD3D12_RESOURCE_STATEStransitions (ResourceBarrier) everywhere else and falling back cleanly toCreateCommittedResource/CreatePlacedResourcewhen unavailable or refused.LEONIDA_ALIAS_CAST(default on;LEONIDA_ALIAS_CAST=0restores the copy path;LEONIDA_ABcan switchLEONIDA_ALIAS_CASTlive atPresent).Zero-copy in-place
R9G9B9E5SRV creation & stale-descriptor invalidation (descriptor/host.rs,resource.rs,draw.rs):make_twinned_infocreatesDXGI_FORMAT_R9G9B9E5_SHAREDEXPSRVs (including defaultNone/DXGI_FORMAT_UNKNOWN, 2D mip-range, 2D array,TextureCube, and 3D volume views viar9g9b9e5_srv_desc) directly on&source_copy.texture, skipping allocation ofplaced's duplicateHostTextureandThroughstaging buffer.HostTexture::serialinHostHeap::cast_serials,HostHeap::last_cast_on,ListViews::cast_serials,State::tablesfresh_tableskeys (table_r9g9b9e5_views), andStateentry_onceRecordHashkeys, plusTARGETS_CHANGED+levels_changednotifications onTARGETS_ATinsert/drop, so mid-frame or mid-list console virtual-address reuse and liveLEONIDA_ABflips invalidate cached static and dynamic SRVs immediately (and failed stale rebuilds inmake_listedoverwrites0withnull_forand returnNonewhile staying retryable).Same-pass UAV/RTV write + aliased SRV read hazard fallback (
draw.rs):WRITTEN_CAST_SOURCES(State::bindRAII guard, covering both direct andgroup.indexedentries with heap/alignment/bounds checks).source(e.g.mip m+1UAV) and samples a placedR9G9B9E5view ofsource(e.g.mip mSRV),State::tablesroutes that pass through dynamic table slots andplaced's separate copy so whole-resource legacy barriers keepsourceinUNORDERED_ACCESS/RENDER_TARGETandplacedinSHADER_RESOURCE, resuming zero-copy casting on subsequent read-only passes.Tested
--releaseD3D12 timestamp & VRAM benchmark (59views,86reads =395.6 MiB/frame,30measured frames after5warmup frames):cargo test --manifest-path d3d12/Cargo.toml --release -p leonida-gpu waterside_alias_cast_vs_copy_gpu_benchmark -- --ignored --nocapture --test-threads=1:castable-zero-copy (CAST=1):gpu_mean = 0.178 ms,gpu_median = 0.175 ms,cpu_record_median = 214.2 us,copies/frame = 0,dup_tex_vram = 0.0 MiB,stage_buf_vram = 0.0 MiB,extra_vram = 0.0 MiBcopy-direct-texture (CAST=0, DIRECT=1):gpu_mean = 1.115 ms,gpu_median = 1.063 ms(6.1xslower GPU,-0.888 ms/framemedian saved),cpu_record_median = 472.4 us(2.2xslower CPU),copies/frame = 86,extra_vram = 260.5 MiBcopy-through-buffer (CAST=0, DIRECT=0):gpu_mean = 2.417 ms,gpu_median = 2.212 ms(12.6xslower GPU,-2.037 ms/framemedian saved),cpu_record_median = 1009.8 us(4.7xslower CPU),copies/frame = 86,dup_tex_vram = 260.5 MiB,stage_buf_vram = 255.2 MiB,extra_vram = 515.7 MiB0diff lines inhost.rs):LEONIDA_D3D12_DEBUG=1 cargo test --manifest-path d3d12/Cargo.toml -p leonida-gpu --features diagnostics --lib alias -- --test-threads=4->10 passed; 0 failed; 1 ignoredwith0D3D12 debug-layer errors:committed_and_placed_r32_uint_textures_cast_to_r9g9b9e5_under_legacy_barriers(verifies bothCreateCommittedResource3andCreatePlacedResource2viapool::texture_with_cast+GetResourceAllocationInfo3and direct non-zero-offsetID3D12Heapplacement across 2D 2-mip, 2D 3-slice array, and 3D8x8x4R32_UINTtextures starting inD3D12_BARRIER_LAYOUT_COMMON, written via UAV, transitioned with legacyD3D12_RESOURCE_STATESbarriers, and sampled viaDXGI_FORMAT_R9G9B9E5_SHAREDEXPSRVs with0alias copies)make_listed_stale_rebuild_flushes_batched_copies_before_overwrite(verifiesHostHeap::make_listedflushes deferredLISTED_COPIESbefore overwritingviews.slot(at)on mid-table VA reuse)castable_r9g9b9e5_views_sample_written_r32_uint_and_sint_without_copying(2DR32_UINT&R32_SINT,DXGI_FORMAT_UNKNOWNdefault SRV, 4-mip probe atlas, 6-faceTextureCube, and 3D volume;0copies,made_copy(placed).is_none(), bit-exact match vsCAST=0)cast_alias_switches_live_and_tracks_replaced_source_at_same_addresssame_dispatch_source_uav_and_aliased_srv_falls_back_to_copy_without_state_conflictstate_tables_fresh_cache_tracks_mid_list_va_reuse_and_live_cast_flipresource::tests::*alias*(4/4),a_texture_made_where_nothing_lay_is_found_by_the_quick_way,partial_tests,pool::tests, andbook::tests(3/3) all passed.cargo clippy --manifest-path d3d12/Cargo.toml -p leonida-gpu --tests&--features diagnostics --tests, pluscargo check --manifest-path d3d12/Cargo.toml -p leonida --features diagnostics->0warnings in all new/modified code.python -I scripts/check_no_game_data.py-> clean (0issues).GPUs tested: NVIDIA GeForce RTX 3090, driver 610.88, Windows 11 Pro (26200)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)Independent Wine A/B of the alias-cast tests on
fdfe5ccbf(GitHub mergedb94e6ab5). Same Win64 test binary and prefix, Wine 11.22 with VKD3D-Proton71cae091, RTX 4070 SUPER (620.73.04) and Radeon Raphael (RADV 26.3.1).d3dcompiler_47, all six tests failed in each of three runs per GPU.D3DCompilereturned successfully, thenCreateRootSignaturerejected the resulting shader blob withE_FAILattexture.rs:3848, before PSO creation.d3dcompiler_4710.0.17134.12 selected viaWINEDLLOVERRIDES, all six passed in each of three runs per GPU. That includes the live UINT/SINT views, committed and placed textures under legacy barriers, and the same-dispatch copy fallback. The ignored benchmark stayed ignored.Synthetic fixtures only. AI-assisted with OpenAI Codex.
Thanks for running the dual-GPU Wine A/B across RTX 4070 SUPER and Radeon Raphael!
Wine's builtin
d3dcompiler_47(vkd3d-shader) drops HLSL[RootSignature(...)]attributes instead of emitting anRTS0DXBC chunk, which is why passing the shader bytecode straight toCreateRootSignaturereturnedE_FAIL. Pushedf9d9312241updatingalias_cast_tests(texture.rstest module only) to serialize each test'sD3D12_ROOT_SIGNATURE_DESCexplicitly viaD3D12SerializeRootSignature(D3D_ROOT_SIGNATURE_VERSION_1) so the suite runs without needing a natived3dcompiler_47override (10/10passing withLEONIDA_D3D12_DEBUG=1).AI-assisted.
RUN: an in-game test on Windows, AI-assisted (Claude).
Setup:
mainat452d1d1b6plus this PR's diff (headfdfe5ccbf), applied withgit apply --3waywithout conflicts; diag profile with DLSS.Log, with
LEONIDA_ALIAS_CASTat its default:No device removed, no panic.
Picture: open sea from a boat in daylight, plus the area around a dock. The sky, clouds, sun glint, water and reflections looked normal. I saw no black or wrongly coloured patches where the radiance, fog or probe views are read. That was only a few minutes of play, and I have not yet looked at interiors or at night.
Numbers, compared with the previous build (
dd87aa405, no PR). The scenes were similar but not identical, so this is not a strict A/B:nvidia-smi)On this machine the frame is limited by the CPU: 22-28 ms a frame is spent preparing, and the GPU sits at about 73 %. So the copy time saved shows up mostly as less VRAM and GPU work, not as fps. An A/B with
LEONIDA_ALIAS_CAST=0on the same build and save would give a cleaner number. I haven't run that yet.Awesome live telemetry —
1,512.2aliased views/frame read in place with1.0same-pass write+read hazard caught cleanly byWRITTEN_CAST_SOURCES(-500 MBVRAM on a 12 GB card,0device removals) is great confirmation. If you want a same-scene A/B without restarting,LEONIDA_ALIAS_CASTis wired intoLEONIDA_ABso it can toggle1 <-> 0live acrossPresentphases on the same camera.AI-assisted.
Same-tree Wine retest of the explicit root-signature fix
8aaf91fd9onf9d931224(GitHub merge37b30335aontob8bd37111). Wine 11.22 with VKD3D-Proton71cae091, RTX 4070 SUPER (620.73.04) and Radeon Raphael (RADV 26.3.1). The loader trace confirmed Wine’s builtind3dcompiler_47in both arms on both GPUs.aliastests passed in each of three runs per GPU, including committed/placed castable textures and the same-dispatch copy fallback. The benchmark was ignored.8aaf91fd9on the same merge made all six tests fail in each of three runs per GPU. Each failed atCreateRootSignaturewithE_FAILafterD3DCompilesucceeded.The explicit serialization lets the fixture run with the builtin compiler on both adapters. Synthetic fixtures only. AI-assisted with OpenAI Codex.
Native Windows 10 retest of
f9d93122413289069645bc9cc63bc1c4ffe98995merged locally into0eab02a8bcffbb9d1609f9c2fba40c2357513d06. Windows 10 22H2 (build 19045), RTX 5070, NVIDIA 610.88, Rust 1.98.1 MSVC, local test-executable loader exports for Agility SDK 1.614.1. Synthetic fixtures only.cargo test --locked --offline --profile diag -p leonida-gpu --features diagnostics --lib alias -- --nocapture --test-threads=1and two fresh-process reruns each reported 10 passed. The six new fixtures exercised UINT/SINT cast-versus-copy readback, live toggling and address reuse, committed and placed textures, the same-dispatch UAV conflict fallback, and descriptor re-batching.10.0.19041.7811: the adapter lacks relaxed format casting, so the six guarded casting tests returned early. The four existing alias tests passed, including the direct and staged copy cases.AI-assisted.
Retested merge head
4a4fc668c157a967bcfaabfbc66fc5f63659da88with currentmain1d22590b9fb5c0f51a6a7c0405f1f136e0696c0dto cover the raw-twin conflict resolution indescriptor/host.rs. Windows 10 22H2 (build 19045), RTX 5070, NVIDIA 610.88, Rust 1.98.1 MSVC,--profile diag --features diagnostics, local test-executable loader exports for Agility SDK 1.614.1.LEONIDA_TWIN_BIAS=1, thealiasfilter had 10 passes anddescriptor::hosthad 53 passes. The six casting cases reached their assertions on the hardware path. The default run left the ignored microbenchmarks and descriptor probes alone.listed_off_alignment_raw_twin_readbackprobe separately withLEONIDA_RAW_VIEWS=1andLEONIDA_TWIN_BIAS=1. It stopped at the raw-twin heap prerequisite (heap.raw == 0) on both current main and main plus the PR. Coverage on this adapter includes casting, copy fallback and descriptor tests. End-to-end raw-twin readback remains unverified here.Synthetic fixtures only.
AI-assisted.
RTX 3090 / 621.40, validation on, 4a4fc668c merged onto main 1d22590b9: alias tests 10 pass, 1 ignored (main 4). Release waterside bench, debug layer off, GPU median: cast 0.157 ms vs direct copy 1.125 ms (7.2x, +260.5 MiB) and copy through buffer 2.254 ms (14.4x, +515.7 MiB).
Merged into
mainviad9a75eb8f/ce8118dfb(and measured live in6d26716aa) — closing since only the post-merge sync commit4a4fc668cremained on the branch. Thanks@ItsYusei99,@merzleckeier,@lixonik, and@ammonium231for the hardware runs!AI-assisted.