Android: track disjoint mip layouts and add Vulkan validation tools

This commit is contained in:
shen
2026-10-15 18:53:45 -07:00
parent 8eb294e7e0
commit a6c3655e21
12 changed files with 546 additions and 47 deletions
+1
View File
@@ -47,6 +47,7 @@ $(OUT)/libd2r.so: $(OBJ)
# 图形回放(gfx/,含 Vulkan 后端 gfx/vulkan/)是逐绘制热路径,用 -O2;其余宿主代码保持 -O1,与 Mac 构建一致
# Graphics replay (gfx/, including the Vulkan backend gfx/vulkan/) is the per-draw hot path, built at -O2; the rest of the host stays at -O1 like the Mac build
$(OUT)/obj/up/gfx/%.o: CFLAGS += -O2
$(OUT)/obj/up/gfx/vulkan/nvn_vk.o: ../gfx/vulkan/nvn_vk_mip_layout.h ../gfx/vulkan/nvn_vk_dispatch.h
$(OUT)/obj/up/%.o: ../%.c
@mkdir -p $(dir $@)