summaryrefslogtreecommitdiffstats
path: root/Graphics/GLSLTools
diff options
context:
space:
mode:
authordom607 <jongjunlee84@gmail.com>2019-02-27 08:15:49 +0000
committerdom607 <jongjunlee84@gmail.com>2019-02-27 08:15:49 +0000
commit23094bb9472c2149bf4d693a807e06a579c1ec20 (patch)
tree5eacf6b72bca0998e35546a146fe5827c74231ec /Graphics/GLSLTools
parentAdded condition check routine on CMake to enable Vulcan on android. (diff)
downloadDiligentCore-23094bb9472c2149bf4d693a807e06a579c1ec20.tar.gz
DiligentCore-23094bb9472c2149bf4d693a807e06a579c1ec20.zip
Enable gals init and finalize on android platform. Remove unused header.
Diffstat (limited to 'Graphics/GLSLTools')
-rw-r--r--Graphics/GLSLTools/src/SPIRVUtils.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/Graphics/GLSLTools/src/SPIRVUtils.cpp b/Graphics/GLSLTools/src/SPIRVUtils.cpp
index 9f9a7d88..799270db 100644
--- a/Graphics/GLSLTools/src/SPIRVUtils.cpp
+++ b/Graphics/GLSLTools/src/SPIRVUtils.cpp
@@ -26,16 +26,7 @@
#include <memory>
#include <array>
-#if PLATFORM_ANDROID
- // Android specific include files.
-# include <unordered_map>
-
- // Header files.
-# include <android_native_app_glue.h>
-# include "shaderc/shaderc.hpp"
- // Static variable that keeps ANativeWindow and asset manager instances.
- //static android_app *Android_application = nullptr;
-#elif (defined(VK_USE_PLATFORM_IOS_MVK) || defined(VK_USE_PLATFORM_MACOS_MVK))
+#if (defined(VK_USE_PLATFORM_IOS_MVK) || defined(VK_USE_PLATFORM_MACOS_MVK))
# include <MoltenGLSLToSPIRVConverter/GLSLToSPIRVConverter.h>
#else
# include "SPIRV/GlslangToSpv.h"
@@ -56,16 +47,12 @@ namespace Diligent
void InitializeGlslang()
{
-#if !PLATFORM_ANDROID
glslang::InitializeProcess();
-#endif
}
void FinalizeGlslang()
{
-#if !PLATFORM_ANDROID
glslang::FinalizeProcess();
-#endif
}
EShLanguage ShaderTypeToShLanguage(SHADER_TYPE ShaderType)