@@ -59,7 +59,7 @@ set(VULKAN_SUPPORTED FALSE CACHE INTERNAL "Vulkan is not supported")
5959set (METAL_SUPPORTED FALSE CACHE INTERNAL "Metal is not supported" )
6060set (WEBGPU_SUPPORTED FALSE CACHE INTERNAL "WebGPU is not supported" )
6161set (ARCHIVER_SUPPORTED FALSE CACHE INTERNAL "Archiver is not supported" )
62- set (SUPER_RESOLUTION_SUPPORTED FALSE CACHE INTERNAL "Super resolution is not supported" )
62+ set (SUPER_RESOLUTION_SUPPORTED TRUE CACHE INTERNAL "Super resolution is supported" )
6363
6464set (DILIGENT_CORE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR} " CACHE INTERNAL "DiligentCore module source directory" )
6565
@@ -137,7 +137,7 @@ else()
137137 message ("Target platform: tvOS " ${ARCH} )
138138 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Emscripten" )
139139 set (PLATFORM_WEB TRUE CACHE INTERNAL "Target platform: Web" )
140- set (PLATFORM_EMSCRIPTEN TRUE CACHE INTERNAL "Build with Emscritpen " )
140+ set (PLATFORM_EMSCRIPTEN TRUE CACHE INTERNAL "Build with Emscripten " )
141141 message ("Target platform: Web " ${ARCH} )
142142 else ()
143143 message (FATAL_ERROR "Unsupported platform" )
@@ -181,11 +181,10 @@ if(MINGW)
181181endif ()
182182
183183if (PLATFORM_WIN32)
184- set (GL_SUPPORTED TRUE CACHE INTERNAL "OpenGL is supported on Win32 platform" )
185- set (VULKAN_SUPPORTED TRUE CACHE INTERNAL "Vulkan is supported on Win32 platform" )
186- set (WEBGPU_SUPPORTED TRUE CACHE INTERNAL "WebGPU is supported on Win32 platform" )
187- set (ARCHIVER_SUPPORTED TRUE CACHE INTERNAL "Archiver is supported on Win32 platform" )
188- set (SUPER_RESOLUTION_SUPPORTED TRUE CACHE INTERNAL "Super resolution is supported on Win32 platform" )
184+ set (GL_SUPPORTED TRUE CACHE INTERNAL "OpenGL is supported on Win32 platform" )
185+ set (VULKAN_SUPPORTED TRUE CACHE INTERNAL "Vulkan is supported on Win32 platform" )
186+ set (WEBGPU_SUPPORTED TRUE CACHE INTERNAL "WebGPU is supported on Win32 platform" )
187+ set (ARCHIVER_SUPPORTED TRUE CACHE INTERNAL "Archiver is supported on Win32 platform" )
189188 target_compile_definitions (Diligent-PublicBuildSettings INTERFACE PLATFORM_WIN32=1 )
190189elseif (PLATFORM_UNIVERSAL_WINDOWS)
191190 set (ARCHIVER_SUPPORTED TRUE CACHE INTERNAL "Archiver is supported on Universal Windows platform" )
@@ -201,14 +200,12 @@ elseif(PLATFORM_LINUX)
201200 set (ARCHIVER_SUPPORTED TRUE CACHE INTERNAL "Archiver is supported on Linux platform" )
202201 target_compile_definitions (Diligent-PublicBuildSettings INTERFACE PLATFORM_LINUX=1 )
203202elseif (PLATFORM_MACOS)
204- set (GL_SUPPORTED TRUE CACHE INTERNAL "OpenGL is supported on MacOS platform" )
205- set (VULKAN_SUPPORTED TRUE CACHE INTERNAL "Vulkan is enabled through MoltenVK on MacOS platform" )
206- set (ARCHIVER_SUPPORTED TRUE CACHE INTERNAL "Archiver is supported on MacOS platform" )
207- set (SUPER_RESOLUTION_SUPPORTED TRUE CACHE INTERNAL "Super resolution is supported on MacOS platform" )
203+ set (GL_SUPPORTED TRUE CACHE INTERNAL "OpenGL is supported on MacOS platform" )
204+ set (VULKAN_SUPPORTED TRUE CACHE INTERNAL "Vulkan is enabled through MoltenVK on MacOS platform" )
205+ set (ARCHIVER_SUPPORTED TRUE CACHE INTERNAL "Archiver is supported on MacOS platform" )
208206 target_compile_definitions (Diligent-PublicBuildSettings INTERFACE PLATFORM_MACOS=1 PLATFORM_APPLE=1 )
209207elseif (PLATFORM_IOS)
210- set (GLES_SUPPORTED TRUE CACHE INTERNAL "OpenGLES is supported on iOS platform" )
211- set (SUPER_RESOLUTION_SUPPORTED TRUE CACHE INTERNAL "Super resolution is supported on iOS platform" )
208+ set (GLES_SUPPORTED TRUE CACHE INTERNAL "OpenGLES is supported on iOS platform" )
212209 target_compile_definitions (Diligent-PublicBuildSettings INTERFACE PLATFORM_IOS=1 PLATFORM_APPLE=1 )
213210elseif (PLATFORM_TVOS)
214211 target_compile_definitions (Diligent-PublicBuildSettings INTERFACE PLATFORM_TVOS=1 PLATFORM_APPLE=1 )
0 commit comments