mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
Vulkan: Validate the pipeline cache before using it
This ensures that if a user changes adapters or vendors we're not passing invalid data to the driver.
This commit is contained in:
parent
9604b336c8
commit
8d48319414
2 changed files with 78 additions and 0 deletions
|
@ -143,6 +143,7 @@ public:
|
|||
|
||||
private:
|
||||
bool CreatePipelineCache(bool load_from_disk);
|
||||
bool ValidatePipelineCache(const u8* data, size_t data_length);
|
||||
void DestroyPipelineCache();
|
||||
void LoadShaderCaches();
|
||||
void DestroyShaderCaches();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue