VulkanDevice: Work around some mobile driver issues

This commit is contained in:
Stenzek
2023-12-13 23:01:10 +10:00
parent 4f84a98864
commit c20805f2be
4 changed files with 63 additions and 28 deletions

View File

@@ -292,6 +292,12 @@ private:
bool EnableDebugUtils();
void DisableDebugUtils();
// Vendor queries.
bool IsDeviceAdreno() const;
bool IsDeviceMali() const;
bool IsDeviceImgTec() const;
bool IsBrokenMobileDriver() const;
void SubmitCommandBuffer(VulkanSwapChain* present_swap_chain = nullptr, bool submit_on_thread = false);
void MoveToNextCommandBuffer();
void WaitForPresentComplete();