Skip to content

Commit

Permalink
Use DILIGENT_CONSTEXPR
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Sep 14, 2023
1 parent 77ed652 commit 9658e53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions RenderStateNotation/interface/RenderStateNotationLoader.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019-2022 Diligent Graphics LLC
* Copyright 2019-2023 Diligent Graphics LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -201,7 +201,7 @@ typedef struct LoadPipelineStateInfo LoadPipelineStateInfo;
// clang-format on

// {FD9B12C5-3BC5-4729-A2B4-924DF374B3D3}
static const INTERFACE_ID IID_RenderStateNotationLoader = {0xFD9B12C5, 0x3BC5, 0x4729, {0xA2, 0xB4, 0x92, 0x4D, 0xF3, 0x74, 0xB3, 0xD3}};
static DILIGENT_CONSTEXPR INTERFACE_ID IID_RenderStateNotationLoader = {0xFD9B12C5, 0x3BC5, 0x4729, {0xA2, 0xB4, 0x92, 0x4D, 0xF3, 0x74, 0xB3, 0xD3}};

#define DILIGENT_INTERFACE_NAME IRenderStateNotationLoader
#include "../../../DiligentCore/Primitives/interface/DefineInterfaceHelperMacros.h"
Expand Down
4 changes: 2 additions & 2 deletions RenderStateNotation/interface/RenderStateNotationParser.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019-2022 Diligent Graphics LLC
* Copyright 2019-2023 Diligent Graphics LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -389,7 +389,7 @@ typedef struct RenderStateNotationParserCreateInfo RenderStateNotationParserCrea
// clang-format on

// {355AC9f7-5D9D-423D-AE35-80E0028DE17E}
static const INTERFACE_ID IID_RenderStateNotationParser = {0x355AC9F7, 0x5D9D, 0x423D, {0xAE, 0x35, 0x80, 0xE0, 0x02, 0x8D, 0xE1, 0x7E}};
static DILIGENT_CONSTEXPR INTERFACE_ID IID_RenderStateNotationParser = {0x355AC9F7, 0x5D9D, 0x423D, {0xAE, 0x35, 0x80, 0xE0, 0x02, 0x8D, 0xE1, 0x7E}};

#define DILIGENT_INTERFACE_NAME IRenderStateNotationParser
#include "../../../DiligentCore/Primitives/interface/DefineInterfaceHelperMacros.h"
Expand Down
2 changes: 1 addition & 1 deletion TextureLoader/interface/TextureLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ typedef struct TextureLoadInfo TextureLoadInfo;


// {E04FE6D5-8665-4183-A872-852E0F7CE242}
static const struct INTERFACE_ID IID_TextureLoader =
static DILIGENT_CONSTEXPR struct INTERFACE_ID IID_TextureLoader =
{0xe04fe6d5, 0x8665, 0x4183, {0xa8, 0x72, 0x85, 0x2e, 0xf, 0x7c, 0xe2, 0x42}};

#define DILIGENT_INTERFACE_NAME ITextureLoader
Expand Down

0 comments on commit 9658e53

Please sign in to comment.