Commit graph

40 commits

Author SHA1 Message Date
Samuliak
94e8ed5a46 fetch vertices manually if needed 2024-10-01 17:38:14 +02:00
Samuliak
358567ad4a make a workaround for streamout with no fbo 2024-09-14 22:06:30 +02:00
Samuliak
e8f726ecd7 use lcr 2024-09-07 13:42:31 +02:00
Samuliak
84049814f2 make binary archives device and os version specific 2024-09-07 13:23:38 +02:00
Samuliak
cf5602466c optimize rasterization kill 2024-09-07 11:05:13 +02:00
Samuliak
3dc233fb56 support rasterization kill 2024-09-07 11:00:10 +02:00
Samuliak
cd72ad80d2 include color format data types in ps hash 2024-09-05 14:34:39 +02:00
Samo Z
8a74445a96 don't compile fragment shaders just-in-time 2024-09-04 19:05:07 +02:00
Samuliak
b13ba58aad correct the object shader hash 2024-09-04 07:36:40 +02:00
Samuliak
953975f5ec don't jit compile vertex shaders 2024-09-03 13:59:52 +02:00
Samuliak
a9a4d7b4f8 disable depth write if active FBO doesn't have a depth attachment 2024-08-30 16:53:00 +02:00
Samuliak
cda4799b54 disable writes for color attachments which are not in the active FBO 2024-08-30 16:44:26 +02:00
Samuliak
2f822d07c7 support game pad view in a separate window 2024-08-30 08:57:50 +02:00
Samuliak
074f9f6f3e align buffer stride after setting to min stride 2024-08-29 09:28:38 +02:00
Samuliak
7a28985454 properly implement 0 stride vertex buffers 2024-08-29 09:23:34 +02:00
Samuliak
bbed00751f hack: don't attempt to compile shaders with errors 2024-08-28 20:09:45 +02:00
Samuliak
4f7288d937 fix: rect mesh shader errors 2024-08-21 14:51:36 +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
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
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
d79d7fea63 implement sampler cache 2024-08-15 11:44:06 +02:00
Samuliak
3c1a7479c2 save pipelines to a binary archive 2024-08-14 15:16:10 +02:00
Samuliak
5e9537c777 fix: render pass mess 2024-08-13 16:40:25 +02:00
Samuliak
eb573fcaca fix: color write mask and unpackHalf2x16 2024-08-11 18:32:50 +02:00
Samuliak
a38ddb5fc2 fix: shadows 2024-08-08 19:25:12 +02:00
Samuliak
1bcdade83e set stencil state 2024-08-07 20:59:05 +02:00
Samuliak
e2ec602c43 specialize fragment shader output types & fix: shader errors 2024-08-07 13:25:38 +02:00
Samuliak
d7e9aff230 implement triangle fan reindexing 2024-08-07 11:44:16 +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
99ff282720 implement more primitive types & warn about vertex stride 2024-08-06 16:29:06 +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
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