Commit Graph

947 Commits

Author SHA1 Message Date
Samuliak
a72136419c
log instead of printf 2024-11-15 17:32:29 +01:00
Samuliak
38cbd3e03a
handle halfZ in the shader decompiler 2024-11-15 17:01:21 +01:00
Samuliak
d732416569
invalidate index buffers when a command buffer finishes 2024-11-14 19:10:36 +01:00
Samuliak
c9b18efc03
don't transform depth to 0...1 2024-11-14 18:48:27 +01:00
Samuliak
5b7a0fa3f6
warn about invalid primitive mode 2024-11-14 17:10:42 +01:00
Samuliak
6ea6ad37d6
use verticesPerInstance for rect vertex shaders 2024-11-11 17:40:58 +01:00
Samuliak
a1b9164831
don't mask ps inputs with 0x7F 2024-11-11 17:33:12 +01:00
Samuliak
4b58ac1a1e
check if verticesPerInstance uniform is used 2024-11-11 17:21:16 +01:00
Samuliak
326d3442cd
cleanup the buffer allocator 2024-11-11 15:45:13 +01:00
Samuliak
a52095b40a
sync between command buffers 2024-11-10 20:09:24 +01:00
Samuliak
ed32feb3d9
rint texture slice & explicitly specify texture lod 2024-11-10 15:18:45 +01:00
Samuliak
97be576cd6
cast texture slice to uint 2024-11-10 07:57:22 +01:00
Samuliak
02c36d9125
add: blit todo notice 2024-11-09 08:04:17 +01:00
Samuliak
f1db7d5ab9
don't log texture allocation warnings 2024-11-09 07:25:20 +01:00
Samuliak
6897abd59b
fix: a typo in the attribute decoder 2024-11-08 17:27:50 +01:00
Samuliak
f26495707e
implement screenshots 2024-11-08 16:58:29 +01:00
Samuliak
2c9f627f72
remove MetalLogging log type 2024-11-08 08:33:39 +01:00
Samuliak
763e50c7b8
Merge branch 'main' into metal 2024-11-07 20:26:59 +01:00
SamoZ256
813f9148b1
macOS: Fix absolute path to libusb dylib (#1405) 2024-11-07 07:09:35 +01:00
Samuliak
798da38c26
Merge branch 'main' into metal 2024-11-06 15:43:08 +01:00
SamoZ256
9941e00b54
macOS: Fix libusb path for bundle (#1403) 2024-11-05 22:22:00 +01:00
Samuliak
fc1580f31f
remove outdated todo notices 2024-11-05 18:07:03 +01:00
Samuliak
c46c8214f5
refactor command buffers 2024-11-05 17:57:20 +01:00
Samuliak
552c4901b9
implement occlusion query flush 2024-11-05 17:42:02 +01:00
Samuliak
ea0a30b564
handle special state 8 and 5 2024-11-05 17:13:34 +01:00
Samuliak
07c62d5f95
release texture upload buffer 2024-11-05 17:06:08 +01:00
Samuliak
27902009c6
separate metal shader cache 2024-11-04 19:03:59 +01:00
Samuliak
2e93b08b39
rename buffer cache type to buffer cache mode 2024-11-04 16:10:37 +01:00
Samuliak
a00d409ab7
improve host and device shared buffer cache modes 2024-11-04 16:03:34 +01:00
Samuliak
fbea328b9b
correctly report memory usage for host buffer cache 2024-11-03 16:58:32 +01:00
Samuliak
e00d244e0d
remove unused code 2024-11-03 16:45:13 +01:00
Samuliak
31c10bd288
move fast math option to game profile 2024-11-03 16:35:47 +01:00
SamoZ256
b008ace7d1
Merge pull request #10 from SamoZ256/metal-host-buffer
Multiple buffer cache types
2024-11-03 16:17:39 +01:00
Samuliak
b38ca6a58a
add an option to choose buffer cache type 2024-11-03 12:43:35 +01:00
Samuliak
03d4e86b61
add an option to use the host memory instead of buffer cache 2024-11-03 12:09:47 +01:00
Samuliak
ab41de4f9f
use host memory instead of buffer cache when possible 2024-11-03 11:53:16 +01:00
Exzap
1c49a8a1ba nn_nfp: Implement GetNfpReadOnlyInfo and fix deactivate event
Fixes Amiibos not being detected in MK8
2024-11-01 22:47:19 +01:00
SamoZ256
ed48fbfd55
Merge branch 'main' into metal 2024-11-01 15:56:10 +01:00
Samuliak
61de5a3d3a
only log todo for vulkan output shader 2024-11-01 15:51:44 +01:00
Samuliak
6eb46ed6eb
remove 'Vulkan' from cache loading message 2024-11-01 15:46:49 +01:00
Samuliak
927c52e268
implement calculate texture lod 2024-11-01 15:30:15 +01:00
Samuliak
7eb8508db4
fix: CI when metal is disabled 2024-10-31 17:13:22 +01:00
capitalistspz
47001ad233
Make MEMPTR<T> a little more T*-like (#1385) 2024-10-30 23:10:32 +01:00
Samuliak
e7ac19979d
make occlusion queries accumulate with draws 2024-10-30 09:20:50 +01:00
Samuliak
00256e5589
only set blend color when changed 2024-10-29 17:43:29 +01:00
SamoZ256
a61d0f0237
Merge pull request #7 from SamoZ256/metal-pipeline-cache
Pipeline cache
2024-10-29 17:33:36 +01:00
Samuliak
85db0dc468
cache all pipelines 2024-10-29 07:44:47 +01:00
SamoZ256
228fd347e7
Merge pull request #9 from SamoZ256/metal-async-pipelines
Async pipeline compilation
2024-10-29 06:57:39 +01:00
Samuliak
7906733bfa
don't compile certain pipelines async 2024-10-28 19:02:44 +01:00
Samuliak
4e3f94e870
compile pipelines async 2024-10-28 17:32:43 +01:00