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

Xiang Li via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 11:47:35 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
----------------
python3kgae wrote:

My understanding is that for enum class types, you cannot say 128 anymore.
Have to choose from the enum names.

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


More information about the llvm-commits mailing list