Repository navigation
Conversation
Author
|
Closing this in favour of #683, which already implements the TEXTURE2DMSARRAY part of D3D-79 (thanks to @tylerstraub for pointing it out on the claim). The remaining TEXTURE1D/TEXTURE1DARRAY dimensions wait on #561 for 1D resource creation, as the coordinator marked in #313. The local branch and test will be removed; I'll release the claim in #634. Thanks for the review. AI-assisted (opencode). |
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.
D3D-79: depth-stencil view dimensions that the Vulkan device refused.
CreateDepthStencilView now maps Texture1D, Texture1DArray and Texture2DMSArray into TargetView (mip, first layer, layer count), alongside the existing 2D, 2DMS and 2DARRAY paths.
Added runtime/test/dsv_dimensions_test.cpp, registered as the
dsv_dimensionsctest. It checks the encoded TargetView for all three new dimensions from a synthetic 2D depth resource. Real 1D resources are still refused by the layer (D3D-63, #561), so this verifies descriptor encoding; end-to-end 1D coverage can follow when that lands.Tested: MSVC 19.51 (VS 18 Community), Vulkan SDK 1.4.357, NVIDIA GeForce RTX 3060 (12 GB, subgroup 32..32), driver 616.56, Windows 11 Pro 10.0.26100.
ctest --test-dir runtime/build-cmake -C RelWithDebInfo --output-on-failure: 28/28 pass, including the new test. The new test also passes with LEONIDA_VK_VALIDATION=1; the only extra output is loader noise from a stale Epic overlay layer JSON. No game files were used.Claimed in #634: #634 (comment)
AI-assisted (opencode): it wrote the implementation and the test; I reviewed the diff and the results.