Commit graph

198 commits

Author SHA1 Message Date
Skyth
c34198e48a Refactor model traversing to enqueue every single compilation to worker threads. 2024-11-28 00:04:38 +03:00
Skyth
1e4d8638b1 Precompile fur shader. 2024-11-27 21:00:52 +03:00
Skyth
17f1fcdcbc Precompile sparkle shaders in loading screens. 2024-11-27 19:58:34 +03:00
Skyth
b271c37839 Precompile planar reflection shaders. 2024-11-27 17:40:10 +03:00
Skyth
4016bc9424 Precompile pipelines for Sonic's mouth, motion blur, and forced transparent objects. 2024-11-27 17:00:42 +03:00
Skyth
516b59467d Skip printing info for pipelines compiled during loading. 2024-11-27 14:37:51 +03:00
Skyth
8cbccf4b6e Skip fur pipelines. 2024-11-27 14:37:36 +03:00
Skyth
8b6f2de67f Precompile pipelines for object icons. 2024-11-27 13:04:46 +03:00
Skyth
195afa9a5f Switch to an enum library that doesn't murder IntelliSense. 2024-11-27 12:40:37 +03:00
Skyth
96d6e0ceda Print description of recently compiled render thread pipelines. 2024-11-27 11:25:07 +03:00
Skyth
888ca67d79 Fix string symbol definitions. 2024-11-27 11:20:18 +03:00
Skyth
685fe7285d Assign names to shaders during loading. 2024-11-27 00:29:25 +03:00
Skyth
dc3c5ab7ff Sky shader compilation & more debugging helpers. 2024-11-27 00:15:48 +03:00
Skyth
f3f8df0053 Remove "has bone" specialization constant. 2024-11-26 23:24:09 +03:00
Skyth
c261a0ef9c Fix async PSO accounting for alpha to coverage even when MSAA is off. 2024-11-26 23:09:41 +03:00
Skyth
e92d839e4b Account for ConstTexCoord. 2024-11-26 23:02:16 +03:00
Skyth
f1eb4992ab Fix pipelines getting dropped. 2024-11-26 21:25:09 +03:00
Skyth
6f313ed5a8 Hook a different function to do waiting in. 2024-11-26 21:08:39 +03:00
Skyth
5838ef224f Kick off terrain models to pipeline compilation thread the moment they are made. 2024-11-26 20:22:09 +03:00
Skyth
f356aa665a Put async PSO debug printing behind a macro. 2024-11-26 20:06:47 +03:00
Skyth
172bc6683e Queue unique models for compilation immediately. 2024-11-26 20:04:31 +03:00
Skyth
23297c73a6 Display more debug information. 2024-11-26 20:03:50 +03:00
Skyth
f3f9d969c8 Allow DXIL linking to happen in parallel. 2024-11-26 19:18:25 +03:00
Skyth
1bcf0aacd8 Safety improvements. 2024-11-26 18:25:17 +03:00
Skyth
8efdbf7c76 Pass models to compilation threads through shared pointers. 2024-11-26 17:19:12 +03:00
Skyth
51b7cbf86b Fix additive mode setting wrong pipeline field. 2024-11-26 17:02:53 +03:00
Skyth
ed3eb484a6 Handle bones in shadow pipeline. 2024-11-26 16:23:01 +03:00
Skyth
8aa3b23884 Handle special layers writing depth. 2024-11-26 16:19:28 +03:00
Skyth
f50d9d85a5 Set pipeline names. 2024-11-26 16:11:17 +03:00
Skyth
d3536955e0 Further async PSO work. 2024-11-26 15:23:01 +03:00
Skyth
6351de36b6 Initial work for async PSO. 2024-11-26 10:32:17 +03:00
Skyth
3258d92bd3 Mirage API mapping. 2024-11-25 21:20:26 +03:00
Skyth
2dd8d539c5 Implement proper reverse Z & fix motion blur flicker. 2024-11-25 18:29:45 +03:00
Skyth
cbf374924e Implement DXIL library linking. 2024-11-25 18:29:45 +03:00
Skyth
0e8d1e2aa0 Specialization constant implementation for Vulkan. 2024-11-25 18:29:44 +03:00
Skyth
349f07cf77 Fix sizeof/offsetof assertions. 2024-11-25 18:29:15 +03:00
Skyth
49b0dbe4db Auto generate SWA.h, add offsetof/sizeof asserts. 2024-11-25 16:48:58 +03:00
Hyper
8f525b571b
Implemented guest-to-host function pointers (#7)
* Implemented guest-to-host function pointers (WIP)

Co-Authored-By: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>

* function: support more types for function pointers

* api: ported BlueBlur headers and misc. research

* Move over function-pointers changes from options-menu branch.

---------

Co-authored-by: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>
2024-11-25 13:50:10 +03:00
Skyth
a908780de8 Remove vendor parameter from CMakePresets.json that breaks IntelliSense. 2024-11-24 16:53:18 +03:00
Skyth
6ae0ecd58e Switch to using CMakePresets.json. 2024-11-24 13:44:00 +03:00
Skyth
f7d4f93ba0 Implement brightness slider & color correction. 2024-11-21 23:00:15 +03:00
Skyth
cffefcdbf3 Use global instead of function provided delta time in cmaera HFR patches. 2024-11-20 10:54:22 +03:00
Skyth
e403f961aa Cherry pick of global delta time from 'options-menu' branch.
Co-authored-by: Hyper <34012267+hyperbx@users.noreply.github.com>
2024-11-20 10:39:58 +03:00
Skyth
2fd26cfd80 Fix freeze in latest Clang version. 2024-11-17 21:01:00 +03:00
Hyper
1117cbe33e window: make Japanese title uppercase 2024-11-17 15:59:12 +00:00
Michael
e405887c0e video_patches: don't adjust CSD aspect if UIScaleMode is Stretch 2024-11-16 16:02:02 -08:00
Hyper
118c2f3ce2 config_detail: move implementation to cpp, relocate sources 2024-11-15 21:21:43 +00:00
Hyper
b354c6123d config: make definitions global 2024-11-15 19:57:44 +00:00
Hyper
784d3973f4 git: move ignore rule for ./res/win32/ to res directory 2024-11-15 02:22:44 +00:00
Hyper
c9b6a6913f Fix loading screen speed at high frame rates 2024-11-12 19:55:00 +00:00