[all-commits] [llvm/llvm-project] 2a2324: [HLSL] Do not remove `HLSLVkBindingAttr` if the ta...

Helena Kotas via All-commits all-commits at lists.llvm.org
Tue Oct 7 14:48:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a2324a6eae7447be07ed95a24d5b335c9513450
      https://github.com/llvm/llvm-project/commit/2a2324a6eae7447be07ed95a24d5b335c9513450
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2025-10-07 (Tue, 07 Oct 2025)

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

  Log Message:
  -----------
  [HLSL] Do not remove `HLSLVkBindingAttr` if the target is not SPIR-V (#161752)

The attribute needs to be preserved for rewriter scenarios. Two places were updated to use the `ResourceBindingAttrs` helper struct to make sure the `HLSLVkBindingAttr` is ignored when the target is DirectX.



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