[llvm-branch-commits] [llvm] [HLSL] Adding support for Root Constants in LLVM Metadata (PR #135085)

Finn Plummer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 14 10:16:58 PDT 2025


================
@@ -52,6 +59,45 @@ static bool parseRootFlags(LLVMContext *Ctx, mcdxbc::RootSignatureDesc &RSD,
   return false;
 }
 
+static bool extractMdValue(uint32_t &Value, MDNode *Node, unsigned int OpId) {
----------------
inbelic wrote:

Maybe we could rename this to `extractMdIntValue` or the like? We will eventually have `float` args

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


More information about the llvm-branch-commits mailing list