Commit graph

2132 commits

Author SHA1 Message Date
Vinicius Rangel 3511bf8ca0 Devtools - Shader editing (#1705)
* devtools: shader editing and compiling

* devtools: patch shader at runtime

* devtools: shader editing load patch even with config disabled
2024-12-09 21:11:11 +01:00
Martin fd82f6b27c Update nb translations (#1712)
* update nb_NO.ts

* small grammar changes

* revert to nb.ts
2024-12-09 18:53:25 +02:00
DanielSvoboda 068a50bf7f Help - improvement (#1522)
* Help - improvement

* Adding shadow below icons

* Adding keys icon + Update changelog

* color according to the selected theme

* submenu 'Keys and Shortcuts'

* clang

* +

* remove keys_shortcuts

---------

Co-authored-by: ¥IGA <164882787+Xphalnos@users.noreply.github.com>
2024-12-09 18:47:26 +02:00
squidbus 8e61c07027 shader_recompiler: Implement S_ABS_I32 (#1713) 2024-12-09 12:12:33 +01:00
squidbus 8520d7f666 image_view: Correct view format for D16Unorm images as well. (#1708) 2024-12-08 21:53:29 +01:00
Stephen Miller 98784a0bdd Implement sceGnmDingDongForWorkload (#1707)
Seen in Final Fantasy XV.
2024-12-08 22:04:33 +02:00
Daniel R. 55ddabc22c The way to Unity, pt.3 (#1681) 2024-12-08 18:30:33 +02:00
Daniel R. a1a906daa3 format 2024-12-08 16:05:36 +01:00
Daniel R. 2c999e7ad4 video_core/amdgpu: fix calculation of lod range 2024-12-08 16:02:38 +01:00
Daniel R. 87ea3e08a1 video_core: improve image cube heuristic 2024-12-08 15:57:51 +01:00
¥IGA b9da29b6dd Better title bar for Cheats/Patches menu (#1696) 2024-12-08 10:20:24 +02:00
squidbus bc396f5c28 shader_recompiler: Fix check for fragment depth store. (#1694) 2024-12-08 10:20:05 +02:00
squidbus e9a691e95e image_view: Add more BGRA storage format swizzles. (#1693) 2024-12-08 10:19:39 +02:00
auser1337 e8e3d63d1d ajm: support for multiple contexts (#1690)
* ajm: support for multiple contexts

* fix sceAjmInitialize
2024-12-08 10:18:12 +02:00
Ada Ahmed 387622ead0 fix: fix #1457 again by moving av_err2str to a common header (#1688) 2024-12-08 00:52:03 +02:00
TheTurtle 0856821a19 hot-fix: Allow unpriviledged userfaultfd 2024-12-08 00:10:20 +02:00
IndecisiveTurtle b50e09e94a shader_recompiler: Fix mistake 2024-12-07 23:45:23 +02:00
psucien 22dcacea6b hot-fix: fix for incorrect asc qid 2024-12-07 22:28:31 +01:00
squidbus 7b77393d09 shader_recompiler: Implement V_LSHL_B64 for immediate arguments. (#1674) 2024-12-07 23:28:17 +02:00
¥IGA abb8979499 Fix + documentation update (#1689) 2024-12-07 23:27:57 +02:00
¥IGA 6e1bf1fae6 Support for Vulkan 1.4 (#1665) 2024-12-07 19:41:41 +02:00
psucien fa309b9e14 hot-fix: obtain cmdbuf for dispatches after cache ops
This fixes cmdbuf being in incorrect state after scheduler rotation on flush
2024-12-07 10:30:36 +01:00
Daniel R. 2ccc21df86 hotfix: add missing include 2024-12-07 10:07:14 +01:00
Daniel R. 264d2ef1f2 hotfix: enable discord RPC 2024-12-07 09:48:12 +01:00
Vladislav Mikhalin 10f53998c9 recompiler: fixed fragment shader built-in attribute access (#1676)
* recompiler: fixed fragment shader built-in attribute access

* handle en/addr separately

* handle other registers as well
2024-12-07 01:20:09 +02:00
squidbus 7cbcc7f4c2 semaphore: Add GCD semaphore implementation. (#1677) 2024-12-06 23:46:44 +02:00
Daniel R. 6b692578c8 The way to Unity, pt.2 (#1671) 2024-12-06 22:04:36 +01:00
IndecisiveTurtle 39472729ca hot-fix: Silence depth macrotiled warning 2024-12-06 21:50:25 +02:00
IndecisiveTurtle a328dcf459 buffer_cache: Bump usable address space to 40bits
* Fixes crashes in games that use the upper region of user area
2024-12-06 20:00:21 +02:00
TheTurtle 43d5d22500 video_core: Add multipler to handle special cases of texture buffer stride mismatch (#1640)
* page_manager: Enable userfaultfd by default

* Much faster than page faults and causes less problems

* shader_recompiler: Add texel buffer multiplier

* Fixes format mismatch assert when vsharp stride is multiple of format stride

* shader_recompiler: Specialize UBOs on size

* Some games can perform manual vertex pulling and thus bind read only buffers of varying size. We only recompile when the vsharp size is larger than size in shader, in opposite case its not needed

* clang format
2024-12-06 19:54:59 +02:00
squidbus 1bfa1499ae specialization: Fix fetch shader field type (#1675) 2024-12-06 12:59:55 +02:00
squidbus 6e41da3bae misc: Fix clang format (#1673) 2024-12-06 02:21:35 +02:00
IndecisiveTurtle 032072c172 core: Return proper address of eh frame/add more opcodes 2024-12-06 00:47:11 +02:00
TheTurtle cc4460164d shader_recompilers: Improvements to SSA phi generation and lane instruction elimination (#1667)
* shader_recompiler: Add use tracking for Insts

* ssa_rewrite: Recursively remove phis

* ssa_rewrite: Correct recursive trivial phi elimination

* ir: Improve read lane folding pass

* control_flow: Avoid adding unnecessary divergant blocks

* clang format

* externals: Update ext-boost

---------

Co-authored-by: Frodo Baggins <baggins31084@proton.me>
2024-12-05 23:14:16 +02:00
Alexandre Bouvier ced0b440e3 cmake: unbundle stb (#1601) 2024-12-05 23:10:27 +02:00
Marcin Mikołajczyk 649df86146 Handle INDIRECT_BUFFER_CONST in ProcessCeUpdate (#1613) 2024-12-05 23:09:59 +02:00
Richard Habitzreuter ae79b50700 Missing dependency on building-windows.md (#1658)
* Missing dependency on building-windows.md

* Update building-windows.md
2024-12-05 23:09:43 +02:00
psucien 03816864dc video_core: fix for targets clears and copies (#1670) 2024-12-05 23:09:22 +02:00
Daniel R. 5ae4c9aae2 hotfix: fix inverted operator on GetDents 2024-12-05 18:45:55 +01:00
Daniel R. 9a4fc51aea The way to Unity, pt.1 (#1659) 2024-12-05 17:21:35 +01:00
Vinicius Rangel b7df24468f Virtual device abstraction (#1577)
* IOFile: removes seek limit checks when file is writable

* add virtual devices scaffold

* add stdin/out/err as virtual devices

* fixed some merging issues

* clang-fix

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-12-05 18:00:17 +02:00
squidbus af8d700c95 thread: Configure stack and guard on POSIX hosts. (#1664) 2024-12-04 20:21:03 +02:00
squidbus bc50afe170 renderer_vulkan: Parse fetch shader per-pipeline (#1656)
* shader_recompiler: Read image format info directly from sharps instead of storing in shader info.

* renderer_vulkan: Parse fetch shader per-pipeline

* Few minor fixes.

* shader_recompiler: Specialize on vertex attribute number types.

* shader_recompiler: Move GetDrawOffsets to fetch shader
2024-12-04 13:03:47 +02:00
squidbus f8041b8446 renderer_vulkan: Add support for indexed QuadList draw. (#1661) 2024-12-04 10:15:58 +01:00
TheTurtle be9c797003 hot-fix: Correct getpagesize
Tested on my PS4 pro, returns 16KB instead of 4KB
2024-12-03 14:15:08 +02:00
georgemoralis e5879c622e Misc Ime fixes continue (#1655)
* core/libraries: Misc. Ime fixes

* fixed issues

---------

Co-authored-by: Daniel R <47796739+polybiusproxy@users.noreply.github.com>
2024-12-03 10:05:51 +02:00
psucien e69f648979 video_core: few detiler formats added 2024-12-02 22:24:54 +01:00
TheTurtle eb11924b28 shader_recompiler: Implement manual barycentric interpolation path (#1644)
* shader_recompiler: Implement manual barycentric interpolation path

* clang format

* emit_spirv: Fix typo

* emit_spirv: Simplify variable definition

* spirv_emit: clang format
2024-12-02 23:20:54 +02:00
squidbus 9ee75aaa1a devtools: More warning fixes (#1652) 2024-12-02 20:46:51 +01:00
Alexandre Bouvier 4d6398b946 cmake: fix build (#1645) 2024-12-02 05:04:44 +02:00