chore: add zero-dependency static launcher

This commit is contained in:
Codex
2026-08-28 08:49:24 +09:00
parent bfc37e76c7
commit 4c5756a5a9
8 changed files with 539 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
const statusElement = document.querySelector("#webgpu-status");
if (!(statusElement instanceof HTMLElement)) {
throw new Error("WebGPU status element is missing.");
}
if ("gpu" in navigator) {
statusElement.textContent = "WebGPU 사용 가능";
} else {
statusElement.textContent = "CPU fallback 사용 예정";
statusElement.classList.add("status-chip--warning");
}