Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
libplacebo
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • VideoLAN
  • libplacebo
  • Merge Requests
  • !72

Closed
Opened Oct 02, 2019 by Philip Langdale@philiplContributor
  • Report abuse
Report abuse

vulkan: Implement support for dedicated imported allocations

  • Overview 23
  • Commits 1
  • Pipelines 8
  • Changes 7
Dedicated allocations are ones where memory is allocated with
a single image or buffer specified at allocation time, and only
that buffer or image can be bound to the memory.

Our first use-case for supporting it is to handle importing dma_bufs
on AMD hardware, where the driver says dedicated allocations are
required.

There are no dramatic changes required to enable this. We are not
supporting generic dedicated allocations at this time as we don't
have a use for them.

This change also includes alignment verification logic from haasn.

I've tested this on Intel hardware, which doesn't require dedicated
allocations, but works fine if you force them.
Edited Oct 02, 2019 by Philip Langdale
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: videolan/libplacebo!72
Source branch: dedicated