Skip to content

Commit 7e17878

Browse files
Removed macro D3D12MA_OPTIONS16_SUPPORTED from the public interface
Also removed it from the Cmake script. It is now automatically determined based on D3D12_SDK_VERSION macro. Also made fixes in tests. Cherry-picked from branch "feature/resource-tight-alignment".
1 parent 9a0c279 commit 7e17878

5 files changed

Lines changed: 213 additions & 210 deletions

File tree

include/D3D12MemAlloc.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,8 +1123,6 @@ class D3D12MA_API Allocator : public IUnknownImpl
11231123
When true, you can use `D3D12_HEAP_TYPE_GPU_UPLOAD`.
11241124
11251125
This flag is fetched from `D3D12_FEATURE_D3D12_OPTIONS16::GPUUploadHeapSupported`.
1126-
1127-
`#define D3D12MA_OPTIONS16_SUPPORTED 1` is needed for the compilation of this library. Otherwise the flag is always false.
11281126
*/
11291127
BOOL IsGPUUploadHeapSupported() const;
11301128
/** \brief Returns total amount of memory of specific segment group, in bytes.

0 commit comments

Comments
 (0)