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
  • Observer.h
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    PPO: Fix updating sampler uniforms between draws · 0261b1d3
    Tim Van Patten authored Mar 31, 2021
    Updating sampler uniforms when using PPOs is currently broken, since the
    Context/State use the currently bound ProgramExecutable which belongs to
    the PPO, but the updates only happen to the Program's executable that
    the uniform belongs to.
    
    This change updates Program::updateSamplerUniform() to update any PPO
    ProgramExecutables with the updated texture information when a Program's
    sampler uniforms are updated, so the Context/State use the correct data.
    
    Bug: b/182409935
    Test: ProgramPipelineTest31.SampleTextureAThenTextureB
    Test: SamplersTest31.SampleTextureAThenTextureB
    Change-Id: I3c4e156c6e0c781e706f321f0bd12baf484ff42a
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2797951
    Commit-Queue: Tim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    0261b1d3
Observer.h 4.73 KB
EditWeb IDE
×

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