[PATCH] D136743: [HLSL] support ConstantBuffer

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 15 07:03:21 PST 2022


python3kgae updated this revision to Diff 483171.
python3kgae added a comment.
Herald added a reviewer: aaron.ballman.

Change CBV implementation to
template<typename T>
using ConstantBuffer = T;

Added new internal attribute HLSLConstantBufferView to mark CBV with AttributedType.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136743/new/

https://reviews.llvm.org/D136743

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Sema/HLSLExternalSemaSource.h
  clang/include/clang/Sema/Sema.h
  clang/lib/AST/TypePrinter.cpp
  clang/lib/Sema/HLSLExternalSemaSource.cpp
  clang/lib/Sema/SemaTemplate.cpp
  clang/test/AST/HLSL/CBV.hlsl
  clang/test/SemaHLSL/BuiltIns/CBV.hlsl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136743.483171.patch
Type: text/x-patch
Size: 9616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221215/37ca8754/attachment.bin>


More information about the cfe-commits mailing list