Commit graph

33 commits

Author SHA1 Message Date
Samuliak
4311a41f34
latte: rename metal specific options 2025-05-20 18:26:52 +02:00
Samuliak
feba1aa7ba
latte: isolate Metal-specific hashes 2025-05-19 20:22:45 +02:00
Samuliak
06491baafa
check for mesh shaders support 2025-02-11 18:09:42 +01:00
Samuliak
7ad4d480cb
filter framebuffer fetch more 2025-01-20 17:02:32 +01:00
Samuliak
709f24bf41
fix typo in framebuffer fetch 2025-01-19 15:43:08 +01:00
Samuliak
29cd6989c1
skip bindings for framebuffer fetched textures 2025-01-19 11:23:00 +01:00
Samuliak
db8c7de236
speed up framebuffer fetch lookup 2025-01-19 10:25:28 +01:00
Samuliak
9e94451093
check for texture and color tile mode 2025-01-19 10:15:20 +01:00
Samuliak
2a218d418f
use depth mask when writing to depth 2025-01-17 14:51:25 +01:00
Samuliak
217e2edda3
check if pixel formats match for framebuffer fetch 2025-01-11 10:26:35 +01:00
Samuliak
d9bf99cb20
fix: a typo in texture index 2025-01-09 20:34:49 +01:00
Samuliak
6d1d739de5
limit framebuffer fetch to 2D textures 2025-01-09 16:03:53 +01:00
Samuliak
68d328b094
mask out color attachments 2025-01-08 16:44:54 +01:00
Samuliak
e4068856bc
implement framebuffer fetch 2025-01-08 16:09:15 +01:00
SamoZ256
e8c7e9d093
Merge branch 'main' into metal 2024-12-16 14:14:16 +01:00
Samuliak
137becb894
do safety checks before clearing 2024-12-14 11:00:42 +01:00
Exzap
c3e29fb619 Latte: Add support for shader instructions MIN_UINT and MAX_UINT
Seen in the eShop version of Fatal Frame
Also made some warnings less spammy since this game seems to trigger it a lot
2024-11-21 20:34:24 +01:00
Samuliak
6ea6ad37d6
use verticesPerInstance for rect vertex shaders 2024-11-11 17:40:58 +01:00
Samuliak
4b58ac1a1e
check if verticesPerInstance uniform is used 2024-11-11 17:21:16 +01:00
Samuliak
950f04d444 support instancing for mesh shaders 2024-09-11 12:22:45 +02:00
Samuliak
953975f5ec don't jit compile vertex shaders 2024-09-03 13:59:52 +02:00
Samuliak
67a64c9fe9 rework the binding system 2024-08-22 13:58:50 +02:00
Samuliak
a50ce997df fix: writing to depth from a fragment shader 2024-08-07 21:14:31 +02:00
Exzap
fa8bab2f39 Latte: Add support for LOOP_START_NO_AL shader instruction
This instruction is used by Injustice: Gods Among Us and Project Zero

Also improved robustness of rendering to be less prone to crashing when a game tries to draw with broken shaders
2024-04-03 01:56:49 +02:00
Exzap
72ce4838ea Latte: Optimize uniform register array size for known shaders 2024-02-20 10:57:05 +01:00
Exzap
ff9d180154 Code cleanup 2023-10-01 11:46:26 +02:00
Exzap
3e925b7707 Latte: Bound uniform buffers based on access patterns within the shader 2023-09-29 06:48:10 +02:00
why-keith
caa57a3cfd
Logging migration (forceLogDebug_printf) (#780)
* script changes - no arguments

* script changes with 2 arguments

* script changes with > 2 arguments

* script conversions with 1 argument - pt. 1

* script conversions with 1 argument - pt. 2

* script conversions with 1 argument - pt. 3

* script conversions with 1 argument - pt. 4

* script conversions with 1 argument - pt. 5

Pointer format hunting

* Fixed pointer format

* script conversions with 1 argument - final

* fixed conversion in non utf-8 file

* fixed conversion with capital letter

* actually fixed conversion with capital letter

* fixed another capital lettering issue

* Added conversions with LR removed

* removed LR from logs

* Converted logs that previously contained LR

* converted log that originally specified string length

* fixed log with commas in main text

* fixed multi-line log

* Fixed more logs with commas in main text

* Fixed unformatted pointer

* added conversion with float value

* converted lines with double parameters

* converted missed line

* corrected argument formatting

Co-authored-by: Crementif <26669564+Crementif@users.noreply.github.com>

* Fixed misspellings of "unhandled"

unhandeled -> unhandled

Co-authored-by: Crementif <26669564+Crementif@users.noreply.github.com>

---------

Co-authored-by: Crementif <26669564+Crementif@users.noreply.github.com>
2023-04-25 08:43:31 +02:00
Exzap
8ce3f834c4 Latte: Optimize shader decompiler output 2023-03-13 05:34:53 +01:00
Exzap
f8ea594447 Latte: Small refactor for shader decompiler
Latte: Small refactor for shader decompiler
2023-03-02 16:22:19 +01:00
Exzap
9d25b88368 Latte: Add support for MIN_DX10 shader instruction 2023-02-22 13:37:14 +01:00
Exzap
3bceb39966
Remove PUBLIC_RELEASE flag and tie asserts to debug config (#287)
Removes the -DPUBLIC_RELEASE flag. Cemu's debug asserts are now only enabled if the build configuration is Debug. Similarly, on Windows the console is only shown for Debug builds.
2022-09-24 08:43:27 +02:00
Exzap
d60742f52b Add all the files 2022-08-22 22:21:23 +02:00