From 362b5498b1794aefc91e1d660b8bdb8401f1189f Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Fri, 20 Dec 2019 22:37:02 -0600 Subject: Fix #57 and #152 - clean ident in expressions --- tests/include/toast.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/include/toast.h (limited to 'tests/include') 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 +}; -- cgit v1.2.3