beanz added inline comments.
================
Comment at: clang/include/clang/Basic/Builtins.def:1703
 LANGBUILTIN(WaveActiveCountBits, "Uib", "nc", HLSL_LANG)
+LANGBUILTIN(__builtin_hlsl_get_resource_pointer, "v*", "i", HLSL_LANG)
+LANGBUILTIN(__builtin_hlsl_get_resource_status, "Ui", "i", HLSL_LANG)
----------------
python3kgae wrote:
> Is it possible to return a ptr with special address space so we know it is 
> from a resource?
Yes, although I'm going to actually hold back the builtins from this patch. I 
don't think these are quite what we want to generate.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128569

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to