shadPS4/src/core
baggins183 3c0c921ef5
Tessellation (#1528)
* shader_recompiler: Tessellation WIP

* fix compiler errors after merge

DONT MERGE set log file to /dev/null

DONT MERGE linux pthread bb fix

save work

DONT MERGE dump ir

save more work

fix mistake with ES shader

skip list

add input patch control points dynamic state

random stuff

* WIP Tessellation partial implementation. Squash commits

* test: make local/tcs use attr arrays

* attr arrays in TCS/TES

* dont define empty attr arrays

* switch to special opcodes for tess tcs/tes reads and tcs writes

* impl tcs/tes read attr insts

* rebase fix

* save some work

* save work probably broken and slow

* put Vertex LogicalStage after TCS and TES to fix bindings

* more refactors

* refactor pattern matching and optimize modulos (disabled)

* enable modulo opt

* copyright

* rebase fixes

* remove some prints

* remove some stuff

* Add TCS/TES support for shader patching and use LogicalStage

* refactor and handle wider DS instructions

* get rid of GetAttributes for special tess constants reads. Immediately replace some upon seeing readconstbuffer. Gets rid of some extra passes over IR

* stop relying on GNMX HsConstants struct. Change runtime_info.hs_info and some regs

* delete some more stuff

* update comments for current implementation

* some cleanup

* uint error

* more cleanup

* remove patch control points dynamic state (because runtime_info already depends on it)

* fix potential problem with determining passthrough

---------

Co-authored-by: IndecisiveTurtle <47210458+raphaelthegreat@users.noreply.github.com>
2024-12-14 12:56:17 +02:00
..
aerolib fix typo in LOG_INFO (#559) 2024-08-26 15:22:11 +03:00
crypto crypto: Fix deallocation of key data while in use. 2024-08-28 03:39:51 -07:00
devices The way to Unity, pt.2 (#1671) 2024-12-06 22:04:36 +01:00
devtools Tessellation (#1528) 2024-12-14 12:56:17 +02:00
file_format cmake: unbundle stb (#1601) 2024-12-05 23:10:27 +02:00
file_sys Virtual device abstraction (#1577) 2024-12-05 18:00:17 +02:00
libraries Tessellation (#1528) 2024-12-14 12:56:17 +02:00
loader Fix path bugs & wrap seeks in an if (#1154) 2024-09-30 12:42:59 +03:00
address_space.cpp kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
address_space.h renderer_vulkan: Commize and adjust buffer bindings (#1412) 2024-10-19 15:30:58 +03:00
cpu_patches.cpp Fix fmt error (#1150) 2024-09-29 14:02:46 +02:00
cpu_patches.h core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
debug_state.cpp Tessellation (#1528) 2024-12-14 12:56:17 +02:00
debug_state.h Tessellation (#1528) 2024-12-14 12:56:17 +02:00
linker.cpp core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
linker.h The way to Unity, pt.3 (#1681) 2024-12-08 18:30:33 +02:00
loader.cpp - Added trophy decryption when extracting a fpkg. trp icons and xmls are dumped to game_data/<title> (can be restored if deleted by accident by opening the trophy viewer) 2024-06-10 20:42:21 -06:00
loader.h - Added trophy decryption when extracting a fpkg. trp icons and xmls are dumped to game_data/<title> (can be restored if deleted by accident by opening the trophy viewer) 2024-06-10 20:42:21 -06:00
memory.cpp cache: Invalidate pages for file reads. (#1726) 2024-12-11 21:11:24 +02:00
memory.h cache: Invalidate pages for file reads. (#1726) 2024-12-11 21:11:24 +02:00
module.cpp core: Return proper address of eh frame/add more opcodes 2024-12-06 00:47:11 +02:00
module.h kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
platform.h Support for Vulkan 1.4 (#1665) 2024-12-07 19:41:41 +02:00
signals.cpp semaphore: Use condvars with separate signaled flag to prevent races (#1615) 2024-11-30 19:19:07 +02:00
signals.h Patch extrq (#943) 2024-09-23 19:19:52 +03:00
thread.cpp Fix compiling due to typedefs varying across platforms (#1729) 2024-12-10 22:15:43 +02:00
thread.h thread: Apply alternate signal stack to created threads. (#1724) 2024-12-10 13:08:53 +02:00
tls.cpp kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
tls.h kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00