[all-commits] [llvm/llvm-project] e87e02: [HLSL] Use static create methods to initialize res...

Helena Kotas via All-commits all-commits at lists.llvm.org
Tue Sep 16 16:18:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e87e028847638b1d405a92d818c67355e916f566
      https://github.com/llvm/llvm-project/commit/e87e028847638b1d405a92d818c67355e916f566
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

  Changed paths:
    M clang/include/clang/Sema/SemaHLSL.h
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/CodeGenHLSL/resources/res-array-global-dyn-index.hlsl
    M clang/test/CodeGenHLSL/resources/res-array-global-multi-dim.hlsl
    M clang/test/CodeGenHLSL/resources/res-array-global-subarray-many.hlsl
    M clang/test/CodeGenHLSL/resources/res-array-global-subarray-one.hlsl
    M clang/test/CodeGenHLSL/resources/res-array-global-unbounded.hlsl
    M clang/test/CodeGenHLSL/resources/res-array-global.hlsl
    M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl

  Log Message:
  -----------
  [HLSL] Use static create methods to initialize resources in arrays (#157005)

Use static methods `__createFromBinding` and `__createFromImplicitBinding` to initialize resources in resource arrays
instead of calling resource constructors with binding information, per proposal update https://github.com/llvm/wg-hlsl/pull/336.

Test updates include the use of the `llvm-cxxfilt` tool which takes care of demangling of function names for a more readable test baseline.



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