Index: src/IceTypes.def |
diff --git a/src/IceTypes.def b/src/IceTypes.def |
index 03d302d4e36b869bfda0240786c9636a7221fe64..f2b7e41142859d3e89d8f4dbe2d859fb42a2ccd6 100644 |
--- a/src/IceTypes.def |
+++ b/src/IceTypes.def |
@@ -35,4 +35,27 @@ |
X(IceType_v4f32, 16, 4, 4, IceType_f32, "<4 x float>") \ |
//#define X(tag, size, align, elts, elty, str) |
+//Dictionary: |
jvoung (off chromium)
2014/07/25 22:42:09
nit: space between // and Dictionary (at least som
Karl
2014/07/30 20:16:15
Done.
|
+// V - Is vector type. |
+// I - Is integer value (scalar or vector). |
+// F - Is floating point value (scalar or vector). |
jvoung (off chromium)
2014/07/25 22:42:09
pretty
|
+#define ICETYPE_PROPS_TABLE \ |
+ /* Enum Value V I F */ \ |
+ X(IceType_void, 0, 0, 0) \ |
+ X(IceType_i1, 0, 1, 0) \ |
+ X(IceType_i8, 0, 1, 0) \ |
+ X(IceType_i16, 0, 1, 0) \ |
+ X(IceType_i32, 0, 1, 0) \ |
+ X(IceType_i64, 0, 1, 0) \ |
+ X(IceType_f32, 0, 0, 1) \ |
+ X(IceType_f64, 0, 0, 1) \ |
+ X(IceType_v4i1, 1, 1, 0) \ |
+ X(IceType_v8i1, 1, 1, 0) \ |
+ X(IceType_v16i1, 1, 1, 0) \ |
+ X(IceType_v16i8, 1, 1, 0) \ |
+ X(IceType_v8i16, 1, 1, 0) \ |
+ X(IceType_v4i32, 1, 1, 0) \ |
+ X(IceType_v4f32, 1, 1, 1) \ |
jvoung (off chromium)
2014/07/25 22:42:09
v4f32 is not an integer vector
Karl
2014/07/30 20:16:15
Done.
|
+//#define X(tag, IsVec, IsInt, IsFloat) |
+ |
#endif // SUBZERO_SRC_ICETYPES_DEF |