diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2021-06-22 02:38:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 02:38:30 +0200 |
commit | ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd (patch) | |
tree | 33d7d2673ba0da8a92323b07d061f655c719ae40 /external/optick/optick.config.h | |
parent | Merge pull request #44 from LaG1924/fix/protocol_support (diff) | |
parent | Updated build instructions and added MacOS #49 (diff) | |
download | AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar.gz AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar.bz2 AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar.lz AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar.xz AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.tar.zst AltCraft-ca7bcf9f7dc5eb47ccbec1049b323f0604dabadd.zip |
Diffstat (limited to 'external/optick/optick.config.h')
-rw-r--r-- | external/optick/optick.config.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/external/optick/optick.config.h b/external/optick/optick.config.h deleted file mode 100644 index dcc6e98..0000000 --- a/external/optick/optick.config.h +++ /dev/null @@ -1,51 +0,0 @@ -#pragma once - -#define OPTICK_ENABLE_GPU_D3D12 false -#define OPTICK_ENABLE_GPU_VULKAN false - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// GLOBAL SETTINGS -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// [x] USE_OPTICK - (Master Switch) -// [x] OPTICK_ENABLE_TRACING - (Enable Kernel-level tracing) -// [x] OPTICK_ENABLE_GPU_D3D12 - (GPU D3D12) -// [ ] OPTICK_ENABLE_GPU_VULKAN - (GPU VULKAN) -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// MASTER SWITCH - use it for disabling profiler in final builds // -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#if !defined(USE_OPTICK) -#define USE_OPTICK (1) -#endif -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Enable Low-level platform-specific tracing (Switch Contexts, Autosampling, etc.) -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#if !defined(OPTICK_ENABLE_TRACING) -#define OPTICK_ENABLE_TRACING (USE_OPTICK /*&& 0*/) -#endif //OPTICK_ENABLE_TRACING -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// GPU Counters -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#if !defined(OPTICK_ENABLE_GPU) -#define OPTICK_ENABLE_GPU (USE_OPTICK /*&& 0*/) -#endif //OPTICK_ENABLE_GPU - -// D3D12 -#if !defined(OPTICK_ENABLE_GPU_D3D12) -#if defined(_MSC_VER) -#define OPTICK_ENABLE_GPU_D3D12 (OPTICK_ENABLE_GPU /*&& 0*/) -#else -#define OPTICK_ENABLE_GPU_D3D12 (0) -#endif -#endif - -// VUKLAN -#if !defined(OPTICK_ENABLE_GPU_VULKAN) -#define OPTICK_ENABLE_GPU_VULKAN (OPTICK_ENABLE_GPU && 0) -#endif - |