From 3688c8bd07af67a00748c87581c80c5125d9273a Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Tue, 5 Aug 2025 12:36:50 -0400
Subject: feat: groundwork for fp16 feature in lsfg-vk

---
 src/components/ConfigurationSection.tsx | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

(limited to 'src/components/ConfigurationSection.tsx')

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";
@@ -113,6 +113,15 @@ export function ConfigurationSection({
         />
       </PanelSectionRow>
 
+      <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"
-- 
cgit v1.2.3

