Commit graph

87 commits

Author SHA1 Message Date
Hyper
b0562b4360 Remove storage device prompt on new game
A.K.A. The Fucking Thing™️
2024-12-06 13:52:43 +00:00
Skyth (Asilkan)
d36aa26bac
Specialization constants, reverse Z and async PSO implementation. (#9)
* Specialization constant implementation for Vulkan.

* Implement DXIL library linking.

* Implement proper reverse Z & fix motion blur flicker.

* Mirage API mapping.

* Initial work for async PSO.

* Further async PSO work.

* Set pipeline names.

* Handle special layers writing depth.

* Handle bones in shadow pipeline.

* Fix additive mode setting wrong pipeline field.

* Pass models to compilation threads through shared pointers.

* Safety improvements.

* Allow DXIL linking to happen in parallel.

* Display more debug information.

* Queue unique models for compilation immediately.

* Put async PSO debug printing behind a macro.

* Kick off terrain models to pipeline compilation thread the moment they are made.

* Hook a different function to do waiting in.

* Fix pipelines getting dropped.

* Account for ConstTexCoord.

* Fix async PSO accounting for alpha to coverage even when MSAA is off.

* Remove "has bone" specialization constant.

* Sky shader compilation & more debugging helpers.

* Assign names to shaders during loading.

* Fix string symbol definitions.

* Print description of recently compiled render thread pipelines.

* Switch to an enum library that doesn't murder IntelliSense.

* Precompile pipelines for object icons.

* Skip fur pipelines.

* Skip printing info for pipelines compiled during loading.

* Precompile pipelines for Sonic's mouth, motion blur, and forced transparent objects.

* Precompile planar reflection shaders.

* Precompile sparkle shaders in loading screens.

* Precompile fur shader.

* Refactor model traversing to enqueue every single compilation to worker threads.

* Dynamically create pipeline threads depending on hardware concurrency.

* Fix MSAA depth resolve not accounting for reverse Z.

* Integrate smol-v.

* Implement PSO caching.

* Update ShaderRecomp & remove unused function.
2024-11-29 23:30:48 +03:00
Skyth
cffefcdbf3 Use global instead of function provided delta time in cmaera HFR patches. 2024-11-20 10:54:22 +03:00
Hyper
c9b6a6913f Fix loading screen speed at high frame rates 2024-11-12 19:55:00 +00:00
Skyth
0962560ec9 Add triangle list fallback path for triangle fans. 2024-11-08 22:03:26 +03:00
Skyth
4fa03e96b9 Add resolution patches for bloom glare & light shaft. 2024-11-08 13:34:17 +03:00
Skyth
611a2c7c31 Add HFR patches for 2D camera slope sensitivity. 2024-11-07 15:10:36 +03:00
Skyth
220da348f8 Update ShaderRecomp submodule. 2024-11-06 13:38:29 +03:00
Skyth
d8512fd6b7 Add motion blur toggle. 2024-11-06 00:47:16 +03:00
Hyper
fabc1ffbc7 window: fix abnormal window states erroneously saving dimensions 2024-11-05 14:37:07 +00:00
Hyper
9e2edfe8cd Merge branch 'main' of https://github.com/hedge-dev/UnleashedRecomp 2024-11-05 12:47:39 +00:00
Hyper
02e0f1e0d2 Remove unused register from Werehog battle music hook 2024-11-05 12:47:28 +00:00
Skyth
88c7b8b8d5 Add player 2D camera HFR patches. 2024-11-05 15:17:31 +03:00
Skyth
8ff30ab383 Add player 3D camera HFR patches. 2024-11-05 13:37:45 +03:00
Hyper
90b60ebc8d Implemented Werehog battle music toggle 2024-11-05 03:57:34 +00:00
Hyper
4bf576ab1c Implemented control tutorial toggle 2024-11-04 12:46:58 +00:00
Skyth
3c4a8f5ee5 Add HFR patches for Werehog key mash objects. 2024-11-03 18:39:54 +03:00
Darío
ca9009b88d
Fix the new ShaderRecomp include. (#2) 2024-10-30 11:07:39 +03:00
Skyth
c1495170fe Make shader recompilation depend on ShaderRecomp source files. 2024-10-29 20:27:12 +03:00
Skyth
c2d0128226 Remove half pixel globally instead of negating them with patches. 2024-10-24 17:43:05 +03:00
Skyth
afc02cd68b Make recompilation part of the CMake build process. 2024-10-21 14:22:03 +03:00
Skyth
66c20e73c9 Implement movie rendering & fix some validation errors. 2024-10-20 18:47:26 +03:00
Hyper
dd74392279 Implemented Unleash gauge hooks
- Implements "Unleash Cancel" to allow cancelling Unleash after activating it.
- Implements out of control fixes to prevent the gauge from draining when the player cannot utilise it.
2024-10-20 02:54:49 +01:00
Skyth
018b32062e Embed shader cache to the executable. 2024-10-20 00:53:16 +03:00
Hyper
56223974ff Fix Eggmanland using the wrong loading transition on restart 2024-10-19 20:44:33 +01:00
Skyth
d29dd06dce Add high frame rate fixes for 2D splines & down force. 2024-10-18 15:40:07 +03:00
Hyper
e899f32f0e Remove CSD offset hook
We'll just move the casts manually once we get around to sorting the rest of the UI out, this'll just interfere with that.
2024-10-18 09:03:30 +01:00
Hyper
8f80396b1f Remove graceful exit hook
Might as well stick with ExitProcess, seeing as this is how the game is exited on Xbox.
2024-10-18 09:02:41 +01:00
Hyper
52f751c6c8 Implemented XButtonHoming hook 2024-10-18 00:10:33 +01:00
Hyper
ceee6948a8 Implemented score hooks 2024-10-17 23:41:38 +01:00
Hyper
ce95692d8a Implemented hooks for disabling hints 2024-10-17 22:25:14 +01:00
Hyper
554be01412 Implemented CSD aspect ratio hooks
This only includes the centred mode, as the intention is to map out CSD classes in the API and handle the rest manually.

Co-Authored-By: Michael <15317421+ActualMandM@users.noreply.github.com>
2024-10-17 19:36:10 +01:00
Hyper
3c1c13e4ce Implemented camera aspect ratio hooks 2024-10-17 19:16:33 +01:00
Hyper
f68f720b17 Preliminary mid-asm hook for gracefully exiting the game 2024-10-17 16:11:20 +01:00
Skyth
86eac5ad8c Remove half pixel offset from primitive 2D renderer. 2024-10-17 16:07:22 +03:00
Skyth
982d619ba1 Add an empty .cpp file to make CMake generation pass. 2024-10-08 16:16:52 +03:00
Skyth
81d737e14f Move recompiled files to a separate project. 2024-10-07 21:47:00 +03:00