summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-08-03 14:19:01 -0400
committerGitHub <noreply@github.com>2026-08-03 14:19:01 -0400
commitb936baab13b026d4355844d94616a622753a7370 (patch)
treeb596c42f04240d66ad934ece56bc16e300178a09 /src/components
parentb1f2a36ed17928fb98a22d70ce6f39fd967a143c (diff)
parent24840e334aff52ef77a92dbedaf3c574496d6ea9 (diff)
downloaddecky-lsfg-vk-b936baab13b026d4355844d94616a622753a7370.tar.gz
decky-lsfg-vk-b936baab13b026d4355844d94616a622753a7370.zip
feat: expose FP16 acceleration setting (#249)v0.12.7
Expose the FP16 acceleration toggle and preserve no_fp16 in generated TOML configuration.
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 0734297..344481e 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -3,7 +3,7 @@ import { useState, useEffect } from "react";
import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri";
import { ConfigurationData } from "../config/configSchema";
import {
- FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE,
+ FLOW_SCALE, NO_FP16, PERFORMANCE_MODE, HDR_MODE,
EXPERIMENTAL_PRESENT_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE,
MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI, ENABLE_ZINK
} from "../config/generatedConfigSchema";
@@ -126,6 +126,15 @@ export function ConfigurationSection({
</PanelSectionRow>
<PanelSectionRow>
+ <ToggleField
+ label="FP16 Acceleration"
+ description="Use FP16 shaders when supported"
+ checked={!config.no_fp16}
+ onChange={(value) => onConfigChange(NO_FP16, !value)}
+ />
+ </PanelSectionRow>
+
+ <PanelSectionRow>
<SliderField
label={`Base FPS Cap${config.dxvk_frame_rate > 0 ? ` (${config.dxvk_frame_rate} FPS)` : " (Off)"}`}
description="Base framerate cap for DirectX games, before frame multiplier. (Requires game restart to apply)"