[all-commits] [llvm/llvm-project] 48f55b: [Transforms][DXIL] Tool to generate resource metad...

Justin Bogner via All-commits all-commits at lists.llvm.org
Tue Jul 16 10:51:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48f55ba9d8e51cf976a8789521dd0763dea1e2d1
      https://github.com/llvm/llvm-project/commit/48f55ba9d8e51cf976a8789521dd0763dea1e2d1
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Support/DXILABI.h
    A llvm/include/llvm/Transforms/Utils/DXILResource.h
    M llvm/lib/Transforms/Utils/CMakeLists.txt
    A llvm/lib/Transforms/Utils/DXILResource.cpp
    M llvm/unittests/Transforms/Utils/CMakeLists.txt
    A llvm/unittests/Transforms/Utils/DXILResourceTest.cpp

  Log Message:
  -----------
  [Transforms][DXIL] Tool to generate resource metadata and annotations (#98939)

This introduces dxil::ResourceInfo, which can generate DXIL-style
metadata for resources and the constants for the DXIL 6.6+
annotateResource operation. These are done together so that it's easier
to see all of the information the ResourceInfo class needs to store.

This will be used for lowering resource in the DirectX backend and is
intended to help with the translation in the other direction as well. To
do that, we'll need the inverse functions of `getAsMetadata` and
`getAnnotateProps`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list