[all-commits] [llvm/llvm-project] 14170b: [HLSL] Add HLSLResourceBindingAttr to default cons...

Helena Kotas via All-commits all-commits at lists.llvm.org
Thu Feb 27 19:04:39 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14170b16028c087ca154878f5ed93d3089a965c6
      https://github.com/llvm/llvm-project/commit/14170b16028c087ca154878f5ed93d3089a965c6
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/AST/HLSL/resource_binding_attr.hlsl

  Log Message:
  -----------
  [HLSL] Add HLSLResourceBindingAttr to default constant buffer numeric declarations ($Globals) (#128981)

Translates `register(c#`) annotations on numeric constants in the global
scope to `HLSLResourceBindingAttr`. Applies to scalar, vector and array
constants.

Fixes #128964



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