From 12ed4cafa1f23d4a98b24042af6590ecdc899fb3 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 7 Sep 2020 16:32:06 -0700 Subject: Added DILIGENT_NO_FORMAT_VALIDATION cmake option --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index df0c38a1..539cd6be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,6 +158,12 @@ endif() option(DILIGENT_NO_HLSL "Disable HLSL support in non-Direct3D backends" OFF) option(DILIGENT_NO_FORMAT_VALIDATION "Disable source code format validation" OFF) +if(PLATFORM_ANDROID) + set(DILIGENT_NO_DXC_SPIRV ON CACHE INTERNAL "" FORCE) +else() + option(DILIGENT_NO_DXC_SPIRV "Disable DXCompiler for Vulkan backends" OFF) +endif() + option(DILIGENT_NO_DIRECT3D11 "Disable Direct3D11 backend" OFF) option(DILIGENT_NO_DIRECT3D12 "Disable Direct3D12 backend" OFF) option(DILIGENT_NO_OPENGL "Disable OpenGL/GLES backend" OFF) -- cgit v1.2.3