From fff57f23accd6dc077e5a3fd06cac7fef310fb0d Mon Sep 17 00:00:00 2001 From: Core Date: Tue, 13 Sep 2022 18:07:23 +0100 Subject: [PATCH] webgpu works on linux now Signed-off-by: Core --- src/main/base/app.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/base/app.ts b/src/main/base/app.ts index 2b9a5d6a..3fff0e52 100644 --- a/src/main/base/app.ts +++ b/src/main/base/app.ts @@ -78,6 +78,9 @@ export class AppEvents { case "webgpu": console.info("WebGPU is enabled."); app.commandLine.appendSwitch("enable-unsafe-webgpu"); + if (process.platform === "linux") { + app.commandLine.appendSwitch("enable-features", "Vulkan"); + } break; case "disabled": @@ -328,10 +331,10 @@ export class AppEvents { { visible: visible, - label: 'track info', - enabled: false, + label: 'track info', + enabled: false, }, - + {type: 'separator'}, */