WebGPU - Add support for wgpu (#3899)
This commit is contained in:
6
vendor/dawn.cmake
vendored
6
vendor/dawn.cmake
vendored
@@ -76,12 +76,6 @@ target_include_directories(mbgl-vendor-dawn
|
||||
${DAWN_BUILD_DIR}/gen/include
|
||||
)
|
||||
|
||||
target_compile_definitions(mbgl-vendor-dawn
|
||||
INTERFACE
|
||||
MLN_WITH_DAWN=1
|
||||
WEBGPU_BACKEND_DAWN=1
|
||||
)
|
||||
|
||||
if(APPLE)
|
||||
target_compile_definitions(mbgl-vendor-dawn INTERFACE DAWN_ENABLE_BACKEND_METAL=1)
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user