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
  • SurfaceVk.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Upgrade RGB8 textures to RGBA8. · 1d7be50a
    Jamie Madill authored Oct 29, 2017
    It's unlikely any real hardware supports this format. Hack in a fixed
    fallback format for RGB8. We could consider implementing conditional
    support by checking the VkPhysicalDevice properties.
    
    This extends the Vulkan format support info in the RendererVk class
    to distinguish between a Buffer and Texture format. This is closely
    related to how Vulkan has separate format support bits for Linear
    Textures, Optimal Textures, and Buffers. We probably won't need to
    keep separate caps for Linear/Optimal, but it makes sense for Buffers
    to eventually use the same format tables.
    
    BUG=angleproject:2207
    
    Change-Id: I8d427a99db15b314b13dd99f31aa1ac5055f0881
    Reviewed-on: https://chromium-review.googlesource.com/742376
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarFrank Henigman <fjhenigman@chromium.org>
    1d7be50a
SurfaceVk.cpp 20.1 KB
EditWeb IDE
×

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