Commit graph

64 commits

Author SHA1 Message Date
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
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
Samuliak
53efb9e5b2 prepare for shader cache 2024-08-14 11:57:01 +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
5e9537c777 fix: render pass mess 2024-08-13 16:40:25 +02:00
Samuliak
4b7c01ee2a fix: 3D texture copies & fix: present filter 2024-08-13 11:44:49 +02:00
Samuliak
0c73ff8452 use multiple command buffers per frame 2024-08-12 14:27:28 +02:00
Samuliak
34d8076ab6 fix: srgb 2024-08-12 11:36:12 +02:00
Samuliak
5e748cdb48 support surface copy parameters 2024-08-12 11:14:55 +02:00
Samuliak
5bc9913bf4 implement surface copy 2024-08-11 20:31:19 +02:00
Samuliak
8316cee59a prepare for surface copy 2024-08-11 20:09:48 +02:00
Samuliak
eb573fcaca fix: color write mask and unpackHalf2x16 2024-08-11 18:32:50 +02:00
Samuliak
c6ab45a098 fix: vertex buffer leaks 2024-08-11 14:17:40 +02:00
Samuliak
caba20da4b apply gamma correction 2024-08-11 13:47:06 +02:00
Samuliak
6d34d24322 fix: missing color attachments & bind some other state 2024-08-11 13:35:26 +02:00
Samuliak
a38ddb5fc2 fix: shadows 2024-08-08 19:25:12 +02:00
Samuliak
5c246d55bd implement transform feedback 2024-08-08 13:52:48 +02:00
Samuliak
e0791c3bf4 set stencil reference value 2024-08-08 11:58:18 +02:00
Samuliak
d3249dc324 implement texture readback 2024-08-07 18:20:09 +02:00
Samuliak
82dcbd98a6 prepare for vertex stride workaround 2024-08-06 19:08:22 +02:00
Samuliak
0a7f30c6a4 implement texture swizzle 2024-08-06 10:23:57 +02:00
Samuliak
d64e64e5ef fix: texture updates and buffer bindings 2024-08-06 06:43:22 +02:00
Samuliak
f11526a244 fix: texture bindings 2024-08-05 08:54:11 +02:00
Samuliak
5030a2e84a implement color buffer clear 2024-08-04 15:09:49 +02:00
Samuliak
763d57d921 implement texture copy and clear 2024-08-04 13:30:34 +02:00
Samuliak
ce6d4cacd1 implement sampler states 2024-08-03 19:58:40 +02:00
Samuliak
d2edc41680 fix: present issues 2024-08-03 16:15: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
406a85672d implement depth stencil cache & fix: textureSize 2024-08-03 10:01:57 +02:00
Samuliak
d7411e27f7 implement render pipeline cache 2024-08-03 09:33:32 +02:00
Samuliak
c6f66167a5 fix: viewport 2024-08-03 08:36:34 +02:00
Samuliak
db709c3495 fix: present issue 2024-08-03 08:24:39 +02:00
Samuliak
4022755a33 implement proper bit cast in shaders 2024-08-02 20:25:37 +02:00
Samuliak
4173675f03 implement depth state & texture clears 2024-08-02 19:42:34 +02:00
Samuliak
a2d15858ad fix: shader errors 2024-08-02 17:48:25 +02:00
Samuliak
e4abb305ac implement blending 2024-08-01 20:45:24 +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
f01130022a rework command encoder system 2024-07-29 19:00:13 +02:00