[all-commits] [llvm/llvm-project] e5cfb9: [HLSL] Add static methods for resource initializat...

Helena Kotas via All-commits all-commits at lists.llvm.org
Thu Aug 28 08:57:07 PDT 2025


  Branch: refs/heads/users/hekota/pr155866-res-create-1-add-methods
  Home:   https://github.com/llvm/llvm-project
  Commit: e5cfb97d26f63942eea3c9353680fa4e669b02e7
      https://github.com/llvm/llvm-project/commit/e5cfb97d26f63942eea3c9353680fa4e669b02e7
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
    M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.h
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl
    M clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
    M clang/test/AST/HLSL/TypedBuffers-AST.hlsl
    M clang/test/SemaHLSL/Language/InitLists.hlsl

  Log Message:
  -----------
  [HLSL] Add static methods for resource initialization and a constructor from handle

Adds static methods `__createFromBinding` and `__createFromImplicitBinding`
to resource classes. These methods will be used for resource initialization
instead of the resource constructors that take binding information.

Also adds a private resource constructor that takes an initialized resource handle.
This constructor will be called from the static create methods.



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