Commit graph

1110 commits

Author SHA1 Message Date
SamoZ256
4075777df1
Merge 3fececc3ba into ec2d7c086a 2025-01-30 13:48:34 +08:00
Exzap
ec2d7c086a coreinit: Clean up time functions
Some checks failed
Generate translation template / generate-pot (push) Failing after 34s
Build check / build (push) Failing after 40s
2025-01-30 03:49:17 +01:00
Exzap
c714e8cb6b coreinit: Time to tick conversion is unsigned
The result is treated as signed in most cases, but the calculation uses unsigned arithmetic.

As a concrete example where this matters, DS VC passes -1 (2^64-1) to OSWaitEventWithTimeout which internally causes an overflow. But only with unsigned arithmetic this will result in a large positive number that behaves like the intended infinite timeout. With signed arithmetic the result is negative and the events will timeout immediately.
2025-01-30 03:32:24 +01:00
Samuliak
3fececc3ba
support line strip as vertex output with geometry shaders 2025-01-28 19:23:47 +01:00
Samuliak
1fb9cfd783
create helper function for rasterization kill 2025-01-28 16:41:30 +01:00
Samuliak
05518c01fb
support max anisotropy overwrite 2025-01-28 07:12:10 +01:00
SamoZ256
2f9ef596d2
Merge branch 'main' into metal 2025-01-27 20:42:24 +01:00
Samuliak
58a8b708f4
turn position invariance on for Star Fox Zero 2025-01-27 20:36:34 +01:00
Samuliak
15e5e4487e
determine GPU vendor 2025-01-26 13:16:06 +01:00
Samuliak
8df01528f4
fix auto position invariance not working 2025-01-26 11:12:28 +01:00
Samuliak
5d17b1e525
improve sampler border color message 2025-01-26 10:46:18 +01:00
Samuliak
2e6eafde2e
make sampler hash more accurate 2025-01-26 10:39:39 +01:00
Samuliak
24e1bba31c
choose the closest matching sampler border color 2025-01-26 10:23:07 +01:00
Samuliak
0c216e40e0
speed up render pass change check 2025-01-25 20:23:22 +01:00
Samuliak
af08521676
cleanup auto position invariance 2025-01-25 09:57:03 +01:00
Samuliak
14f42fc653
create stack scoped helper macro 2025-01-25 08:59:48 +01:00
Samuliak
b50b9135a0
turn position invariance on in Mario Kart 8 2025-01-25 08:04:45 +01:00
Samuliak
4f0bc724a8
fix memory leaks 2025-01-24 16:19:42 +01:00
goeiecool9999
e834515f43
Vulkan: Improve post-shutdown cleanup and minor improvements (#1401) 2025-01-23 21:20:03 +01:00
Exzap
4f9eea07e0 CI: Update action version 2025-01-23 21:06:07 +01:00
goeiecool9999
372c314f06 fix building with fmt11 and GCC 2025-01-23 21:03:11 +01:00
Samuliak
28bcaf07d9
fix some memory leaks 2025-01-23 19:54:17 +01:00
Samuliak
a74c6eef49
apply position invariance in Wonderful 101 2025-01-23 19:26:12 +01:00
Samuliak
3d76e7c257
Merge branch 'main' into metal 2025-01-23 19:16:20 +01:00
Exzap
5bd253a1f8 Revert "Fix building against fmt 11.1.0 (#1474)"
Reverting commit 4ac65159ef because game profile enums use the stringifying formatters from config.h and are not supposed to store raw integers
2025-01-23 17:33:06 +01:00
SamoZ256
2523c80dd1
Merge pull request #20 from SamoZ256/metal-auto-options
Auto options
2025-01-23 15:47:51 +01:00
Samuliak
9db0e920ac
change descriptions for some expert options 2025-01-23 15:47:25 +01:00
Samuliak
3c3f254e6d
fix auto buffer cache mode not showing 2025-01-23 15:44:12 +01:00
Samuliak
d912837c9c
add auto option for buffer cache mode 2025-01-23 15:03:48 +01:00
Samuliak
bc6fb816da
add auto option for position invariance 2025-01-23 14:50:14 +01:00
Samuliak
7ad4d480cb
filter framebuffer fetch more 2025-01-20 17:02:32 +01:00
Samuliak
29a4835278
fix incorrect ABGR4 texture decoder 2025-01-20 13:47:59 +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
225d11c43e
fix dfdx and dfdy component count 2025-01-18 19:50:35 +01:00
Samuliak
86f364889a
fix: sample compare component count 2025-01-18 19:40:22 +01:00
SamoZ256
f0cf61461c
Merge pull request #19 from SamoZ256/metal-allocator-rework
Allocator rework
2025-01-18 19:18:24 +01:00
Samuliak
bf93f90739
flush uploaded buffers 2025-01-18 18:01:40 +01:00
Samuliak
6d6c04ae3c
update debug overlay 2025-01-18 17:27:51 +01:00
Samuliak
d086eb3db5
fix: index buffer crashes 2025-01-18 17:22:28 +01:00
Samuliak
97b806f16f
rework buffer allocators 2025-01-18 14:42:57 +01:00
Samuliak
24ff85b11f
implement new index cache 2025-01-18 09:40:31 +01:00
SamoZ256
800aae4fdb
Merge branch 'main' into metal 2025-01-17 19:10:38 +01:00
Samuliak
9934213998
disable AIR cache 2025-01-17 14:56:59 +01:00
Samuliak
6cf7f437a7
set AIR cache thread priority 2025-01-17 14:51:54 +01:00
Samuliak
2a218d418f
use depth mask when writing to depth 2025-01-17 14:51:25 +01:00
SamoZ256
21e7466670
Merge pull request #18 from SamoZ256/metal-air-cache
AIR cache
2025-01-17 14:02:50 +01:00
Samuliak
770063506d
add AIR cache to cache paths 2025-01-17 13:52:18 +01:00