diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-15 13:11:06 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-15 13:11:06 -0400 |
| commit | ec4541dd78f4e2a58b679b20740f323d8ce76698 (patch) | |
| tree | e86b7bbafc74c68683617904bf77092fc6361c05 /src/components/UsageInstructions.tsx | |
| parent | 192c6ece06e1a400ca3a559f47001324150a96ea (diff) | |
| download | decky-lsfg-vk-ec4541dd78f4e2a58b679b20740f323d8ce76698.tar.gz decky-lsfg-vk-ec4541dd78f4e2a58b679b20740f323d8ce76698.zip | |
add disable_vkbasalt=1 defaulted, hidden ui to expose to users later if desired
Diffstat (limited to 'src/components/UsageInstructions.tsx')
| -rw-r--r-- | src/components/UsageInstructions.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/UsageInstructions.tsx b/src/components/UsageInstructions.tsx index a826d3d..ca9ddd2 100644 --- a/src/components/UsageInstructions.tsx +++ b/src/components/UsageInstructions.tsx @@ -8,6 +8,7 @@ interface ConfigType { hdr: boolean; perfMode: boolean; immediateMode: boolean; + disableVkbasalt: boolean; } interface UsageInstructionsProps { @@ -41,6 +42,10 @@ export function UsageInstructions({ config }: UsageInstructionsProps) { envVars.push("MESA_VK_WSI_PRESENT_MODE=immediate"); } + if (config.disableVkbasalt) { + envVars.push("DISABLE_VKBASALT=1"); + } + return envVars.length > 0 ? `${envVars.join(" ")} %command%` : "%command%"; }; |
