[all-commits] [llvm/llvm-project] 2a5ee2: [HLSL] Allow resource annotations to specify only ...

Helena Kotas via All-commits all-commits at lists.llvm.org
Wed Apr 30 10:27:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a5ee2501d6249933b0dd4f81a4ec56e146b9669
      https://github.com/llvm/llvm-project/commit/2a5ee2501d6249933b0dd4f81a4ec56e146b9669
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/Parse/ParseHLSL.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/AST/HLSL/resource_binding_attr.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error.hlsl
    M clang/test/SemaHLSL/resource_binding_implicit.hlsl

  Log Message:
  -----------
  [HLSL] Allow resource annotations to specify only register space (#135287)

Specifying only `space` in a `register` annotation means the compiler
should implicitly assign a register slot to the resource from the
provided virtual register space.

Closes #133346



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