Vulkan: Actually call the new lost/restore funcs.

This commit is contained in:
Unknown W. Brackets committed 2016-10-09 11:28:11 -07:00
1 parent a6ff7c6711
commit 40e2ab1d12
1 file changed
+16 -2
+16 -2
View File
@@ -1945,11 +1945,25 @@ void GPU_Vulkan::FastLoadBoneMatrix(u32 target) {
}
void GPU_Vulkan::DeviceLost() {
// TODO
framebufferManager_->DeviceLost();
drawEngine_.DeviceLost();
pipelineManager_->DeviceLost();
textureCache_.DeviceLost();
depalShaderCache_.Clear();
shaderManager_->ClearShaders();
}
void GPU_Vulkan::DeviceRestore() {
// TODO
vulkan_ = (VulkanContext *)PSP_CoreParameter().graphicsContext->GetAPIContext();
CheckGPUFeatures();
BuildReportingInfo();
UpdateCmdInfo();
framebufferManager_->DeviceRestore(vulkan_);
drawEngine_.DeviceRestore(vulkan_);
pipelineManager_->DeviceRestore(vulkan_);
textureCache_.DeviceRestore(vulkan_);
shaderManager_->DeviceRestore(vulkan_);
}
void GPU_Vulkan::GetStats(char *buffer, size_t bufsize) {