summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2025-08-07 14:32:43 -0400
committerGitHub <noreply@github.com>2025-08-07 14:32:43 -0400
commit6489f2273fc246fcca25e95d913e60ea214e0d31 (patch)
tree86f4e4f3f032ea8516a1e1965ab3ef376f83f87d /src/components
parentdd8a192075fa89606e2d4fcb96094939735da502 (diff)
parentbb0382dd2be4a548f79d6cd48b0e87fbee3cd1a2 (diff)
downloaddecky-lsfg-vk-6489f2273fc246fcca25e95d913e60ea214e0d31.tar.gz
decky-lsfg-vk-6489f2273fc246fcca25e95d913e60ea214e0d31.zip
Merge pull request #127 from xXJSONDeruloXx/fp16v0.10.1
feat: groundwork for fp16 feature in lsfg-vk
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ConfigurationSection.tsx11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index 93d13a3..31ce278 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -4,7 +4,7 @@ import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri";
import { ConfigurationData } from "../config/configSchema";
import { FpsMultiplierControl } from "./FpsMultiplierControl";
import {
- FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE,
+ NO_FP16, FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE,
EXPERIMENTAL_PRESENT_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE,
MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI
} from "../config/generatedConfigSchema";
@@ -115,6 +115,15 @@ export function ConfigurationSection({
<PanelSectionRow>
<ToggleField
+ label="Force Disable FP16"
+ description="Force-disable FP16 acceleration"
+ checked={config.no_fp16}
+ onChange={(value) => onConfigChange(NO_FP16, value)}
+ />
+ </PanelSectionRow>
+
+ <PanelSectionRow>
+ <ToggleField
label="HDR Mode"
description={config.enable_wsi ? "Enables HDR mode (only for games that support HDR)" : "Enable WSI in the workarounds menu to unlock HDR toggle"}
checked={config.hdr_mode}