DXIncludes.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // //
  3. // DXIncludes.h //
  4. // Copyright (C) Microsoft Corporation. All rights reserved. //
  5. // This file is distributed under the University of Illinois Open Source //
  6. // License. See LICENSE.TXT for details. //
  7. // //
  8. // This is a common include for DXBC/Windows related things. //
  9. // //
  10. // IMPORTANT: do not add LLVM/Clang or DXIL files to this file. //
  11. // //
  12. ///////////////////////////////////////////////////////////////////////////////
  13. #pragma once
  14. // This is a platform-specific file.
  15. // Do not add LLVM/Clang or DXIL files to this file.
  16. #define NOMINMAX 1
  17. #define WIN32_LEAN_AND_MEAN 1
  18. #define VC_EXTRALEAN 1
  19. #include <windows.h>
  20. #include <strsafe.h>
  21. #include <dxgitype.h>
  22. #include <d3dcommon.h>
  23. #include <d3d11.h>
  24. #include <d3d12.h>
  25. #include "dxc/Support/d3dx12.h"
  26. #include "DxbcSignatures.h"
  27. #include <d3dcompiler.h>
  28. #include <wincrypt.h>
  29. #ifndef DECODE_D3D10_SB_TOKENIZED_PROGRAM_TYPE
  30. #include <d3d12TokenizedProgramFormat.hpp>
  31. #endif
  32. #include <ShaderBinary/ShaderBinary.h>