Issue |
134154
|
Summary |
[HLSL] Implement resource initialization by constructors
|
Labels |
HLSL
|
Assignees |
|
Reporter |
hekota
|
1. Add resource constructor for explicit binding to `HLSLExternalSemaSource`.
2. Replace current resource initialization function (in Codegen) with init _expression_ that calls the constructor (in Sema).
3. Update default resource constructor to initialize resource handle to `poison` (needs to happen after # 1, otherwise the initialized handle will get overridden).
Design proposal: llvm/wg-hlsl#197
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs