Merged tight alignment feature from a branch#81
Merged
jlacroixAMD merged 13 commits intoGPUOpen-LibrariesAndSDKs:masterfrom Sep 30, 2025
Merged
Merged tight alignment feature from a branch#81jlacroixAMD merged 13 commits intoGPUOpen-LibrariesAndSDKs:masterfrom
jlacroixAMD merged 13 commits intoGPUOpen-LibrariesAndSDKs:masterfrom
Conversation
Added macro D3D12MA_TIGHT_ALIGNMENT_SUPPORTED, flag ALLOCATOR_FLAG_DONT_USE_TIGHT_ALIGNMENT, function Allocator::IsTightAlignmentSupported.
…t alignment is used
Because this is the alignment required for constant buffers.
…UPPORTED from the public interface Also removed them from the Cmake script. They are now automatically determined based on D3D12_PREVIEW_SDK_VERSION, D3D12_SDK_VERSION macro. Also made fixes in tests.
Also other fixes in the documentation. Updated Doxyfile to the new Doxygen version. Regenerated the docs.
…as committed Which is expected unless tight alignment is enabled.
…m 256B Added macro D3D12MA_DEFAULT_ALIGNMENT. Improvements in TestTightAlignment. Reverted "Removed mention of tight alignment from docs on this branch". Rebuilt the docs.
For cases where various flags are used as g_AllocatorFlags.
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.
Supported in the latest Agility SDK 1.618.1 retail.