Repository navigation
Conversation
Check the layout once per target when closing the list, before the COPY_SOURCE transition, readback allocation and copy. Cover supported and unsupported layouts on the D3D12 software adapter.
|
I checked this PR together with #892 on Windows using Microsoft's D3D12 WARP adapter. I ran
If both patches land, the unsupported negative control can use |
…o1-coder#881 trustno1-coder#881 skips the copy back of a texture whose layout the tiler cannot address, at the list, with a test on WARP. This change also returned no target for such a texture: the same skip twice, and trustno1-coder#881 came first. So title_texture only sets the XOR addressing now, and its test checks what it gives: the layout addressed or not, at the right place and size.
|
#892 skipped the same copies in One thing for when both land, as Yoshi-233 found: the aligned |
|
Thanks for this. I'm closing it without merging because it conflicts with the current main in several places (main has moved a lot since it was opened, with about 100 pull requests merged today), and I can't resolve that safely on your behalf. If you'd still like it in, please rebase it on the current main and open a new pull request. |
Change
Skip texture readbacks when the destination layout cannot be tiled. Check after the command list deduplicates texture writes and before the
COPY_SOURCEtransition. This avoids allocating a readback buffer, recording the GPU copy and reading destination memory before the tiler rejects the layout. The first skip still logs the swizzle and sample count.RTX 2080 Ti context
An earlier RTX 2080 Ti run logged a texture copy that failed with
Unsupportedduring tiling. A run with our local early check logged a skip for swizzle 27. The heavier prologue sample spent a median 8.8 ms per frame in the overall copy-back stage at 1280×720 rendered to 1920×1080 with DLSS Quality and frame generation off. That timing covers the whole stage. A matched hardware FPS comparison for this patch is pending.Validation
victory-gpu, and the repository asset-policy check passed.