Add a (table T).linearize method

This commit is contained in:
Nigel Tao committed 2018-05-18 13:54:07 +10:00
1 parent f6cd4b2af2
commit 85256c7a45
13 files changed
+120 -2

No files matched your search

+2
View File
@@ -478,6 +478,7 @@ const (
IDHeight = ID(0x216)
IDStride = ID(0x217)
IDWidth = ID(0x218)
IDLinearize = ID(0x219)
)
var builtInsByID = [nBuiltInIDs]string{
@@ -684,6 +685,7 @@ var builtInsByID = [nBuiltInIDs]string{
IDHeight: "height",
IDStride: "stride",
IDWidth: "width",
IDLinearize: "linearize",
}
var builtInsByName = map[string]ID{}