Isaac Marovitz
6c7c8fa87d
Initial vertex IO fixes
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-21 14:39:39 -04:00
Isaac Marovitz
790c8be91b
Fix UNROLL macro
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-21 14:33:22 -04:00
Isaac Marovitz
2d9e24c52f
Nvm fix mul properly
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-21 13:34:14 -04:00
Isaac Marovitz
9112665766
Fix MSL matrix mul
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-21 13:31:37 -04:00
Isaac Marovitz
995d2889d4
Fix missing newline
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-20 22:30:05 -04:00
Isaac Marovitz
f87e28fbcc
Main func signature
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-20 22:28:19 -04:00
Isaac Marovitz
347fee997c
tfetch and getPixelCoord signatures
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-20 22:24:42 -04:00
Isaac Marovitz
4c93ec4e43
Explicit cast vector register writes
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-20 21:43:32 -04:00
Isaac Marovitz
67467f459a
Changes
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-20 21:34:15 -04:00
Isaac Marovitz
4149b8458a
shader_common fixes
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-20 21:19:04 -04:00
Isaac Marovitz
6c88f0b31e
Defines cleanup
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 15:53:16 -04:00
Isaac Marovitz
c3b320e314
Fix cast
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 15:46:58 -04:00
Isaac Marovitz
58e4631dce
Cleanup
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 15:43:33 -04:00
Isaac Marovitz
6153094d1f
Cleanup
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 15:38:37 -04:00
Isaac Marovitz
f328cbbec8
Move around common MSL
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 15:20:25 -04:00
Isaac Marovitz
8a0c898a7d
EOF newline
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 14:47:22 -04:00
Isaac Marovitz
a223077258
More generator changes
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 14:46:39 -04:00
Isaac Marovitz
2efa88dbd4
Generator changes
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 14:37:39 -04:00
Isaac Marovitz
342a7224ee
MSL -> AIR
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 14:19:46 -04:00
Isaac Marovitz
ae64bcf8ea
XENOS_RECOMP_MSL option
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 14:12:53 -04:00
Isaac Marovitz
0de70f7458
MSL Shader Common
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-03-16 14:08:36 -04:00
squidbus
b15b5e4728
Fix missing semicolon. ( #14 )
2025-03-08 02:23:56 +03:00
Skyth (Asilkan)
7be1285e3d
Update README.md to remove vcpkg. ( #13 )
2025-03-08 00:38:26 +03:00
squidbus
ce67db864b
Switch to renderbag dxc-bin for shader compiler. ( #6 )
2025-03-08 00:37:17 +03:00
William Adam-Grenier
db602accf4
Change Directory Iterator To Be Recursive ( #11 )
...
* Fix Directory Being Opened As File
Fixed a bug where the directory would be opened as a file. Add a check to avoid this.
* Add Recursive File Listing
Changed the iterator to use recursive directory iterator
2025-03-07 02:54:16 +03:00
William Adam-Grenier
6fd80818d4
Fix Directory Being Opened As File ( #8 )
...
Fixed a bug where the directory would be opened as a file. Add a check to avoid this.
2025-03-04 05:42:34 +03:00
Skyth (Asilkan)
f2ae8ef9db
Repository cleanup & README.md. ( #5 )
...
* Put Unleashed Recompiled specific implementations behind a macro.
* Add README.md.
* Add LICENSE.md.
* Update README.md.
* Check for argument count & add UNLEASHED_RECOMP define when compiling shaders.
2025-02-27 00:11:40 +03:00
Skyth
855a5a8c51
Set POSITION1 to uint4.
2025-02-03 14:19:48 +03:00
Skyth
96458eb7bc
Fix kill instructions.
2025-01-24 22:56:27 +03:00
Skyth
ab277869d4
Rebrand to XenosRecomp.
2025-01-19 22:37:35 +03:00
Skyth (Asilkan)
66c618cc72
Linux support. ( #4 )
...
* Initial Linux attempt.
* Fix DXIL library linkage.
* Compiling and running on Linux.
* Fix compilation error on Windows.
* Convert almost all dependencies to submodules.
2024-12-21 00:51:39 +03:00
Darío
4b69741e19
Make DXIL Optional. ( #3 )
...
* Make DXIL Optional.
* Change to ifdef.
* Macro name changes.
2024-12-14 18:34:13 +03:00
Skyth
12b38144b9
Downgrade to C++17 & switch to fmtlib.
2024-12-13 16:54:10 +03:00
Skyth (Asilkan)
f936ed2212
Specialization constants, reverse Z and smol-v implementation. ( #2 )
...
* Specialization constant & DXIL library implementation.
* Fix alpha to coverage.
* Add reverse Z implementation.
* Avoid dynamic branches when loading array constants.
* Remove "has bone" specialization constant.
* Integrate smol-v.
2024-11-29 23:14:08 +03:00
Skyth
30f5986047
Check for NaN values in 2D weight function.
2024-11-11 19:56:55 +03:00
Skyth
b7c0372246
Implement reverse Z negation.
2024-11-08 20:16:24 +03:00
Skyth
fce786210a
Mark shader cache globals const.
2024-11-06 13:38:11 +03:00
Skyth
02967c4144
Remove bin2h, load shader include file from an argument instead.
2024-10-29 20:24:55 +03:00
Skyth
5f6a8e6c2a
Separate texture dimensions to multiple descriptor indices.
2024-10-27 20:07:40 +03:00
Skyth
25b4f604af
Refactor SPIRV constant usage to allow for better driver optimization.
2024-10-25 17:31:15 +03:00
Skyth
85d1948655
Remove explicit half pixel correction.
2024-10-24 17:41:36 +03:00
Skyth
2489145820
Implement alpha to coverage.
2024-10-24 14:56:26 +03:00
Skyth
f315ae49ba
Implement bicubic filtering.
2024-10-22 16:28:30 +03:00
Skyth
6477f65937
Implement texture offsets.
2024-10-20 19:31:05 +03:00
Skyth
b152142709
Save compressed shader cache to a .cpp file.
2024-10-20 00:52:24 +03:00
Skyth
9da6b59ce5
Write Vulkan locations for vertex elements.
2024-10-17 20:51:33 +03:00
Skyth
9ebccbae90
Add simple control flow detection.
2024-10-17 14:59:20 +03:00
Skyth
8743874ffe
Remove vcpkg submodule.
2024-10-17 00:35:26 +03:00
Skyth
d7350a8e1a
Implement shader cache writing.
2024-10-16 20:47:07 +03:00
Skyth
4ade76d7db
Implement some of the remaining instructions.
2024-10-16 19:12:55 +03:00