[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 09:50:09 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:

I'm just confused because I see some new definitions and I see test changes, but I don't see the producer of the value changing anywhere so it isn't clear to me what the actual difference in behaviour is. I'm guessing the new `ScalarEnumerationTraits` specializations are the cause, but is the value different in the actual DXContainer or is it just a display thing with the YAML?

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


More information about the llvm-commits mailing list