Prevent clang-format from moving d3d12_nvapi above the require d3d12 headers

This commit is contained in:
chss95cs@gmail.com 2022-09-11 14:35:33 -07:00
parent 20638c2e61
commit 0fd4a2533b
1 changed files with 5 additions and 1 deletions

View File

@ -12,9 +12,13 @@
#include <memory> #include <memory>
#include "xenia/gpu/d3d12/d3d12_nvapi.hpp"
#include "xenia/ui/d3d12/d3d12_api.h" #include "xenia/ui/d3d12/d3d12_api.h"
#include "xenia/ui/graphics_provider.h" #include "xenia/ui/graphics_provider.h"
// chrispy: this is here to prevent clang format from moving d3d12_nvapi above
// the headers it depends on
#define HEADERFENCE
#undef HEADERFENCE
#include "xenia/gpu/d3d12/d3d12_nvapi.hpp"
#define XE_UI_D3D12_FINE_GRAINED_DRAW_SCOPES 1 #define XE_UI_D3D12_FINE_GRAINED_DRAW_SCOPES 1
namespace xe { namespace xe {