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
  • tests
  • gl_tests
  • LinkAndRelinkTest.cpp
Find file
BlameHistoryPermalink
  • Yunchao He's avatar
    ES31: Fix the issue for relink rendering/compute program. · ece12535
    Yunchao He authored Nov 21, 2017
    When link or relink fails, if we try to install the unsuccessfully linked
    program (via UseProgram) and start rendering or dispatch compute, We can
    not always report INVALID_OPERATION for rendering/compute pipeline.
    The result depends on the previous state: Whether a valid program has been
    installed in pipeline before. If a valid program has been installed, it
    should be OK to use the old executable residing in the GL state to start
    rendering or dispatch compute. No error should be reported.
    
    This change also add unit tests for unsuccessfully linked/relinked program
    for rendering pipeline to avoid potential error.
    
    If a program successfully relinks when it is in use, the program might
    change from a rendering program to a compute program in theory,
    or vice versa.
    
    BUG=angleproject:2266
    
    Change-Id: I4726112af2bc74f5beef25e35d2fcaa9f31e0768
    Reviewed-on: https://chromium-review.googlesource.com/784273Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Corentin Wallez <cwallez@chromium.org>
    ece12535
LinkAndRelinkTest.cpp 12.7 KB
EditWeb IDE
×

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