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
  • ProgramExecutable.h
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    Vulkan: Save linked ProgramExecutable data · d34ab323
    Tim Van Patten authored May 04, 2020
    PPOs need to support drawing with Programs that failed their last
    linkProgram() if they had previously successfully linked. This requires
    saving the ProgramExecutable when linkProgram() succeeds, and not
    overwriting it with subsequent linkProgram() calls unil the next
    successful one.
    
    To achieve this, the new member ProgramState::mLinkedExecutable will
    point to the last successfully linked ProgramExecutable and
    ProgramState::mExecutable will point to a new ProgramExecutable when the
    next linkProgram() is attempted. If the link fails, the newly allocated
    ProgramExecutable will be delete()'ed and mExecutable will point to the
    previous 'good' ProgramExecutable still being tracked by
    mLinkedExecutable. If it succeeds, the old mLinkedExecutable will be
    delete()'ed and mLinkedExecutable will be updated to point to the ne
    one.
    
    Bug: angleproject:4514
    Test: KHR-GLES31.core.sepshaderobjs.StateInteraction
    Change-Id: I0677602a6d652a055404667ec9e9305fed5b4177
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2181450
    Commit-Queue: Tim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    d34ab323
ProgramExecutable.h 13.1 KB
EditWeb IDE
×

Replace ProgramExecutable.h

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.