webgpu works on linux now
Signed-off-by: Core <core@coredev.uk>
This commit is contained in:
parent
588a960965
commit
fff57f23ac
1 changed files with 6 additions and 3 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue