Skip to content

Commit

Permalink
Merge pull request #27 from slangbot/format-5993-fix/explicitly_set_D…
Browse files Browse the repository at this point in the history
…3D12SDKPath

Format code for PR #5993
  • Loading branch information
jkwak-work authored Jan 3, 2025
2 parents a444b58 + ffb052d commit 3b959cf
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tools/slang-test/slang-test-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,16 @@ using namespace Slang;

#if defined(_WIN32)
// https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/#2.-set-agility-sdk-parameters
extern "C" { __declspec(dllexport) extern const uint32_t D3D12SDKVersion = 711; }
extern "C" { __declspec(dllexport) extern const char* D3D12SDKPath = u8".\\D3D12\\"; }

extern "C"
{
__declspec(dllexport) extern const uint32_t D3D12SDKVersion = 711;
}

extern "C"
{
__declspec(dllexport) extern const char* D3D12SDKPath = u8".\\D3D12\\";
}
#endif

// Options for a particular test
Expand Down

0 comments on commit 3b959cf

Please sign in to comment.