[all-commits] [llvm/llvm-project] cc47db: [HLSL] Add HLSLResource attribute

Chris B via All-commits all-commits at lists.llvm.org
Thu Jul 28 19:15:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc47db6737049f0c30e9c092de65e40823eb14be
      https://github.com/llvm/llvm-project/commit/cc47db6737049f0c30e9c092de65e40823eb14be
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/test/AST/HLSL/RWBuffer-AST.hlsl

  Log Message:
  -----------
  [HLSL] Add HLSLResource attribute

HLSL Resource objects will have restrictions on use and codegen
requirements. This patch is fairly minimal just adding the attribute
with no spellings since it will only be attached by the
HLSLExternalSemaSource.

Depends on D1300017.

Differential Revision: https://reviews.llvm.org/D130018




More information about the All-commits mailing list