metal: initial support

This commit is contained in:
Samuliak
2024-04-05 06:35:06 +02:00
parent 77e9b7b59b
commit 7ea460a800
21 changed files with 533 additions and 5 deletions

View File

@@ -372,6 +372,12 @@ if (APPLE)
renderer_opengl/util_shaders.cpp
renderer_opengl/util_shaders.h
)
list(APPEND sources
renderer_metal/mtl_device.mm
renderer_metal/mtl_rasterizer.mm
renderer_metal/renderer_metal.mm
)
endif()
add_library(video_core STATIC ${sources})