[PATCH] D136743: [HLSL] support ConstantBuffer

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 25 23:45:47 PDT 2022


python3kgae created this revision.
python3kgae added reviewers: pow2clk, beanz, bogner.
Herald added a subscriber: Anastasia.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Support ConstantBuffer by define it like

  template<typename T>
  struct ConstantBuffer : public T {
  };


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136743

Files:
  clang/lib/Sema/HLSLExternalSemaSource.cpp
  clang/test/AST/HLSL/CBV.hlsl
  clang/test/SemaHLSL/BuiltIns/CBV.hlsl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136743.470725.patch
Type: text/x-patch
Size: 4624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221026/5f9b63cb/attachment.bin>


More information about the cfe-commits mailing list