================
@@ -31,6 +31,14 @@ enum class ResourceClass : uint8_t {
   LastEntry = Sampler,
 };
 
+enum class ResourceDimension : uint8_t {
+  DimensionUnknown = 0,
+  Dimension1D,
+  Dimension2D,
+  Dimension3D,
+  DimensionCube,
+};
----------------
s-perron wrote:

Yes, old habits die hard. However, you can't use a number at the start of an 
identifier. Do you have any other preferences?

We could do:

OneD, TwoD, ThreeD

or just

One, Two, Three



https://github.com/llvm/llvm-project/pull/177240
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to