From f2c4ef111d9892f0332f60568b1e646fa51cdf98 Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Tue, 18 Aug 2026 10:51:48 -0400 Subject: [PATCH] gdk: Update to GDK April 2026 Update 3 (#16134) --- .github/actions/setup-gdk-desktop/action.yml | 4 +- VisualC-GDK/SDL/SDL.vcxproj | 44 +++++++++++-------- VisualC-GDK/SDL/SDL.vcxproj.filters | 1 + VisualC-GDK/SDL_test/SDL_test.vcxproj | 4 ++ .../testcontroller/testcontroller.vcxproj | 17 +++---- .../testcontroller.vcxproj.filters | 3 -- VisualC-GDK/tests/testgdk/testgdk.vcxproj | 17 +++---- .../tests/testgdk/testgdk.vcxproj.filters | 3 -- .../tests/testsprite/testsprite.vcxproj | 17 +++---- .../testsprite/testsprite.vcxproj.filters | 3 -- build-scripts/setup-gdk-desktop.py | 37 ++++++++-------- docs/README-gdk.md | 22 +++++++--- src/gpu/d3d12/SDL_gpu_d3d12.c | 2 +- src/gpu/d3d12/compile_shaders_xbox.bat | 4 +- .../direct3d12/compile_shaders_xbox.bat | 4 +- 15 files changed, 91 insertions(+), 91 deletions(-) diff --git a/.github/actions/setup-gdk-desktop/action.yml b/.github/actions/setup-gdk-desktop/action.yml index 2834cdc424..5fda046ce0 100644 --- a/.github/actions/setup-gdk-desktop/action.yml +++ b/.github/actions/setup-gdk-desktop/action.yml @@ -4,10 +4,10 @@ inputs: # Keep edition and ref in sync! edition: description: 'GDK edition' - default: '240601' # YYMMUU (Year Month Update) + default: '260403' # YYMMUU (Year Month Update) ref: description: 'Git reference' - default: 'June_2024_Update_1' + default: 'April-2026-Update-3-v2604.3.7874' folder: description: 'Folder where to create Directory.Build.props' required: true diff --git a/VisualC-GDK/SDL/SDL.vcxproj b/VisualC-GDK/SDL/SDL.vcxproj index b116c521c1..9b70172830 100644 --- a/VisualC-GDK/SDL/SDL.vcxproj +++ b/VisualC-GDK/SDL/SDL.vcxproj @@ -101,11 +101,9 @@ - - $(ProjectDir)../../src;$(IncludePath) - - - $(ProjectDir)../../src;$(IncludePath) + + $(Console_SdkLibPath);$(LibraryPath) + $(Console_SdkIncludeRoot);$(IncludePath) @@ -132,7 +130,7 @@ _DEBUG;%(PreprocessorDefinitions) - gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;vcruntimed.lib;msvcrtd.lib;ucrtd.lib;msvcprtd.lib;%(AdditionalDependencies) + gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;appnotify.lib;Microsoft.Xbox.Services.C.Thunks.lib;vcruntimed.lib;msvcrtd.lib;ucrtd.lib;msvcprtd.lib;%(AdditionalDependencies) true Windows true @@ -161,7 +159,7 @@ _DEBUG;%(PreprocessorDefinitions) - gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_xs.lib;uuid.lib;vcruntimed.lib;msvcrtd.lib;ucrtd.lib;msvcprtd.lib;%(AdditionalDependencies) + gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_xs.lib;uuid.lib;Microsoft.Xbox.Services.C.Thunks.lib;vcruntimed.lib;msvcrtd.lib;ucrtd.lib;msvcprtd.lib;%(AdditionalDependencies) true Windows true @@ -199,15 +197,15 @@ _DEBUG;%(PreprocessorDefinitions) - gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_x.lib;uuid.lib;vcruntimed.lib;msvcrtd.lib;ucrtd.lib;msvcprtd.lib;%(AdditionalDependencies) + gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_x.lib;uuid.lib;Microsoft.Xbox.Services.C.Thunks.lib;vcruntimed.lib;msvcrtd.lib;ucrtd.lib;msvcprtd.lib;%(AdditionalDependencies) true Windows true - call $(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat $(ProjectDir)..\ one - call $(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat $(ProjectDir)..\ one + call "$(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat" "$(ProjectDir)..\" one + call "$(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat" "$(ProjectDir)..\" one @@ -238,7 +236,7 @@ NDEBUG;%(PreprocessorDefinitions) - gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;vcruntime.lib;msvcrt.lib;ucrt.lib;msvcprt.lib;%(AdditionalDependencies) + gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;appnotify.lib;Microsoft.Xbox.Services.C.Thunks.lib;vcruntime.lib;msvcrt.lib;ucrt.lib;msvcprt.lib;%(AdditionalDependencies) true Windows true @@ -268,7 +266,7 @@ NDEBUG;%(PreprocessorDefinitions) - gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_xs.lib;uuid.lib;vcruntime.lib;msvcrt.lib;ucrt.lib;msvcprt.lib;%(AdditionalDependencies) + gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_xs.lib;uuid.lib;Microsoft.Xbox.Services.C.Thunks.lib;vcruntime.lib;msvcrt.lib;ucrt.lib;msvcprt.lib;%(AdditionalDependencies) true Windows true @@ -277,8 +275,8 @@ - call $(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat $(ProjectDir)..\ - call $(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat $(ProjectDir)..\ + call "$(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat" "$(ProjectDir)..\" + call "$(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat" "$(ProjectDir)..\" @@ -307,7 +305,7 @@ NDEBUG;%(PreprocessorDefinitions) - gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_x.lib;uuid.lib;vcruntime.lib;msvcrt.lib;ucrt.lib;msvcprt.lib;%(AdditionalDependencies) + gameinput.lib;setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_x.lib;uuid.lib;Microsoft.Xbox.Services.C.Thunks.lib;vcruntime.lib;msvcrt.lib;ucrt.lib;msvcprt.lib;%(AdditionalDependencies) true Windows true @@ -316,8 +314,8 @@ - call $(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat $(ProjectDir)..\ one - call $(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat $(ProjectDir)..\ one + call "$(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat" "$(ProjectDir)..\" one + call "$(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat" "$(ProjectDir)..\" one @@ -658,7 +656,7 @@ - + @@ -943,6 +941,16 @@ + + + + + + + + + + diff --git a/VisualC-GDK/SDL/SDL.vcxproj.filters b/VisualC-GDK/SDL/SDL.vcxproj.filters index 6843eff2ec..ccdd889694 100644 --- a/VisualC-GDK/SDL/SDL.vcxproj.filters +++ b/VisualC-GDK/SDL/SDL.vcxproj.filters @@ -514,6 +514,7 @@ + diff --git a/VisualC-GDK/SDL_test/SDL_test.vcxproj b/VisualC-GDK/SDL_test/SDL_test.vcxproj index 84a29b549c..0613cd2857 100644 --- a/VisualC-GDK/SDL_test/SDL_test.vcxproj +++ b/VisualC-GDK/SDL_test/SDL_test.vcxproj @@ -100,6 +100,10 @@ + + $(Console_SdkLibPath);$(LibraryPath) + $(Console_SdkIncludeRoot);$(IncludePath) + diff --git a/VisualC-GDK/tests/testcontroller/testcontroller.vcxproj b/VisualC-GDK/tests/testcontroller/testcontroller.vcxproj index 5f89c24244..6c5dfc5376 100644 --- a/VisualC-GDK/tests/testcontroller/testcontroller.vcxproj +++ b/VisualC-GDK/tests/testcontroller/testcontroller.vcxproj @@ -113,6 +113,10 @@ + + $(Console_SdkLibPath);$(LibraryPath) + $(Console_SdkIncludeRoot);$(IncludePath) + NDEBUG;%(PreprocessorDefinitions) @@ -134,7 +138,7 @@ Windows - xgameruntime.lib;../Microsoft.Xbox.Services.GDK.C.Thunks.lib;%(AdditionalDependencies) + xgameruntime.lib;Microsoft.Xbox.Services.C.Thunks.lib;%(AdditionalDependencies) @@ -209,7 +213,7 @@ true Windows - xgameruntime.lib;../Microsoft.Xbox.Services.GDK.C.Thunks.lib;%(AdditionalDependencies) + xgameruntime.lib;Microsoft.Xbox.Services.C.Thunks.lib;%(AdditionalDependencies) @@ -308,15 +312,6 @@ - - - Document - true - true - true - true - - Document diff --git a/VisualC-GDK/tests/testcontroller/testcontroller.vcxproj.filters b/VisualC-GDK/tests/testcontroller/testcontroller.vcxproj.filters index 90aec1b6a1..259643cf2f 100644 --- a/VisualC-GDK/tests/testcontroller/testcontroller.vcxproj.filters +++ b/VisualC-GDK/tests/testcontroller/testcontroller.vcxproj.filters @@ -31,9 +31,6 @@ logos - - wingdk - diff --git a/VisualC-GDK/tests/testgdk/testgdk.vcxproj b/VisualC-GDK/tests/testgdk/testgdk.vcxproj index 4ffc370c55..afbaf68e29 100644 --- a/VisualC-GDK/tests/testgdk/testgdk.vcxproj +++ b/VisualC-GDK/tests/testgdk/testgdk.vcxproj @@ -113,6 +113,10 @@ + + $(Console_SdkLibPath);$(LibraryPath) + $(Console_SdkIncludeRoot);$(IncludePath) + NDEBUG;%(PreprocessorDefinitions) @@ -134,7 +138,7 @@ Windows - xgameruntime.lib;../Microsoft.Xbox.Services.GDK.C.Thunks.lib;%(AdditionalDependencies) + xgameruntime.lib;Microsoft.Xbox.Services.C.Thunks.lib;%(AdditionalDependencies) @@ -221,7 +225,7 @@ true Windows - xgameruntime.lib;../Microsoft.Xbox.Services.GDK.C.Thunks.lib;%(AdditionalDependencies) + xgameruntime.lib;Microsoft.Xbox.Services.C.Thunks.lib;%(AdditionalDependencies) @@ -350,15 +354,6 @@ copy "%(FullPath)" "$(OutDir)\" true - - - Document - true - true - true - true - - diff --git a/VisualC-GDK/tests/testgdk/testgdk.vcxproj.filters b/VisualC-GDK/tests/testgdk/testgdk.vcxproj.filters index 1cbae86410..caa161e6da 100644 --- a/VisualC-GDK/tests/testgdk/testgdk.vcxproj.filters +++ b/VisualC-GDK/tests/testgdk/testgdk.vcxproj.filters @@ -32,9 +32,6 @@ logos - - wingdk - diff --git a/VisualC-GDK/tests/testsprite/testsprite.vcxproj b/VisualC-GDK/tests/testsprite/testsprite.vcxproj index 65422be414..e9f04e0425 100644 --- a/VisualC-GDK/tests/testsprite/testsprite.vcxproj +++ b/VisualC-GDK/tests/testsprite/testsprite.vcxproj @@ -113,6 +113,10 @@ + + $(Console_SdkLibPath);$(LibraryPath) + $(Console_SdkIncludeRoot);$(IncludePath) + NDEBUG;%(PreprocessorDefinitions) @@ -134,7 +138,7 @@ Windows - xgameruntime.lib;../Microsoft.Xbox.Services.GDK.C.Thunks.lib;%(AdditionalDependencies) + xgameruntime.lib;Microsoft.Xbox.Services.C.Thunks.lib;%(AdditionalDependencies) @@ -221,7 +225,7 @@ true Windows - xgameruntime.lib;../Microsoft.Xbox.Services.GDK.C.Thunks.lib;%(AdditionalDependencies) + xgameruntime.lib;Microsoft.Xbox.Services.C.Thunks.lib;%(AdditionalDependencies) @@ -350,15 +354,6 @@ copy "%(FullPath)" "$(OutDir)\" true - - - Document - true - true - true - true - - diff --git a/VisualC-GDK/tests/testsprite/testsprite.vcxproj.filters b/VisualC-GDK/tests/testsprite/testsprite.vcxproj.filters index ac1cda6398..efadf964a2 100644 --- a/VisualC-GDK/tests/testsprite/testsprite.vcxproj.filters +++ b/VisualC-GDK/tests/testsprite/testsprite.vcxproj.filters @@ -31,9 +31,6 @@ logos - - wingdk - diff --git a/build-scripts/setup-gdk-desktop.py b/build-scripts/setup-gdk-desktop.py index 8dc259d11b..d08c9e7c4b 100755 --- a/build-scripts/setup-gdk-desktop.py +++ b/build-scripts/setup-gdk-desktop.py @@ -14,8 +14,9 @@ import urllib.request import zipfile # Update both variables when updating the GDK -GIT_REF = "June_2024_Update_1" -GDK_EDITION = "240601" # YYMMUU +GIT_REF = "April-2026-Update-3-v2604.3.7874" +GDK_EDITION = "260403" # YYMMUU +ARCHIVE_NAME = "GDK_2604.3.7874" logger = logging.getLogger(__name__) @@ -25,34 +26,33 @@ class GdDesktopConfigurator: self.gdk_edition = gdk_edition or GDK_EDITION self.gdk_path = gdk_path self.temp_folder = temp_folder or Path(tempfile.gettempdir()) - self.dl_archive_path = Path(self.temp_folder) / f"{ self.git_ref }.zip" - self.gdk_extract_path = Path(self.temp_folder) / f"GDK-{ self.git_ref }" + self.dl_archive_path = Path(self.temp_folder) / f"{ ARCHIVE_NAME }.zip" + self.gdk_extract_path = Path(self.temp_folder) / f"{ ARCHIVE_NAME }" self.arch = arch self.vs_folder = vs_folder self._vs_version = vs_version self._vs_toolset = vs_toolset def download_archive(self) -> None: - gdk_url = f"https://github.com/microsoft/GDK/archive/refs/tags/{ GIT_REF }.zip" + gdk_url = f"https://github.com/microsoft/GDK/releases/downloads/{ GIT_REF }/{ ARCHIVE_NAME }.zip" logger.info("Downloading %s to %s", gdk_url, self.dl_archive_path) urllib.request.urlretrieve(gdk_url, self.dl_archive_path) assert self.dl_archive_path.is_file() def extract_zip_archive(self) -> None: - extract_path = self.gdk_extract_path.parent assert self.dl_archive_path.is_file() - logger.info("Extracting %s to %s", self.dl_archive_path, extract_path) + logger.info("Extracting %s to %s", self.dl_archive_path, self.gdk_extract_path) with zipfile.ZipFile(self.dl_archive_path) as zf: - zf.extractall(extract_path) + zf.extractall(self.gdk_extract_path) assert self.gdk_extract_path.is_dir(), f"{self.gdk_extract_path} must exist" def extract_development_kit(self) -> None: - extract_dks_cmd = self.gdk_extract_path / "SetupScripts/ExtractXboxOneDKs.cmd" - assert extract_dks_cmd.is_file() - logger.info("Extracting GDK Development Kit: running %s", extract_dks_cmd) - cmd = ["cmd.exe", "/C", str(extract_dks_cmd), str(self.gdk_extract_path), str(self.gdk_path)] - logger.debug("Running %r", cmd) - subprocess.check_call(cmd) + extract_dks_ps1 = self.gdk_extract_path / "SetupScripts/ExtractXboxOneDKs.ps1" + assert extract_dks_ps1.is_file() + logger.info("Extracting GDK Development Kit: running %s", extract_dks_ps1) + ps = ["powershell.exe", str(extract_dks_ps1), str(self.gdk_extract_path), str(self.gdk_path)] + logger.debug("Running %r", ps) + subprocess.check_call(ps) def detect_vs_version(self) -> str: vs_regex = re.compile("VS([0-9]{4})") @@ -156,7 +156,7 @@ class GdDesktopConfigurator: return { "GRDKEDITION": f"{self.gdk_edition}", "GameDK": f"{game_dk}\\", - "GameDKLatest": f"{ game_dk_latest }\\", + "GameDKCoreLatest": f"{ game_dk_latest }\\", "WindowsSdkDir": f"{ windows_sdk_dir }\\", "GamingGRDKBuild": f"{ gaming_grdk_build }\\", "VSInstallDir": f"{ self.vs_folder }\\", @@ -182,6 +182,7 @@ class GdDesktopConfigurator: Debug { self.gdk_edition } { durango_xdk_install_path } + { self.game_dk_latest_path }\\ $(DurangoXdkInstallPath)\\{self.gdk_edition}\\GRDK\\VS2019\\flatDeployment\\MSBuild\\Microsoft\\VC\\{self.vs_toolset}\\Platforms\\$(Platform)\\ $(DurangoXdkInstallPath)\\{self.gdk_edition}\\GRDK\\VS2019\\flatDeployment\\MSBuild\\Microsoft\\VC\\{self.vs_toolset}\\Platforms\\$(Platform)\\ @@ -206,13 +207,13 @@ class GdDesktopConfigurator: @property def gdk_include_paths(self) -> list[Path]: return [ - self.gaming_grdk_build_path / "gamekit/include", + self.game_dk_latest_path / "windows/include", ] @property def gdk_library_paths(self) -> list[Path]: return [ - self.gaming_grdk_build_path / f"gamekit/lib/{self.arch}", + self.game_dk_latest_path / f"windows/lib/{self.arch}", ] @property @@ -248,7 +249,7 @@ class GdDesktopConfigurator: def main(): logging.basicConfig(level=logging.INFO) parser = argparse.ArgumentParser(allow_abbrev=False) - parser.add_argument("--arch", choices=["amd64"], default="amd64", help="Architecture") + parser.add_argument("--arch", choices=["x64"], default="x64", help="Architecture") parser.add_argument("--download", action="store_true", help="Download GDK") parser.add_argument("--extract", action="store_true", help="Extract downloaded GDK") parser.add_argument("--copy-msbuild", action="store_true", help="Copy MSBuild files") diff --git a/docs/README-gdk.md b/docs/README-gdk.md index a38a012851..9d0d486785 100644 --- a/docs/README-gdk.md +++ b/docs/README-gdk.md @@ -9,8 +9,8 @@ Windows (GDK) and Xbox One/Xbox Series (GDKX) are both supported and all the re Requirements ------------ -* Microsoft Visual Studio 2022 (in theory, it should also work in 2017 or 2019, but this has not been tested) -* Microsoft GDK October 2023 Update 1 or newer (public release [here](https://github.com/microsoft/GDK/releases/tag/October_2023_Update_1)) +* Microsoft Visual Studio 2022 (in theory, it should also work in 2019 or 2026, but this has not been tested) +* Microsoft GDK April 2026 Update 3 or newer (public release [here](https://github.com/microsoft/GDK/releases/tag/April-2026-Update-3-v2604.3.7874)) * For Xbox, you will need the corresponding GDKX version (licensed developers only) * To publish a package or successfully authenticate a user, you will need to create an app id/configure services in Partner Center. However, for local testing purposes (without authenticating on Xbox Live), the test identifiers used by the GDK test programs in the included solution work. @@ -76,7 +76,7 @@ While the Gaming.Desktop.x64 configuration sets most of the required settings, t * Under Linker > Input > Additional Dependencies, you need the following: * `SDL3.lib` * `xgameruntime.lib` - * `../Microsoft.Xbox.Services.GDK.C.Thunks.lib` + * `Microsoft.Xbox.Services.C.Thunks.lib` * Note that in general, the GDK libraries depend on the MSVC C/C++ runtime, so there is no way to remove this dependency from a GDK program that links against GDK. ### 4. Setting up SDL_main ### @@ -88,10 +88,9 @@ Rather than using your own implementation of `WinMain`, it's recommended that yo The game will not launch in the debugger unless required DLLs are included in the directory that contains the game's .exe file. You need to make sure that the following files are copied into the directory: * Your SDL3.dll -* "$(Console_GRDKExtLibRoot)Xbox.Services.API.C\DesignTime\CommonConfiguration\Neutral\Lib\Release\Microsoft.Xbox.Services.GDK.C.Thunks.dll" +* Microsoft.Xbox.Services.C.Thunks.dll * XCurl.dll - -You can either copy these in a post-build step, or you can add the dlls into the project and set its Configuration Properties > General > Item type to "Copy file," which will also copy them into the output directory. +* libHttpClient.dll ### 6. Setting up MicrosoftGame.config ### @@ -199,3 +198,14 @@ Furthermore, confirm that your PC is set to the correct sandbox. #### "The current user has already installed an unpackaged version of this app. A packaged version cannot replace this." error when installing Prior to June 2022 GDK, running from the Visual Studio debugger would still locally register the app (and it would appear on the start menu). To fix this, you have to uninstall it (it's simplest to right click on it from the start menu to uninstall it). + +### Missing headers / linker errors after updating to April 2026 GDK or newer + +Existing projects using the "old layout" of GDK may need to add the following to their vcxproj in order for GDK system headers and libraries to be found: +``` + + $(Console_SdkLibPath);$(LibraryPath) + $(Console_SdkIncludeRoot);$(IncludePath) + +``` +See SDL.vcxproj for an example of this. diff --git a/src/gpu/d3d12/SDL_gpu_d3d12.c b/src/gpu/d3d12/SDL_gpu_d3d12.c index 1a75e06443..af90504413 100644 --- a/src/gpu/d3d12/SDL_gpu_d3d12.c +++ b/src/gpu/d3d12/SDL_gpu_d3d12.c @@ -1996,7 +1996,7 @@ static void D3D12_INTERNAL_TextureTransitionToDefaultUsage( static D3D12_RESOURCE_STATES D3D12_INTERNAL_DefaultBufferResourceState( D3D12Buffer *buffer) { - D3D12_RESOURCE_STATES states = 0; + D3D12_RESOURCE_STATES states = (D3D12_RESOURCE_STATES)0; if (buffer->container->usage & SDL_GPU_BUFFERUSAGE_VERTEX) { states |= D3D12_RESOURCE_STATE_VERTEX_AND_CONSTANT_BUFFER; diff --git a/src/gpu/d3d12/compile_shaders_xbox.bat b/src/gpu/d3d12/compile_shaders_xbox.bat index b542f6bb4f..a6da9999ed 100644 --- a/src/gpu/d3d12/compile_shaders_xbox.bat +++ b/src/gpu/d3d12/compile_shaders_xbox.bat @@ -1,11 +1,11 @@ if %2.==one. goto setxboxone rem Xbox Series compile -set COMPILER="%GameDKLatest%\GXDK\bin\Scarlett\DXC.exe" +set COMPILER="%GameDKCoreLatest%xbox\bin\gen9\DXC.exe" set SUFFIX=_Series.h goto startbuild :setxboxone -set COMPILER="%GameDKLatest%\GXDK\bin\XboxOne\DXC.exe" +set COMPILER="%GameDKCoreLatest%xbox\bin\gen8\DXC.exe" set SUFFIX=_One.h :startbuild diff --git a/src/render/direct3d12/compile_shaders_xbox.bat b/src/render/direct3d12/compile_shaders_xbox.bat index 311b172c79..eb8c7141ed 100644 --- a/src/render/direct3d12/compile_shaders_xbox.bat +++ b/src/render/direct3d12/compile_shaders_xbox.bat @@ -1,11 +1,11 @@ if %2.==one. goto setxboxone rem Xbox Series compile -set DXC="%GameDKLatest%\GXDK\bin\Scarlett\DXC.exe" +set DXC="%GameDKCoreLatest%xbox\bin\gen9\DXC.exe" set SUFFIX=_Series.h goto startbuild :setxboxone -set DXC="%GameDKLatest%\GXDK\bin\XboxOne\DXC.exe" +set DXC="%GameDKCoreLatest%xbox\bin\gen8\DXC.exe" set SUFFIX=_One.h :startbuild