KhronosGroup / Vulkan-Samples

One stop solution for all Vulkan samples
Apache License 2.0
4.34k stars 648 forks source link

Use hpp-specific cache.data in sample hpp_pipeline_cache. #873

Closed asuessenbach closed 10 months ago

asuessenbach commented 10 months ago

Description

For whatever reason, the cache data written by the hpp_pipeline_cache sample is somewhat longer than that written by the pipeline_cache sample. Thus, if you run pipeline_cache after hpp_pipeline_cache, you get a failure. To prevent that from happening, I introduce a dedicated hpp_cache.data file. The better approach would be to adjust the difference, but I can't get a grip on it.

Build tested on Win10 with VS2022. Run tested on Win10 with NVidia GPU.

Fixes #

General Checklist:

Please ensure the following points are checked:

Sample Checklist

If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist: