Enable WebGPU support / Logging
This commit is contained in:
parent
20c5cc630a
commit
a5b2533596
3 changed files with 15 additions and 0 deletions
|
@ -1945,3 +1945,11 @@ var checkIfScrollIsStatic = setInterval(() => {
|
|||
}
|
||||
|
||||
}, 50);
|
||||
|
||||
// WebGPU Console Notification
|
||||
async function webGPU() {
|
||||
const currentGPU = await navigator.gpu.requestAdapter()
|
||||
console.log("WebGPU enabled on", currentGPU.name,"with feature ID", currentGPU.features.size)
|
||||
}
|
||||
webGPU().then()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue