You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description
WebGPU requestAdapterInfo seems to be deprecated and replaced with GPUAdapterInfo
Steps to Reproduce
Launch the official Human demo, checkout the warning in console hook.js:608 TypeError: e.requestAdapterInfo is not a function at Object.factory (human.esm.js:26020:51) at async check (human.esm.js:33809:9) at async Human.init (human.esm.js:46588:5) at async main (index.js:982:5)
Expected Behavior
Update code to use GPUAdapterInfo
Additional
It seems like an easy replacement from const adapter = await navigator.gpu.requestAdapter(); this.webgpu.adapter = await adapter?.requestAdapterInfo();
Issue Description
WebGPU requestAdapterInfo seems to be deprecated and replaced with GPUAdapterInfo
Steps to Reproduce
Launch the official Human demo, checkout the warning in console
hook.js:608 TypeError: e.requestAdapterInfo is not a function at Object.factory (human.esm.js:26020:51) at async check (human.esm.js:33809:9) at async Human.init (human.esm.js:46588:5) at async main (index.js:982:5)
Expected Behavior
Update code to use GPUAdapterInfo
Additional
It seems like an easy replacement from
const adapter = await navigator.gpu.requestAdapter(); this.webgpu.adapter = await adapter?.requestAdapterInfo();
To:
this.webgpu.adapter = await adapter.info;
Resources:
Thank you !
The text was updated successfully, but these errors were encountered: