From 1ac0493d74d8f4feaddcb048c3d0d37997191a19 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 9 Jan 2025 15:11:54 -0800 Subject: [PATCH] Log buffer to troubleshoot iOS device loss. --- global.min.0.js => global.min.1.js | 2 ++ index.html | 2 +- src/lib/nano-pow/classes/gpu.ts | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) rename global.min.0.js => global.min.1.js (99%) diff --git a/global.min.0.js b/global.min.1.js similarity index 99% rename from global.min.0.js rename to global.min.1.js index b136d6d..0fcaaff 100644 --- a/global.min.0.js +++ b/global.min.1.js @@ -11450,6 +11450,8 @@ var init_gpu = __esm({ static reset(loss) { console.dir(loss); console.warn(`Device lost. Reinitializing...`); + console.dir(this); + console.dir(this.#cpuBuffer); if (this.#cpuBuffer) this.#cpuBuffer.destroy(); if (this.#gpuBuffer) this.#gpuBuffer.destroy(); if (this.#uboBuffer) this.#uboBuffer.destroy(); diff --git a/index.html b/index.html index 820a11b..311288c 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ + src="https://zoso.dev/?p=libnemo.git;a=blob_plain;f=global.min.1.js;hb=refs/heads/ios">