[llvm] [DirectX] add enum for PSV resource type/kind/flag. (PR #106227)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 10:50:45 PDT 2024


================
@@ -19,11 +19,11 @@ Parts:
       MaximumWaveLaneCount: 4294967295
       ResourceStride:       16
       Resources:
-        - Type:            1
+        - Type:            Sampler
           Space:           2
           LowerBound:      3
           UpperBound:      4
-        - Type:            128
+        - Type:            Invalid
----------------
bogner wrote:

Seems kind of unfortunate to not see the actual value that's in the structure in our debug tools - couldn't this mean that we end up putting garbage values in the actual container without noticing it in our tests? I guess if that's how the yaml printing works it's a wider issue and doesn't need to block this change in particular.

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


More information about the llvm-commits mailing list