mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 00:17:03 +00:00
Rename CMakeLists variables NXT_* to DAWN_*
This commit is contained in:
committed by
Corentin Wallez
parent
4828d92df3
commit
f1ded9bea2
@@ -54,13 +54,13 @@ typedef struct {
|
||||
nxtTextureUsageBit textureUsage;
|
||||
} nxtSwapChainImplementation;
|
||||
|
||||
#if defined(NXT_ENABLE_BACKEND_D3D12) && defined(__cplusplus)
|
||||
#if defined(DAWN_ENABLE_BACKEND_D3D12) && defined(__cplusplus)
|
||||
typedef struct {
|
||||
nxtDevice device = nullptr;
|
||||
} nxtWSIContextD3D12;
|
||||
#endif
|
||||
|
||||
#if defined(NXT_ENABLE_BACKEND_METAL) && defined(__OBJC__)
|
||||
#if defined(DAWN_ENABLE_BACKEND_METAL) && defined(__OBJC__)
|
||||
#import <Metal/Metal.h>
|
||||
|
||||
typedef struct {
|
||||
@@ -68,12 +68,12 @@ typedef struct {
|
||||
} nxtWSIContextMetal;
|
||||
#endif
|
||||
|
||||
#ifdef NXT_ENABLE_BACKEND_OPENGL
|
||||
#ifdef DAWN_ENABLE_BACKEND_OPENGL
|
||||
typedef struct {
|
||||
} nxtWSIContextGL;
|
||||
#endif
|
||||
|
||||
#ifdef NXT_ENABLE_BACKEND_VULKAN
|
||||
#ifdef DAWN_ENABLE_BACKEND_VULKAN
|
||||
typedef struct {
|
||||
} nxtWSIContextVulkan;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user