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
  • VulkanPerformanceCounterTest.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Unresolve depth/stencil MSRTT attachments · 43163491
    Shahbaz Youssefi authored Sep 22, 2020
    Using the same shader that unresolves color, this change allows
    depth/stencil to be unresolved as well.
    
    In turn, this allows the depth and stencil loadOp/storeOp of the
    implicit multisampled image associated with a
    multisampled-render-to-texture renderbuffer to be set to DONT_CARE.
    
    Stencil unresolve depends on VK_EXT_shader_stencil_export.  In the
    absence of this extension, the stencil aspect is not unresolved and must
    continue to use loadOp=LOAD and storeOp=STORE.  This is not ideal, but
    the expected use-case of depth/stencil MSRTT renderbuffers is that they
    get invalidated, so that load and store wouldn't happen in practice.
    
    Bug: angleproject:4836
    Change-Id: I9939d1e15e10fa8ed285acdd6fe6edb42c59054f
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2427049Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    43163491
VulkanPerformanceCounterTest.cpp 75.6 KB
EditWeb IDE
×

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