File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.25 )
2
2
3
- project (D3D12MemoryAllocator VERSION 3.0.1 )
3
+ project (D3D12MemoryAllocator VERSION 3.0.2 )
4
4
5
5
set_property (GLOBAL PROPERTY USE_FOLDERS ON )
6
6
Original file line number Diff line number Diff line change 24
24
25
25
/* * \mainpage D3D12 Memory Allocator
26
26
27
- <b>Version 3.0.1 </b> (2025-05-08 )
27
+ <b>Version 3.0.2 </b> (2025-XX-XX )
28
28
29
29
Copyright (c) 2019-2025 Advanced Micro Devices, Inc. All rights reserved. \n
30
30
License: MIT
Original file line number Diff line number Diff line change @@ -7793,7 +7793,9 @@ HRESULT AllocatorPimpl::GetResourceAllocationInfo(
7793
7793
7794
7794
#if D3D12MA_USE_SMALL_RESOURCE_PLACEMENT_ALIGNMENT
7795
7795
if (inOutResourceDesc.Alignment == 0 &&
7796
- inOutResourceDesc.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE2D &&
7796
+ (inOutResourceDesc.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE1D ||
7797
+ inOutResourceDesc.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE2D ||
7798
+ inOutResourceDesc.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE3D) &&
7797
7799
(inOutResourceDesc.Flags & (D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET | D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL)) == 0
7798
7800
#if D3D12MA_USE_SMALL_RESOURCE_PLACEMENT_ALIGNMENT == 1
7799
7801
&& CanUseSmallAlignment (inOutResourceDesc)
You can’t perform that action at this time.
0 commit comments