Commit graph

35 commits

Author SHA1 Message Date
Skyth (Asilkan)
990d03b28a
Fix half pixel getting applied twice to reverse Z vertex shaders. (#21) 2025-08-03 16:45:31 +03:00
Skyth (Asilkan)
421e3b3e79
Apply half pixel offset in the vertex shader. (#16) 2025-03-30 03:47:16 +03: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
Skyth
4d2db1be2e SWA specific implementations. 2024-10-16 18:17:50 +03:00
Skyth
2c373f210c Fix predicate implementations. 2024-10-16 17:36:49 +03:00
Skyth
c0bafdb37f Implement svPos register. 2024-10-16 17:36:35 +03:00
Skyth
a3e36719e7 Initial commit. 2024-10-16 16:40:31 +03:00