Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0c320c9 authored by Steve Pfetsch's avatar Steve Pfetsch Committed by Android (Google) Code Review
Browse files

Merge "Revert "Extend hack to new driver version""

parents 57f7d107 72957a98
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -903,8 +903,7 @@ VkResult CreateSwapchainKHR(VkDevice device,
    int gralloc_usage = 0;
    if (dispatch.GetSwapchainGrallocUsage2ANDROID) {
        uint64_t consumer_usage, producer_usage;
        uint32_t driver_version = GetData(device).driver_version;
        if (driver_version == 256587285 || driver_version == 96011958) {
        if (GetData(device).driver_version == 256587285) {
            // HACK workaround for loader/driver mismatch during transition to
            // vkGetSwapchainGrallocUsage2ANDROID.
            typedef VkResult(VKAPI_PTR *