GPU: count one alias-seed subresource per Texture3D mip #2862
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2862"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ghptc on 2026-11-29T18:17:49Z.
Problem
seed_pendingtreatedDepthOrArraySizeas an array layer count for every texture. A 3D texture has one subresource per mip in this copy path. Its depth slices are part of that mip's footprint. The alias seed could therefore planCopyTextureRegionwith out-of-range subresource indices.Change
Use one layer for a
TEXTURE3Dalias seed. Keep the full footprint depth and existing 2D array indexing. Reject mismatched dimensions and depth or layer counts, or a destination with more mips, before requesting footprints.The change is limited to the placed-alias seed path introduced by #1504. The mip-only count follows the same 3D rule used in the separate readback work in #876.
Verification
The fixtures use generated data. The copy timings describe the corrected fixture, with no baseline GPU timing comparison or attribution to retail scene artifacts.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.