[PATCH] D131268: [HLSL] Generate buffer subscript operators

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 12 08:56:28 PDT 2022


python3kgae added inline comments.


================
Comment at: clang/test/CodeGenHLSL/buffer-array-operator.hlsl:3
+
+const RWBuffer<float> In;
+RWBuffer<float> Out;
----------------
Why add const instead of using Buffer directly?



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131268



More information about the cfe-commits mailing list