================
@@ -480,6 +480,9 @@ struct RegisterBindingFlags {
 
   bool ContainsNumeric = false;
   bool DefaultGlobals = false;
+
+  // used only when Resource == true
+  llvm::dxil::ResourceClass ResourceClass = llvm::dxil::ResourceClass::UAV;
----------------
damyanp wrote:

Along with this, the various SRV, UAV, CBV, Sampler flags now seem redundant 
with ResourceClass.  Are these flags only valid when UDR is set?  

If that's the case then I wonder if this might be better expressed as a 
`std::variant`?

https://github.com/llvm/llvm-project/pull/106657
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to