blob: e4997674cf92935373d091232d2167aab3b495d5 [file] [log] [blame]
const hasWebGPU = () => {
return 'WebGPURenderingContext' in window;
};
const checkForWebGPU = () => {
if (hasWebGPU())
return true;
document.body.className = "error";
return false;
}