mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-09-21 07:02:16 +00:00
30 lines
568 B
C
30 lines
568 B
C
|
#ifndef COMMON_H_
|
||
|
#define COMMON_H_
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
|
||
|
#define MATHFU_COMPILE_WITHOUT_SIMD_SUPPORT
|
||
|
#include <mathfu/glsl_mappings.h>
|
||
|
#include <mathfu/constants.h>
|
||
|
|
||
|
#include <fstream>
|
||
|
#include <vector>
|
||
|
#include <string>
|
||
|
#include <memory>
|
||
|
#include <algorithm>
|
||
|
#include <numeric>
|
||
|
#include <array>
|
||
|
#include <type_traits>
|
||
|
#include <utility>
|
||
|
|
||
|
#include <cmath>
|
||
|
#include <cassert>
|
||
|
#include <cstdlib>
|
||
|
#include <cstdio>
|
||
|
|
||
|
#define ERR_GUARD_VULKAN(Expr) do { VkResult res__ = (Expr); if (res__ < 0) assert(0); } while(0)
|
||
|
|
||
|
#endif // #ifdef _WIN32
|
||
|
|
||
|
#endif
|