shadPS4/src/core/libraries
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
..
ajm The way to Unity, pt.3 (#1681) 2024-12-08 18:30:33 +02:00
app_content core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
audio Support for Vulkan 1.4 (#1665) 2024-12-07 19:41:41 +02:00
audio3d texture_cache: Improve support for stencil reads (#1758) 2024-12-13 18:28:19 +02:00
avplayer fix: fix #1457 again by moving av_err2str to a common header (#1688) 2024-12-08 00:52:03 +02:00
disc_map Reorganization of includes (Part 2) 2024-08-30 15:48:21 +02:00
fiber core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
game_live_streaming Network libs fixes , stubs and more (#1324) 2024-10-11 10:37:36 +03:00
gnmdriver Tessellation (#1528) 2024-12-14 12:56:17 +02:00
ime Support for Vulkan 1.4 (#1665) 2024-12-07 19:41:41 +02:00
jpeg Support for Vulkan 1.4 (#1665) 2024-12-07 19:41:41 +02:00
kernel hot-fix the hot-fix 2024-12-13 18:26:16 +02:00
libc_internal texture_cache: Improve support for stencil reads (#1758) 2024-12-13 18:28:19 +02:00
libpng hot-fix: debug build fixed 2024-12-01 15:46:08 +01:00
network core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
ngs2 core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
np_manager core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
np_score Reorganization of includes (Part 2) 2024-08-30 15:48:21 +02:00
np_trophy Resize trophy pop up windows based on window size (#1769) 2024-12-14 10:17:00 +02:00
pad fix for detecting more that 2 players and play both with player 1 keys (#1750) 2024-12-12 22:46:20 +02:00
playgo playgo: Lower scePlayGoGetLocus log to debug. (#1748) 2024-12-12 09:47:07 +02:00
random core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
razor_cpu libraries: Add libSceRazorCpu HLE skeleton. (#1624) 2024-11-30 11:30:22 +02:00
remote_play Network libs fixes , stubs and more (#1324) 2024-10-11 10:37:36 +03:00
rtc core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
save_data The way to Unity, pt.3 (#1681) 2024-12-08 18:30:33 +02:00
screenshot Reorganization of includes (Part 2) 2024-08-30 15:48:21 +02:00
share_play Network libs fixes , stubs and more (#1324) 2024-10-11 10:37:36 +03:00
system Support for Vulkan 1.4 (#1665) 2024-12-07 19:41:41 +02:00
usbd Reorganization of includes (Part 2) 2024-08-30 15:48:21 +02:00
videodec fix: fix #1457 again by moving av_err2str to a common header (#1688) 2024-12-08 00:52:03 +02:00
videoout hot-fix: debug build fixed 2024-12-01 15:46:08 +01:00
error_codes.h core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
libs.cpp libraries: Add stubs for libScePlayGoDialog (#1635) 2024-12-01 13:44:15 +02:00
libs.h kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00