You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Fix DX12 build on older MSVC versions, fix missing PIX include.
This commit is contained in:
@@ -78,6 +78,17 @@ extern "C" {
|
||||
#undef UNUSED
|
||||
#endif
|
||||
|
||||
#ifdef PIX_ENABLED
|
||||
#if defined(__GNUC__)
|
||||
#define _MSC_VER 1800
|
||||
#endif
|
||||
#define USE_PIX
|
||||
#include "WinPixEventRuntime/pix3.h"
|
||||
#if defined(__GNUC__)
|
||||
#undef _MSC_VER
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static const D3D12_RANGE VOID_RANGE = {};
|
||||
|
||||
static const uint32_t ROOT_CONSTANT_SPACE = RDD::MAX_UNIFORM_SETS + 1;
|
||||
|
||||
Reference in New Issue
Block a user