[llvm] [NFC] Refactoring DXContainerYaml Root Parameter representation (PR #138318)

Finn Plummer via llvm-commits llvm-commits at lists.llvm.org
Thu May 22 17:27:16 PDT 2025


================
@@ -112,98 +113,17 @@ struct DescriptorTableYaml {
   SmallVector<DescriptorRangeYaml> Ranges;
 };
 
+using ParameterData =
+    std::variant<RootConstantsYaml, RootDescriptorYaml, DescriptorTableYaml>;
+
 struct RootParameterYamlDesc {
   uint32_t Type;
----------------
inbelic wrote:

Ah, I see, this maps to a `RootParamterHeader`

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


More information about the llvm-commits mailing list