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

Xiang Li via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 10:09:31 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:

The value should not change, unless it does not have a mapping to the enum values.
It just YAML now require the names instead of integer.


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


More information about the llvm-commits mailing list