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
  • samples
  • sample_util
  • SampleApplication.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Add depth/stencil surfaces. · f618c9e5
    Jamie Madill authored Feb 15, 2018
    This change lets us create egl::Surfaces from a D24S8 config. This is
    a bit hacky, because the spec only mandates 24 -or- 32 bit depth
    support, but not both or either individually. Will need follow-up work
    for proper EGL config setup.
    
    A single depth buffer is allocated for the entire set of swapchain
    images and is used with each. This also might be a problem if we're
    rendering to multiple frames at the same time. We'll likely have to
    revisit this in the future as well.
    
    This adds a new RenderTargetVk to the SurfaceVk class which points to
    the Depth/Stencil image. Since ImageViews must refer to either the
    depth or stencil, but not both, we'll need to address this when we
    get to implementing depth/stencil texture reads in shaders.
    
    Bug: angleproject:2357
    Change-Id: Ibed0eed7e1d0efb272758dbfc79fa2c5aa93997f
    Reviewed-on: https://chromium-review.googlesource.com/919761Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    f618c9e5
SampleApplication.cpp 4.08 KB
EditWeb IDE
×

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