[all-commits] [llvm/llvm-project] 9f5564: [DirectX] Get resource information via TargetExtType

Justin Bogner via All-commits all-commits at lists.llvm.org
Thu Dec 12 13:53:50 PST 2024


  Branch: refs/heads/users/bogner/119772
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f5564c72ada73feb88bcb82fcdfcc7ca4c4cada
      https://github.com/llvm/llvm-project/commit/9f5564c72ada73feb88bcb82fcdfcc7ca4c4cada
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/DXILResource.h
    M llvm/lib/Analysis/DXILResource.cpp
    M llvm/lib/Target/DirectX/DXILOpLowering.cpp
    M llvm/lib/Target/DirectX/DXILPrettyPrinter.cpp
    M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
    M llvm/unittests/Analysis/DXILResourceTest.cpp

  Log Message:
  -----------
  [DirectX] Get resource information via TargetExtType

Instead of storing an auxilliary structure with the information from the
DXIL resource target extension types duplicated, access the information
that we can via the type itself.

This also means we need to handle some of the target extension types we
haven't fully defined yet, like Texture and CBuffer. For now we make an
educated guess to what those should look like based on llvm/wg-hlsl#76,
and we can update them fairly easily when we've defined them more
thoroughly.

First part of #118400



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