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
  • ActiveTextureCacheTest.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Unset the ActiveTextureCache entry if the program does not reference it · 99db3471
    Geoff Lang authored May 13, 2020
    When changing uniforms of a program, State::onActiveTextureChange is
    called to update the ActiveTextureCache. If the sampler uniform type
    changes to TextureType::InvalidEnum, the entry in ActiveTextureCache was
    not cleared. This causes stale entries in ActiveTextureCache because the
    cache no longer matches what textures are bound and the cache does not
    add references to the textures in it.
    
    BUG=chromium:1078375
    BUG=chromium:1072406
    BUG=chromium:1078866
    
    Change-Id: If9719dcd4fc865b2301db450eb8115e7cfe46c4a
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2199654Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    99db3471
ActiveTextureCacheTest.cpp 3.68 KB
EditWeb IDE
×

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