[llvm] [HLSL] Move Resouce Instance Properties from TypeInfo (PR #135259)

Ashley Coleman via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 14:06:39 PDT 2025


================
@@ -155,8 +155,8 @@ struct FormatResourceDimension
     case dxil::ResourceKind::StructuredBuffer:
       if (!Item.isUAV())
         OS << "r/o";
-      else if (Item.getUAV().HasCounter)
-        OS << "r/w+cnt";
+      //      else if (Item.getUAV().HasCounter)
+      //        OS << "r/w+cnt";
----------------
V-FEXrt wrote:

Not sure what to do here. `Item` is `ResourceTypeInfo` and there is no `ResourceType` to be seen so idk how to replicate this exact functionality.

Maybe it can just be deleted? But I wanted input first. @hekota @bogner 

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


More information about the llvm-commits mailing list