Repository navigation
Conversation
Tiled texture pools map sampled and attachment textures. Disallow buffers so the host can allocate the pool without a buffer compatibility requirement. Assisted-by: OpenAI Codex (GPT-6.2-Sol high)
Owner
Author
|
Upstream PR xcl-dev#1142 was closed or merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The tiled texture pool allocates heaps for sampled, render-target and depth-stencil textures. It currently asks the host for buffer support as well. On vkd3d-proton the all-resource heap uses a global buffer and requests a buffer device address. Mark the pool as
D3D12_HEAP_FLAG_DENY_BUFFERSso the host can allocate for both texture classes.What is in it
vram.rspage heaps to the two texture categories and test the actual driver heap flags.Tested
11.0-20261112, vkd3d-proton v3.14522cc1with [upstream #1899] D3D12.X: forget released command queues from vram::Pages::waited #257 and dxil-spirv1dc543f.tiled_texture_pool_allows_both_texture_classes_and_denies_buffersfailed on main with driver-reported flags0and passed with flags4on head.placed_title_textures_share_vram_and_preserve_pixelsandd32s8_targets_take_their_own_size_of_video_memoryeach passed under Proton.cargo xwin test --locked --release --target x86_64-pc-windows-msvc --workspace --no-run, then ran all 18 test binaries with--test-threads=4 --nocapture. Main reported 736 passed and head 737. Both returned the same 5 failures (two audio voice tests, window cloaking, PLS missing-path code and native copy predication) and 41 ignored. Two wave64 and two debug-layer checks reportedSKIPPEDand are included in the passing count. Optional retail fixtures were unset.Regression run
Not tested
Native Windows and AMD hardware were unavailable locally. The retail smoke run covered early startup.
AI use
OpenAI Codex with GPT-6.2-Sol high investigated the heap usage, wrote the change and regression, ran the tests and drafted this report.
Mirror of xcl-dev#1142 (auto-synced, do not edit).