summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-05-04 13:36:34 -0700
committeryum <yum.food.vr@gmail.com>2025-05-04 13:36:34 -0700
commit390160e9e1ff5e672918fae0107c786039a3457d (patch)
tree3adff5771b63e16652a0c7f220f56e089efff1ff /features.cginc
parent4066ad88b311a99345e168ad9f31ce9ce86684e9 (diff)
Begin work on unigram letter grid
Basic idea is to use a sentencepiece unigram tokenizer to compress text over the wire. GPU decodes tokens with a LUT.
Diffstat (limited to 'features.cginc')
-rw-r--r--features.cginc4
1 files changed, 4 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc
index 314aca0..67605f3 100644
--- a/features.cginc
+++ b/features.cginc
@@ -216,6 +216,10 @@
#pragma shader_feature_local _LETTER_GRID
//endex
+//ifex _Unigram_Letter_Grid_Enabled==0
+#pragma shader_feature_local _UNIGRAM_LETTER_GRID
+//endex
+
//ifex _Shatter_Wave_Enabled==0
#pragma shader_feature_local _SHATTER_WAVE
//endex