Commit graph

34 commits

Author SHA1 Message Date
Samuliak
ab41de4f9f
use host memory instead of buffer cache when possible 2024-11-03 11:53:16 +01:00
Samuliak
f2096deddd remove vertex restriding code 2024-10-01 18:11:05 +02:00
Samuliak
5d01c77efc rename hybrid pipeline to void vertex pipeline 2024-09-30 19:43:53 +02:00
Samuliak
6c8cd5c445 use private storage mode when possible 2024-09-30 13:31:28 +02:00
Samuliak
3cf831d46a do vertex restride on the GPU & don't over-sync 2024-09-23 16:47:22 +02:00
Samuliak
a460a5d28a do vertex restride on the CPU 2024-09-21 09:28:46 +02:00
Samuliak
9c29acc635 synchronize buffer copying correctly 2024-08-30 15:27:55 +02:00
Samuliak
1412d1e70a enable triangle fan support 2024-08-30 11:02:09 +02:00
Samuliak
1cfb841b5f do buffer cache uploading on the GPU 2024-08-29 19:06:01 +02:00
Samuliak
67a64c9fe9 rework the binding system 2024-08-22 13:58:50 +02:00
Samuliak
69a36246fb do GPU texture loading on non-apple GPUs 2024-08-19 16:14:06 +02:00
Samuliak
9bb7479d16 use more efficient cpu cache mode when possible 2024-08-18 17:40:41 +02:00
Samuliak
485a652c85 use managed storage mode when dedicated memory 2024-08-18 14:37:39 +02:00
Samuliak
265785772a rework buffer allocator 2024-08-18 11:13:49 +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
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
13834ca9cb correct comment 2024-08-14 07:59:22 +02:00
Samuliak
bba2bbcefb use buffer allocator for restrided vertex buffers 2024-08-13 19:00:39 +02:00
Samuliak
27925a4fd9 do vertex buffer restride in a void vertex function 2024-08-13 18:28:10 +02:00
Samuliak
5e748cdb48 support surface copy parameters 2024-08-12 11:14:55 +02:00
Samuliak
c6ab45a098 fix: vertex buffer leaks 2024-08-11 14:17:40 +02:00
Samuliak
a38ddb5fc2 fix: shadows 2024-08-08 19:25:12 +02:00
Samuliak
e2ec602c43 specialize fragment shader output types & fix: shader errors 2024-08-07 13:25:38 +02:00
Samuliak
ac651eba77 implement vertex stride workaround 2024-08-06 20:42:38 +02:00
Samuliak
82dcbd98a6 prepare for vertex stride workaround 2024-08-06 19:08:22 +02:00
Samuliak
fa53af54db fix: memory leaks 2024-08-03 15:26:57 +02:00
Samuliak
fe3b84b4a7 fix: buffer allocator 2024-08-03 15:01:52 +02:00
Samuliak
d4564c18f2 fix: viewport and scissor 2024-08-01 17:55:16 +02:00
Samuliak
1fbd6ad376 set viewport and scissor 2024-07-31 20:50:24 +02:00
Samuliak
be8a560496 optimize index buffers 2024-07-30 19:27:52 +02:00
Samuliak
7ea18d8a5f bind resources to shaders 2024-07-28 07:36:32 +02:00
Samuliak
cb525b22ff implement vertex descriptors & draw 2024-07-27 21:26:26 +02:00