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
  • TextureTest.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Emulated RGB copies in compute · 5850c748
    Shahbaz Youssefi authored Nov 20, 2020
    The copy between emulated RGB formats can take a number of paths:
    
    - Sample from src (reinterpreted as UINT), output to dst
    - Sample from src, output to temp buffer, copy to dst
    - Copy src to temp buffer, output to dst
    - Copy src to temp buffer, convert to another temp buffer, copy to dst
    
    While directly sampling from src and outputting to dst is more
    efficient, these are not always possible.  The former may not have
    SAMPLED_IMAGE usage bit for the reinterpreted UINT format, and the
    latter may not have STORAGE_IMAGE usage at all.
    
    This change takes the universal approach of using two temp buffers.  The
    ConvertVertex shader is used to transform between RGB and RGBA when
    copying from the first temp buffer to the second.
    
    Bug: angleproject:5278
    Change-Id: I63d916cfdb4c389f5b817d89cd7348fdea703ce5
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2556467
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarBrandon Schade <b.schade@samsung.com>
    5850c748
TextureTest.cpp 312 KB
EditWeb IDE
×

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