Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • 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
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • renderer
  • vulkan
  • FenceNVVk.cpp
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    Vulkan: Flush if sync object is pending during SyncVk::getStatus() · 535d4783
    Tim Van Patten authored Jan 20, 2021
    When a glGetSynciv() is performed for GL_SYNC_STATUS, we should flush
    any pending commands if a sync object is pending a flush, since the
    caller is interested in the status of a fence. This will guarantee that
    the work is submitted to the hardware and eventually completes.
    
    This is accomplished by moving mSyncObjectPendingFlush from ContextVk to
    ShareGroupVk, so that any sync objects used by any contexts within the
    share group are submitted to hardware and the required work completes.
    
    Bug: angleproject:5306
    Bug: angleproject:5425
    Test: FenceSyncTest.BasicOperations
    Change-Id: I2e2681ad01fda429ba37f061c9bac5eb91f800fd
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2641095Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Tim Van Patten <timvp@google.com>
    535d4783
FenceNVVk.cpp 1.52 KB
EditWeb IDE
×

Replace FenceNVVk.cpp

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.