[clang] [llvm] [HLSL] Add handle initialization for simple resource declarations (PR #111207)

Damyan Pepper via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 16 10:46:15 PDT 2024


================
@@ -5622,6 +5622,9 @@ void CodeGenModule::EmitGlobalVarDefinition(const VarDecl *D,
     getCUDARuntime().handleVarRegistration(D, *GV);
   }
 
+  if (LangOpts.HLSL)
+    getHLSLRuntime().handleGlobalVarDefinition(D, GV);
----------------
damyanp wrote:

Could someone file the bug please, so at least we have a record that it is a bug in DXC?

https://github.com/llvm/llvm-project/pull/111207


More information about the cfe-commits mailing list