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
  • util
  • shader_utils.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Fix sampler object lifetime. · 1efcbdb6
    Jamie Madill authored Oct 22, 2019
    Using the same scheme as we do for VkImageViews we can track VkSampler
    lifetime using SharedResourceUse. This fixes the race condition that
    could occur when samplers are deleted in one Context while being used
    in another.
    
    This fixes the last known resource lifetime issue. The multithreading
    tests should now pass without validation errors.
    
    Also adds regression tests to angle_end2end_tests.
    
    Bug: angleproject:2464
    Change-Id: I9dbed5062a0863b240ddf1a9b5d28560334934de
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1869548
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarIan Elliott <ianelliott@google.com>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    1efcbdb6
shader_utils.cpp 12.1 KB
EditWeb IDE
×

Replace shader_utils.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.