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
  • Sean Risser's avatar
    Implement VK_KHR_timeline_semaphore · 6846389f
    Sean Risser authored Dec 14, 2020
    Timeline semaphores track a monotonically increasing uint64_t that
    serves as a signal to any number of threads on the device or the host.
    Threads and the host wait on the value of the payload to become a
    specific value, then unblock. Or they can signal the semaphore and
    update its value, unblocking all threads waiting on that value in the
    process.
    
    Clang's Thread Safety Analysis is not used for TimelineSemaphore as
    it has a bug that prevents it from properly analyzing lambdas that access
    guarded resources.
    
    Change-Id: Iafd95b8eac11beea21c00df87ca7ca1e51c77c64
    Bug: b/147738281
    Test: dEQP-VK.api.info.vulkan1p2_limits_validation.timeline_semaphore
    Test: dEQP-VK.synchronization.basic.timeline_semaphore.*
    Test: dEQP-VK.synchronization.timeline_semaphore.*
    Test: dEQP-VK.synchronization.op.single_queue.timeline_semaphore.*
    Test: dEQP-VK.synchronization.cross_instance.*
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/52148
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarSean Risser <srisser@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com>
    Commit-Queue: Sean Risser <srisser@google.com>
    6846389f
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.