Jeroen Bakker
98feb87f40
Vulkan: Disk cache for static pipelines
...
This PR introduces disk cache for static pipelines. The pipelines are
stored in `<cache folder>/vk-pipeline-caches/static-shaders.bin`.
Due to limitations in some drivers we add a custom header to the
cache file to identify if the cache file was created by the same driver
for the same GPU for the same Blender.
Reading/writing the cache is skipped when running blender with
`--debug-gpu` as that would generate different shader modules. For
now that isn't a problem, but the final implementation would check
before compiling a shader if a certain key is in the pipeline cache if
that is the case the compilation step is skipped and the cached shader
module is used.
Reference: #126229
Pull Request: https://projects.blender.org/blender/blender/pulls/127110
2024-09-05 13:02:40 +02:00
..
2024-08-30 13:24:57 +02:00
2024-04-18 12:47:23 +02:00
2024-08-30 10:01:56 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-07-04 10:41:43 +02:00
2024-08-29 08:55:02 +02:00
2024-08-19 15:37:48 +02:00
2024-08-20 11:27:33 +02:00
2024-08-20 11:27:33 +02:00
2024-08-30 10:01:56 +02:00
2024-08-27 16:00:00 +02:00
2024-06-05 18:47:22 +02:00
2023-11-10 15:19:24 +01:00
2024-09-01 13:15:56 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2023-11-16 15:03:47 +01:00
2024-06-20 11:34:19 +02:00
2024-07-04 13:47:54 +02:00
2024-07-17 14:38:44 +02:00
2024-07-17 14:38:44 +02:00
2024-09-05 13:02:40 +02:00
2024-09-03 15:25:50 +02:00
2024-07-02 09:20:34 +02:00
2024-07-02 09:20:34 +02:00
2023-09-21 15:21:32 +02:00
2023-08-16 00:20:26 +10:00
2024-09-03 21:22:34 +10:00
2024-08-20 14:50:18 +02:00
2024-08-19 15:37:48 +02:00
2024-06-25 15:15:18 +02:00
2024-08-29 08:55:02 +02:00
2024-03-23 01:24:18 +01:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2023-09-19 11:52:59 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-09-05 13:02:40 +02:00
2024-09-05 13:02:40 +02:00
2024-06-28 13:51:51 +02:00
2024-06-28 13:51:51 +02:00
2024-06-14 09:44:59 +02:00
2024-06-26 14:38:08 +02:00
2024-08-20 11:27:33 +02:00
2024-08-20 11:27:33 +02:00
2024-08-19 15:37:48 +02:00
2024-08-19 15:37:48 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2024-08-03 11:06:17 +02:00
2024-07-04 10:41:43 +02:00
2024-03-23 01:24:18 +01:00
2024-01-01 00:43:09 +13:00
2024-09-05 13:00:39 +02:00
2024-09-05 13:00:39 +02:00
2024-06-20 11:34:19 +02:00
2023-11-24 13:52:48 +01:00
2024-07-16 16:39:18 +02:00
2024-07-04 10:41:43 +02:00
2024-06-14 20:19:03 +02:00
2024-06-14 19:27:33 +02:00
2024-09-03 21:22:34 +10:00
2024-07-17 13:32:06 +02:00
2024-05-10 15:39:56 +02:00
2024-05-10 15:39:56 +02:00
2024-04-26 14:55:50 +02:00
2024-06-27 14:55:15 +02:00
2024-06-14 19:27:33 +02:00
2024-08-27 16:00:00 +02:00
2024-09-03 21:22:34 +10:00
2024-07-17 13:32:06 +02:00
2024-04-22 20:47:30 +02:00