Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,030
    • Issues 3,030
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 996
    • Merge requests 996
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MesaMesa
  • mesamesa
  • Merge requests
  • !15696

Move common format functions to vulkan/util/vk_format.h

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rajnesh Kanwal requested to merge rajnesh-kanwal/mesa:dev/add_common_format_functions_base into main Mar 31, 2022
  • Overview 1
  • Commits 2
  • Pipelines 5
  • Changes 5

Moving duplicate vk_format helper functions to common vulkan/util/vk_format.h and also renaming imagination's vk_format_get_component_size_in_bits to match how amd and freedreno name the same function. Not moving this function to common code as freedreno's implementation is a bit different.

Also changing amd's vk_format_get_component_bits to use util_format_get_component_bits implementation.

Signed-off-by: Rajnesh Kanwal rajnesh.kanwal@imgtec.com

/cc @jekstrand @frankbinns

Edited Mar 31, 2022 by Rajnesh Kanwal
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev/add_common_format_functions_base