Add cache handling for tiles

This commit is contained in:
2026-05-11 16:48:34 +02:00
parent beea8a0281
commit dc708de354
10 changed files with 884 additions and 740 deletions

View File

@@ -31,8 +31,8 @@ EMCC_FLAGS = --use-port=emdawnwebgpu \
-sALLOW_MEMORY_GROWTH \
-msimd128 \
-sFILESYSTEM=0 \
-flto \
-Rpass=loop-vectorize
-sMALLOC=emmalloc \
-flto
# Shell template
SHELL_FILE = shell.html
@@ -46,6 +46,7 @@ $(TARGET): $(SHADER_HEADERS) $(C_SOURCES) $(IMGUI_SOURCES) $(CGLM_SOURCES) $(SHE
-o $(TARGET) \
$(EMCC_FLAGS) \
-O3 \
--closure 1 \
-I$(LIB_DIR)/sokol \
-I$(LIB_DIR)/imgui \
-I$(LIB_DIR)/imgui/imgui \