[PATCH] D130016: [HLSL] Add __builtin_hlsl_create_handle

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 10:13:50 PDT 2022


beanz added inline comments.


================
Comment at: clang/test/CodeGenHLSL/builtins/create_handle.hlsl:4
+void fn() {
+  (void)__builtin_hlsl_create_handle(0);
+}
----------------
python3kgae wrote:
> What does the parameter 0 mean here?
> 
For the purposes of this test, the value doesn't matter, but in the next patch in the sequence D130017, I pass the resource class in that parameter.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130016



More information about the llvm-commits mailing list