Add Vulkan pipeline cache serialization

This commit is contained in:
Wojciech Figat
2022-01-11 10:49:03 +01:00
parent 7dd97a2d9f
commit 4486ec3b72
2 changed files with 94 additions and 55 deletions

View File

@@ -672,14 +672,14 @@ public:
/// <param name="optimalTiling">If set to <c>true</c> the optimal tiling should be used, otherwise use linear tiling.</param>
/// <returns>The output format.</returns>
PixelFormat GetClosestSupportedPixelFormat(PixelFormat format, GPUTextureFlags flags, bool optimalTiling);
/// <summary>
/// Saves the pipeline cache.
/// </summary>
bool SavePipelineCache();
#if VK_EXT_validation_cache
/// <summary>
/// Loads the validation cache.
/// </summary>
void LoadValidationCache();
/// <summary>
/// Saves the validation cache.
/// </summary>