add_subdirectory(OGL)
add_subdirectory(Null)
add_subdirectory(Software)

# Day-14 (wasm-dolphin): scaffold for a WebGPU video backend. Always
# built; the runtime registration in VideoBackendBase.cpp is gated on
# the HAS_WEBGPU build define which lights up for the Emscripten target
# only. Adding the lib here unconditionally keeps the source tree
# linting + IDE-friendly for non-wasm builds while not affecting them.
add_subdirectory(WebGPU)

if(WIN32)
  add_subdirectory(D3DCommon)
  add_subdirectory(D3D)
  add_subdirectory(D3D12)
endif()

if(APPLE)
  add_subdirectory(Metal)
endif()

if(ENABLE_VULKAN)
  add_subdirectory(Vulkan)
endif()
