aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-12-20 22:37:02 -0600
committerGanesh Viswanathan <dev@genotrance.com>2019-12-20 22:37:02 -0600
commit362b5498b1794aefc91e1d660b8bdb8401f1189f (patch)
tree19c1da64e0ebeba8077ec04893983d8aa836e58e /tests
parenta06081f807e6cbb6922fa022a1a0340b263d7357 (diff)
downloadnimterop-issue57.tar.gz
nimterop-issue57.zip
Fix #57 and #152 - clean ident in expressionsissue57
Diffstat (limited to 'tests')
-rw-r--r--tests/include/toast.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/include/toast.h b/tests/include/toast.h
new file mode 100644
index 0000000..b6b11a8
--- /dev/null
+++ b/tests/include/toast.h
@@ -0,0 +1,23 @@
+// #57
+enum {
+ _SG_STRING_SIZE = 16,
+ _SG_SLOT_SHIFT = 16,
+ _SG_SLOT_MASK = (1<<_SG_SLOT_SHIFT)-1,
+ _SG_MAX_POOL_SIZE = (1<<_SG_SLOT_SHIFT),
+ _SG_DEFAULT_BUFFER_POOL_SIZE = 128,
+ _SG_DEFAULT_IMAGE_POOL_SIZE = 128,
+ _SG_DEFAULT_SHADER_POOL_SIZE = 32,
+ _SG_DEFAULT_PIPELINE_POOL_SIZE = 64,
+ _SG_DEFAULT_PASS_POOL_SIZE = 16,
+ _SG_DEFAULT_CONTEXT_POOL_SIZE = 16,
+ _SG_MTL_DEFAULT_UB_SIZE = 4 * 1024 * 1024,
+ _SG_MTL_DEFAULT_SAMPLER_CACHE_CAPACITY = 64,
+};
+
+// #152
+enum {
+ _ONE,
+ _TWO,
+ _MAX = _TWO,
+ _MORE
+};