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":
|
case "webgpu":
|
||||||
console.info("WebGPU is enabled.");
|
console.info("WebGPU is enabled.");
|
||||||
app.commandLine.appendSwitch("enable-unsafe-webgpu");
|
app.commandLine.appendSwitch("enable-unsafe-webgpu");
|
||||||
|
if (process.platform === "linux") {
|
||||||
|
app.commandLine.appendSwitch("enable-features", "Vulkan");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "disabled":
|
case "disabled":
|
||||||
|
@ -328,10 +331,10 @@ export class AppEvents {
|
||||||
|
|
||||||
{
|
{
|
||||||
visible: visible,
|
visible: visible,
|
||||||
label: 'track info',
|
label: 'track info',
|
||||||
enabled: false,
|
enabled: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
{type: 'separator'},
|
{type: 'separator'},
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue