WIP: [pr-fix][RAYTRACING] Restore buffer state after DXR postbuild writes #27
Loading…
Reference in a new issue
No description provided.
Delete branch "umcakatabla/dxr-postbuild-buffer-state"
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?
Refs #4.
Contributor role (optional)
What it changes
The destination buffer of a DXR postbuild answer stays in COPY_DEST after a size or serialization result is written. The title can read that buffer again in the same command list. Return the destination to COMMON after WriteBufferImmediate and CopyBufferRegion so the next access can promote it to the required read state.
How it was tested
2519633, based on4a92569.cargo test --locked -p darner-gpu --lib --features diagnostics hwrt::testspassed (21 tests).cargo clippy --locked -p darner-gpu --all-targets --all-features -- -D warningspassed.cargo run --locked -p xtask -- policypassed in a dedicated target directory (542 files).Checklist
main.docs/asset-policy.md.Checked for overlap
hwrt.rs.