Commit graph

27 commits

Author SHA1 Message Date
Samuliak
fa004a33c6
add an option to preserve position invariance 2024-12-18 16:38:55 +01:00
Samo Z
18bd24b9c7 only set concurrent compilation if Metal 3 is available 2024-11-30 20:00:06 +01:00
Samuliak
7f5040a6e0
don't release autoreleased objects 2024-11-19 19:13:15 +01:00
Samuliak
a81ee7934e
maximize concurrent shader compilation when loading shader cache 2024-11-15 19:52:22 +01:00
Samuliak
31c10bd288
move fast math option to game profile 2024-11-03 16:35:47 +01:00
Samuliak
641ef71cab
count compiled shaders properly 2024-10-10 19:38:14 +02:00
Samuliak
bdfac965e0
implement async shader compilation 2024-10-10 18:26:14 +02:00
Samuliak
ebcb62a785 add: an option to turn fast math off 2024-10-02 17:18:20 +02:00
Samuliak
94e8ed5a46 fetch vertices manually if needed 2024-10-01 17:38:14 +02:00
Samuliak
c65123bbbe use logging instead of printing 2024-09-30 19:36:13 +02:00
Samo Z
8a74445a96 don't compile fragment shaders just-in-time 2024-09-04 19:05:07 +02:00
Samuliak
953975f5ec don't jit compile vertex shaders 2024-09-03 13:59:52 +02:00
Samuliak
bbed00751f hack: don't attempt to compile shaders with errors 2024-08-28 20:09:45 +02:00
Samuliak
67a64c9fe9 rework the binding system 2024-08-22 13:58:50 +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
502d5b8b2f include debug information 2024-08-16 16:38:01 +02:00
Samuliak
3c1a7479c2 save pipelines to a binary archive 2024-08-14 15:16:10 +02:00
Samuliak
53efb9e5b2 prepare for shader cache 2024-08-14 11:57:01 +02:00
Samuliak
e2ec602c43 specialize fragment shader output types & fix: shader errors 2024-08-07 13:25:38 +02:00
Samuliak
fa53af54db fix: memory leaks 2024-08-03 15:26:57 +02:00
Samuliak
406a85672d implement depth stencil cache & fix: textureSize 2024-08-03 10:01:57 +02:00
Samuliak
7ae29a74cd present 2024-07-28 18:43:47 +02:00
Samuliak
cb525b22ff implement vertex descriptors & draw 2024-07-27 21:26:26 +02:00
Samuliak
af3ce80b7c fix: shader errors and shader crashes 2024-07-26 18:56:30 +02:00
Samuliak
aac9b123a5 improve shadergen & create shaders 2024-07-26 15:43:15 +02:00