Change the API prefix in generators from nxt to dawn

This commit is contained in:
Corentin Wallez
2018-07-18 15:12:52 +02:00
committed by Corentin Wallez
parent ae79c03d45
commit b1669e3fa4
43 changed files with 541 additions and 541 deletions

View File

@@ -40,8 +40,8 @@ typedef struct {
/// Configure/reconfigure the swap chain.
dawnSwapChainError (*Configure)(void* userData,
nxtTextureFormat format,
nxtTextureUsageBit allowedUsage,
dawnTextureFormat format,
dawnTextureUsageBit allowedUsage,
uint32_t width,
uint32_t height);
@@ -55,12 +55,12 @@ typedef struct {
void* userData;
/// For use by the D3D12 and Vulkan backends: how the swapchain will use the texture.
nxtTextureUsageBit textureUsage;
dawnTextureUsageBit textureUsage;
} dawnSwapChainImplementation;
#if defined(DAWN_ENABLE_BACKEND_D3D12) && defined(__cplusplus)
typedef struct {
nxtDevice device = nullptr;
dawnDevice device = nullptr;
} dawnWSIContextD3D12;
#endif