llvm-project
6d4f8b1d - [HLSL] Fix resource wrapper declaration (#129100)

Commit
1 year ago
[HLSL] Fix resource wrapper declaration (#129100) The resource wrapper should have internal linkage because it contains a handle to the global resource, and it not the actual global. Makeing this changed exposed that we were zeroinitializing the resouce, which is a problem. The handle cannot be zeroinitialized. This is changed to use poison instead. Fixes https://github.com/llvm/llvm-project/issues/122767. --------- Co-authored-by: Helena Kotas <hekotas@microsoft.com>
Author
Parents
Loading