Skip to content

Commit ea1c6ac

Browse files
MikhailGorobetsTheMostDiligent
authored andcommitted
Enable SuperResolution by default
1 parent f5e24e9 commit ea1c6ac

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

CMakeLists.txt

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ set(VULKAN_SUPPORTED FALSE CACHE INTERNAL "Vulkan is not supported")
5959
set(METAL_SUPPORTED FALSE CACHE INTERNAL "Metal is not supported")
6060
set(WEBGPU_SUPPORTED FALSE CACHE INTERNAL "WebGPU is not supported")
6161
set(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

6464
set(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)
181181
endif()
182182

183183
if(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)
190189
elseif(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)
203202
elseif(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)
209207
elseif(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)
213210
elseif(PLATFORM_TVOS)
214211
target_compile_definitions(Diligent-PublicBuildSettings INTERFACE PLATFORM_TVOS=1 PLATFORM_APPLE=1)

0 commit comments

Comments
 (0)