Repository navigation
Conversation
…ier 1 host Both tests build heaps that allow buffers and textures together, which is a tier 2 heap. A tier 1 host (NVIDIA Pascal, ProjectLeonida#4420) refuses it, so the host comparison failed there although the layer behaves as intended. - d3d12_heap_properties: on a tier 1 host, the host's E_INVALIDARG for a placed case on a mixed heap is reported and not compared. - d3d12_method_variants: each placed case gets a heap that holds only its own resource kind, valid on every tier, so the host answers are still compared on Pascal.
|
Tested
AI-assisted (Claude Code), no game files. |
Contributor
|
Tested
AI-assisted (Claude Code). |
2 tasks done
This was referenced Nov 23, 2026
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.
Claim: #7333 comment (new item). Part of #4420.
What and why
d3d12_heap_propertiesandd3d12_method_variantsbuild heaps that allow buffers and textures together (D3D12_HEAP_FLAG_ALLOW_ALL_BUFFERS_AND_TEXTURES/D3D12_HEAP_FLAG_NONE). That is a resource heap tier 2 heap. A tier 1 host (NVIDIA Pascal) refuses it withE_INVALIDARG, so on Pascal the host comparison fails even though the layer behaves as intended:d3d12_heap_properties:placed buffer/texture, DEFAULT heap, ALLOW_ALL: created: ours 0x0 host 0x80070057 MISMATCHd3d12_method_variants: the host can't create the sharedFLAG_NONEplaced heap, so everyCreatePlacedResource2case returnsE_INVALIDARGthere. The first case that expectsS_OKstops the test:CreatePlacedResource2, valid clear value on RT: ours 00000000, host runtime 80070057.#5000 handles the same cause in
d3d12_vulkan_deviceonly. This PR covers the other two tests and changes only them:d3d12_heap_properties: on a tier 1 host (D3D12_OPTIONS.ResourceHeapTier), a placed case whose heap allows more than one resource kind, which the layer creates and the host refuses withE_INVALIDARG, is printed and not compared. Every other value is compared as before.d3d12_method_variants: each placed case gets a default heap that holds only its own resource kind (ALLOW_ONLY_BUFFERS,ALLOW_ONLY_NON_RT_DS_TEXTURESorALLOW_ONLY_RT_DS_TEXTURES, chosen from the description). The same applies to the host-sized heaps. These heaps are valid on every tier, so the host answers are still compared on Pascal instead of being skipped. The expected answers are unchanged.Tested
NVIDIA GeForce GTX 1070 (Pascal, resource heap tier 1), driver 582.78, Windows 11 build 26300, VS 2022 Build Tools (MSVC, Ninja, RelWithDebInfo), Vulkan SDK 1.4.363.0. Synthetic only, no game files.
main8575d36ewith this PR: both tests pass.heap_propertiesprintshost resource heap tier 1, reports the two mixed-heap cases as not compared, and gives527 values compared with the host (34 more not compared), 0 mismatches.main+ runtime: fall back to staging copies when a HOST_TRANSFER image has no memory type (TEST-995) #4682 + cs_indirect_dispatch_count: read the root UAV from s4:s5, as #4312 moved it (#6162) #7133 + Runtime: report resource heap tier 2, which CreateHeap already implements (D3D-504) #5000 + d3d12_vulkan_device: check PC CreateReservedResource2 behind the Xbox proxy, not through slot 78 #7125 + this PR: all six Pascal failures from NVIDIA GTX 1060 (Pascal, 582.78): three runtime GPU tests fail on clean main #4420 pass (d3d12_vulkan_device,d3d12_r9g9b9e5_uav,d3d12_method_variants,d3d12_indirect_dispatch_count,d3d12_subresource_copy,d3d12_heap_properties).Not run here: a tier 2 host. There
heap_propertiestakes the old path unchanged.method_variantsnow places into single-kind heaps on every host, so a run on any RTX 20-series or newer, or RDNA, would confirm the expected answers still hold.AI-assisted.