From 292e28b948805a1f2f99a111c497d6e93ab3c71a Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 5 Apr 2026 12:35:34 +0300 Subject: [PATCH] fix(ci): skip FidelityFX submodule checkout during actions/checkout Add update=none and shallow=true to extern/FidelityFX-FSR2 and extern/FidelityFX-SDK in .gitmodules. The 'Checkout' step runs git submodule update --init --force --depth=1 on all submodules, including the Kelsidavis FSR2/SDK forks, which fails because it tries to resolve a specific commit SHA via shallow fetch. The 'Fetch AMD FSR2 SDK' step already rm -rf's and re-clones both directories from the correct upstream repos, so the submodule checkout step is redundant and harmful. update=none causes git submodule update (and actions/checkout submodules:true) to skip these two entries. Local developers who want the FSR2/SDK must run the manual fetch step or use 'git submodule update --init ' explicitly. --- .gitmodules | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index b0985eea..576f6ca9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -9,6 +9,10 @@ [submodule "extern/FidelityFX-SDK"] path = extern/FidelityFX-SDK url = https://github.com/Kelsidavis/FidelityFX-SDK.git + shallow = true + update = none [submodule "extern/FidelityFX-FSR2"] - path = extern/FidelityFX-FSR2 - url = https://github.com/Kelsidavis/FidelityFX-FSR2.git + path = extern/FidelityFX-FSR2 + url = https://github.com/Kelsidavis/FidelityFX-FSR2.git + shallow = true + update = none