Files
test2/source/blender/gpu/vulkan
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-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +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-06-20 11:34:19 +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
2023-09-19 11:52:59 +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
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-01-01 00:43:09 +13:00