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
  • MemoryObjectVk.cpp
Find file
BlameHistoryPermalink
  • Michael Spang's avatar
    Vulkan: Add dedicated allocation support to MemoryObjectVk · 3ff24d6f
    Michael Spang authored May 10, 2020
    Add a VkMemoryDedicatedAllocateInfo to the vkAllocateMemory pNext chain
    if the client specifies the memory object was a dedicated allocation.
    
    We don't yet support suballocation of external memory objects, so all
    allocations are already effectively dedicated allocations regardless
    of whether vulkan requires it.
    
    The spec requires that memory passed to vkBindImageMemory be created with
    a VkMemoryDedicatedAllocateInfo if the driver requires dedicated
    allocations for that VkImage. If the driver does not require a dedicated
    allocation, there actually seems to be no explicit requirement to use
    this structure even if it was passed in at allocation time.
    
    Bug: angleproject:4627
    Change-Id: I8a660e871bdf72815815f0c0b3000f3b0570bd2d
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2192501Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Michael Spang <spang@chromium.org>
    3ff24d6f
MemoryObjectVk.cpp 8.64 KB
EditWeb IDE
×

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