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
  • RenderTargetVk.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Have a cubemap as 2D-array view handy · ce9be8c7
    Shahbaz Youssefi authored May 24, 2019
    Previously, only texture copies used a shader that performed
    texelFetch().  To support cubemaps, a hack was used to temporarily
    create a 2D array view.
    
    With upcoming support for multisample resolve, more shaders will be
    using texelFetch() all requiring this workaround.  This change instead
    makes sure that a separate view is created for cubemaps for the purpose
    of being used with these shaders.  As a result, we have three logical
    views on textures and render targets:
    
    - Draw: a view that can be used as a color/depth/stencil attachment
    - Read: a view that can be used to sample from
    - Fetch: a view that can be used to fetch from
    
    The fetch view is generally the same as the read view, except for cube
    maps.
    
    Bug: angleproject:3200
    Change-Id: I21547f728c16f0aa8f0fcae152c400b5cc1565da
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1628585
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    ce9be8c7
RenderTargetVk.cpp 6.05 KB
EditWeb IDE
×

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