Adding extra changes to make kompute work with older version of vulkan

This commit is contained in:
Alejandro Saucedo 2020-10-03 10:55:53 +01:00
parent ec2ca803d3
commit ce07b33c28
4 changed files with 89 additions and 25 deletions

View file

@ -1,5 +1,20 @@
#pragma once
#include <vulkan/vulkan.h>
#if defined(VK_USE_PLATFORM_ANDROID_KHR)
#include <android/log.h>
#include <android_native_app_glue.h>
#endif
//#define VK_NO_PROTOTYPES 1
//#undef VK_NO_PROTOTYPES
#undef DEBUG
#ifndef RELEASE
#define RELEASE 1
#endif
//#define USE_DEBUG_EXTENTIONS
//#include <kompute_vulkan_wrapper.hpp>
//#undef VK_NO_PROTOTYPES
#include <vulkan/vulkan.hpp>
// SPDLOG_ACTIVE_LEVEL must be defined before spdlog.h import