================ @@ -286,10 +286,7 @@ void CGHLSLRuntime::emitBufferGlobalsAndMetadata(const HLSLBufferDecl *BufDecl, .str()))) && "layout type does not match the converted element type"); - // there might be resources inside the used defined structs - if (VDTy->isStructureType() && VDTy->isHLSLIntangibleType()) - // FIXME: handle resources in cbuffer structs - llvm_unreachable("resources in cbuffer are not supported yet"); + // FIXME: handle resources in cbuffer user-defined structs ---------------- spall wrote:
this is future work? not a reminder for this pr? https://github.com/llvm/llvm-project/pull/125807 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits