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
  • renderer
  • vulkan
  • vk_utils.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Make room in RenderPassDesc for resolve attachments · d8ce865b
    Shahbaz Youssefi authored Jul 19, 2020
    Data in RenderPassDesc is packed better to make room for resolve
    attachments (9 bits made available; 8 for color and 1 for
    depth/stencil).
    
    mColorAttachmentRange contains values in [0, 8).  The right side of the
    range is made inclusive (i.e. [0, 7]) so it will fit in 3 bits.
    
    The number of samples is always a power of 2, and below 128 (for the
    foreseeable future), so its log is stored instead in 3 bits.
    
    This change doesn't add support for resolve attachments yet, but is
    split off the one that does to simplify it.
    
    Bug: angleproject:4836
    Change-Id: I2856286d5239499d0ab0c78b8154881c003309bc
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2306515
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    d8ce865b
vk_utils.cpp 45.1 KB
EditWeb IDE
×

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