Repository navigation
Conversation
|
Listed UNORM and sRGB SRVs return distinct, correct pixels. I found two gaps at view creation. Tested I created one 8×8 committed
Rebinding the second slot to a UNORM view of that image produced exactly 64 mismatches against the same oracle, all in the second view. Both runs had zero validation errors.
|
1fc723c to
5f786b5
Compare
|
Both gaps are fixed in 5f786b5, rebased onto current main.
I added coverage for the unlisted SRGB view and the listed UINT-to-R32 cast. Local |
|
One CI note: the remaining red
|
|
Retested both reported SRV cases at
The checked-in AI-assisted verification with Codex. |
|
Tested 5f786b5 on an NVIDIA GeForce RTX 4090 (driver 617.14, Vulkan 1.4.351), Windows 10 Home 22H2 (19045), MSVC 19.39, Windows SDK 10.0.26100, Vulkan SDK 1.4.363.0, Ninja RelWithDebInfo,
One question I couldn't settle by test: every castable list in the test includes the resource's own format. D3D12 doesn't require that, but Vulkan does once a AI-assisted (Claude Code); repository tests only, no game files. |
|
Fixed at Added a validation-run case: an With Vulkan validation enabled, |
5f786b5 to
d318dc8
Compare
078edb0 to
1f36c85
Compare
|
Tested 1f36c85 on RTX 4090 (driver 621.14), Windows 11 26200, MSVC 19.44: pass (no regression against main).
The |
Keep the creation-time castable list on the resource, reject an SRV format that is neither the resource format nor listed, and allow listed same-size cross-family casts such as R8G8B8A8_UINT to R32_UINT.
1f36c85 to
67407d6
Compare
|
Tested #693 at d3d12_vulkan_device_test: All host comparisons match
ctest: 32/33 PASS with Note: Exit code 1 from AI-assisted. |
|
@Ayinaki, I tested the committed-texture format-list path at I’d like to build a small follow-up on your change once it lands. Today Do you already have this reserved-resource case in progress? I can contribute the forwarding change and synthetic regression separately after #693. The scope is the existing backed reserved-texture path and SRV readback. Sparse residency and the placed-resource implementation remain separate. AI-assisted, synthetic data only. |
quackottu
left a comment
There was a problem hiding this comment.
Tested 67407d6 on NVIDIA GeForce RTX 5070, driver 621.24, Windows 11 Pro (26300), VS 2022 Build Tools, Vulkan SDK 1.4.363.0, with LEONIDA_VK_VALIDATION=1 and LEONIDA_D3D12=vulkan: pass
ctest -C RelWithDebInfo: 100% tests passed, 0 tests failed out of 32d3d12_method_variants_test(changed here): exit=0 validation=0 | [rt] d3d12: view format not in the resource's castable list: 29gfx10_descriptors_test(changed here): exit=0 validation=0 | GFX10 descriptors: T#, S# and V# fields, round trips, 93 format rows and the Vulkan mappings OK- 33 test programs in the build pass with 0 validation errors
- Not run (they take an input file, not covered here): vk_binary_occlusion_test
d3d12_clear_testfails (R8G8B8A8_UNORM/SNORM 0.5 ties and a D16 clear byte differ from WARP) exactly as onmain4a36bb1 here, so not from this PR; #521 addresses it
Implicit Vulkan layers (overlays) were off through an empty VK_IMPLICIT_LAYER_PATH.
|
Closing as already on Checked against current |
Part of D3D-85 / #634.
D3D12_OPTIONS12:RelaxedFormatCastingSupported = TRUE,EnhancedBarriersSupported = TRUE, andMSPrimitivesPipelineStatisticIncludesCulledPrimitives = UNKNOWN.CreateCommittedResource3maps a castable-format list to a mutable Vulkan image withVkImageFormatListCreateInfo; unmapped formats areE_INVALIDARG.CreatePlacedResource2andCreateHeapremain absent and wait on Runtime: CreateHeap and CreatePlacedResource on the Vulkan layer (D3D-16) #286 (D3D-16).d3d12_method_variants_test,d3d12_vulkan_device_test,d3d12_descriptor_test, andd3d12_typeless_rtv_testpass.d3d12_clear_testhas an unrelated pre-existing format-28 WARP mismatch that also fails on the d3d12: create 1D textures and 1D arrays #561 worktree.No game files.