Commit Graph

755 Commits

Author SHA1 Message Date
Samuliak
96d6168c50 add: additional debug info 2024-08-25 10:15:10 +02:00
Samuliak
c905399f1f fix: ImGui issues 2024-08-25 10:09:18 +02:00
Samuliak
b105a383aa add: basic debug overlay 2024-08-24 17:48:02 +02:00
Samuliak
6bf3406793 implement IsPadWindowActive 2024-08-24 17:30:56 +02:00
Samuliak
c4a26d4c70 report total vram correctly 2024-08-24 17:06:50 +02:00
Samuliak
7499c3fbe7 add: ImGui support 2024-08-24 17:03:49 +02:00
Samuliak
d4a1074425 rework the present system 2024-08-23 10:52:20 +02:00
Samuliak
6bb191212b simplify texture readback 2024-08-23 09:41:00 +02:00
Samuliak
28aef858f2 fix: texture readback 2024-08-23 09:00:00 +02:00
Samuliak
8e87b9676a fix: missing lod parameter 2024-08-22 18:20:26 +02:00
SamoZ256
b332d638c7
Merge pull request #1 from SamoZ256/metal-geo-shaders
Geometry shaders
2024-08-22 16:06:44 +02:00
Samuliak
c05b2d0b48 don't stringify shader source & move vertex buffer bindings by 1 2024-08-22 15:02:49 +02:00
Samuliak
67a64c9fe9 rework the binding system 2024-08-22 13:58:50 +02:00
Samuliak
3d0055af6a end render pass if attachment is being read 2024-08-21 15:53:40 +02:00
Samuliak
4f7288d937 fix: rect mesh shader errors 2024-08-21 14:51:36 +02:00
Samuliak
339af5c4c5 support formats with X components 2024-08-21 13:49:15 +02:00
Samuliak
a832bc225e support rect primitive emulation 2024-08-21 12:12:45 +02:00
Samuliak
7500a54b38 fix: geometry shaders 2024-08-21 08:17:41 +02:00
Samuliak
76cf3de80b disable vertex buffer restride for object shaders 2024-08-20 20:27:41 +02:00
Samuliak
97f441ecf1 draw with geometry shaders 2024-08-20 20:14:02 +02:00
Samuliak
2f4ceb33e0 patch object and mesh shaders 2024-08-20 18:59:25 +02:00
Samuliak
9679c6b7e8 set primitive count in mesh shaders 2024-08-20 17:33:55 +02:00
Samuliak
46269c0069 fix: mesh shader errors 2024-08-20 09:52:54 +02:00
Samuliak
b10bcd422e emit mesh shaders 2024-08-20 09:20:22 +02:00
Samuliak
6b1360415b emit object shaders 2024-08-20 08:22:24 +02:00
Samuliak
ca256eb764 check for pixel format support 2024-08-19 16:40:36 +02:00
Samuliak
69a36246fb do GPU texture loading on non-apple GPUs 2024-08-19 16:14:06 +02:00
Samuliak
b59dbfc9c3 hack: increase xfb ring buffer size 2024-08-19 16:02:36 +02:00
Samuliak
e2f66b8aa3 fix: streamout 2024-08-19 13:07:30 +02:00
Samuliak
9aa72e6295 report vram usage 2024-08-18 20:03:37 +02:00
Samuliak
9bb7479d16 use more efficient cpu cache mode when possible 2024-08-18 17:40:41 +02:00
Samuliak
be0a69a5e2 do texture load on GPU if no unified memory 2024-08-18 14:49:25 +02:00
Samuliak
485a652c85 use managed storage mode when dedicated memory 2024-08-18 14:37:39 +02:00
Samuliak
269e072139 move buffer allocators to separate file & fix: high memory usage 2024-08-18 11:32:24 +02:00
Samuliak
265785772a rework buffer allocator 2024-08-18 11:13:49 +02:00
Samuliak
07989d828c fix: performance regression 2024-08-17 19:54:55 +02:00
Samuliak
b8e9bb355c fix: GPU hangs (hack) 2024-08-17 19:05:00 +02:00
Samuliak
83a08b2247 fix: some Metal validation errors 2024-08-17 17:51:37 +02:00
Samuliak
502d5b8b2f include debug information 2024-08-16 16:38:01 +02:00
Samuliak
0d0152d6e0 fix: present 2024-08-16 15:33:49 +02:00
Samuliak
d79d7fea63 implement sampler cache 2024-08-15 11:44:06 +02:00
Samuliak
9982ac7acb remove more unnecessary rebinds 2024-08-15 10:58:33 +02:00
Samuliak
9a215e064f don't bind textures and buffers which are already bound 2024-08-15 10:15:05 +02:00
Samuliak
ed7354fa1b reset depth bias 2024-08-14 21:23:18 +02:00
Samuliak
be98734358 fix: incorrect roundEven implementation 2024-08-14 20:58:47 +02:00
Samuliak
0bb99aaa75 set depth bias 2024-08-14 20:28:28 +02:00
Samuliak
c4688e1ad1 stringify utility shader source 2024-08-14 16:21:43 +02:00
Samuliak
d48de5b56f fix: buffer cache crash on shutdown 2024-08-14 15:37:06 +02:00
SamoZ256
52062bd285
Merge branch 'main' into metal 2024-08-14 15:17:35 +02:00
Samuliak
3c1a7479c2 save pipelines to a binary archive 2024-08-14 15:16:10 +02:00