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();
<head>
<link rel="icon" href="./favicon.ico">
<script type="module"
- src="https://zoso.dev/?p=libnemo.git;a=blob_plain;f=global.min.0.js;hb=refs/heads/ios"></script>
+ src="https://zoso.dev/?p=libnemo.git;a=blob_plain;f=global.min.1.js;hb=refs/heads/ios"></script>
<!-- <script type="module" src="https://cdn.jsdelivr.net/npm/nano-webgl-pow@1.1.1/nano-webgl-pow.js"></script> -->
<script type="module">
(async () => {
static reset (loss?: GPUDeviceLostInfo): void {
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()