Commit graph

59 commits

Author SHA1 Message Date
Samuliak
1752126f5c
flush file streamer after each write 2024-12-01 18:57:57 +01:00
Samuliak
c5bef60dbb
save pipeline even if compilation failed 2024-11-19 18:27:02 +01:00
Samuliak
fc1580f31f
remove outdated todo notices 2024-11-05 18:07:03 +01:00
Samuliak
85db0dc468
cache all pipelines 2024-10-29 07:44:47 +01:00
Samuliak
7906733bfa
don't compile certain pipelines async 2024-10-28 19:02:44 +01:00
Samuliak
4e3f94e870
compile pipelines async 2024-10-28 17:32:43 +01:00
Samuliak
bca32c43d0
refactor the way pipelines are stored 2024-10-28 16:38:17 +01:00
Samuliak
665eb23e4a
fix: incorrect pipeline compilation time report 2024-10-28 16:11:47 +01:00
Samuliak
1750715791
retrieve ps input table without using global variable 2024-10-19 15:32:45 +02:00
Samuliak
295a6ed9fd
only add pipeline to cache if compilation was attempted 2024-10-19 09:39:55 +02:00
Samuliak
15eb6bb37f
fix: pipeline cache with mesh shaders 2024-10-19 09:29:14 +02:00
Samuliak
4dcb858ab8
check if pipeline is eligible for serializing 2024-10-15 20:03:26 +02:00
Samuliak
79f5586c6c
report pipeline compilation count 2024-10-15 18:32:12 +02:00
Samuliak
944cc8be7d
store loaded pipelines 2024-10-15 17:47:47 +02:00
Samuliak
cd21d957b3
refactor fbos 2024-10-15 17:15:46 +02:00
Samuliak
6b47d4f61e
implement pipeline cache serializing 2024-10-15 07:48:59 +02:00
Samuliak
e9e510d2cd
add: base for pipeline caching 2024-10-14 20:00:37 +02:00
Samuliak
8b783e63dc
refactor pipeline cache 2024-10-13 09:20:45 +02:00
Samuliak
03bc647e1c
prepone compilation for rect geometry shaders 2024-10-10 18:53:22 +02:00
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