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
  • Texture.cpp
Find file
BlameHistoryPermalink
  • Charlie Lao's avatar
    Vulkan: Make storage actually immutable for immutable textures · b5a71140
    Charlie Lao authored Aug 20, 2020
    The immutable textures are intended to be "immutable". Right now we are
    still re-allocating VkImage object based on base_level and max_level.
    This causes a problem for rendering to a level that is beyond
    [base_level, max_level], which is totally within OpenGL spec. This CL
    makes an immutable texture always allocate from 0 to max levels that are
    specified by a glTexStorage call. Changing base_level will not trigger
    re-allocation of VkImage object.
    
    Bug: b/181800403
    Change-Id: I4b4ddea17b7f6f7bfd8f36bfe8bb3a35b5c180b6
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2368038Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarIan Elliott <ianelliott@google.com>
    Commit-Queue: Charlie Lao <cclao@google.com>
    b5a71140
Texture.cpp 76.2 KB
EditWeb IDE
×

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