Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • Vulkan
  • VkSemaphoreExternalFuchsia.hpp
Find file
BlameHistoryPermalink
  • David 'Digit' Turner's avatar
    Vulkan: Fix Fuchsia external semaphore fix tryWait(). · d347ccf0
    David 'Digit' Turner authored Apr 17, 2020
    Fix an issue where tryWait() would abort when called on an
    unsignaled semaphore. Due to the fact that zx_object_wait_one()
    will return ZX_ERR_TIMED_OUT in this case (because the expiration
    time was set with zx_clock_get_monotonic() instead of
    ZX_TIME_INFINITE).
    
    This fixes an issue that appears when vkWaitForIdle() is called
    by certain Fuchsia Vulkan graphics tests.
    
    + Replace ABORT() calls with DABORT() and proper returns to
      avoid crashing if DCHECK_ALWAYS_ON is not defined at
      build time.
    
    Bug: None
    Change-Id: Idaf14ed580c0c3ab326705842bcfe5e23eaad2b8
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/44018
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarDavid Turner <digit@google.com>
    d347ccf0
VkSemaphoreExternalFuchsia.hpp 3.66 KB
EditWeb IDE
×

Replace VkSemaphoreExternalFuchsia.hpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.