Spector.js icon indicating copy to clipboard operation
Spector.js copied to clipboard

WebGPU support

Open luruke opened this issue 7 years ago • 18 comments

Wondering, is there any plan to support WebGPU in the future? Or it's more likely that it's going to be a totally new project / fork?

luruke avatar Nov 08 '19 14:11 luruke

Would be great to have it here :-) i definitely need to find time for it.

sebavan avatar Nov 08 '19 15:11 sebavan

Might be interested, not sure how complicated that is :)

frguthmann avatar Jan 07 '20 11:01 frguthmann

A bit :-) cause it is stateless so might have completely different kind of caching to do :-)

sebavan avatar Jan 07 '20 15:01 sebavan

Right, I've been meaning to give a hand because I use SpectorJS literally everyday. It's kind of hard to figure out a way to start, this is probably not the best one though...

frguthmann avatar Jan 07 '20 16:01 frguthmann

Yeahhhhhh, might be a tough one but we could do it at several people :-)

Basically there is 2 parts, the backend capturing and recording states, and the front displaying it. I would say at firts if we could have all the backend, then we ll see for the front. I have rewritten some of it in react and once all done it should be way easier for external contribs.

sebavan avatar Jan 07 '20 16:01 sebavan

Definitely interested in understanding more about the backend and how you guys catch the different calls. Do not hesitate to ping me if you think there is something I can do. (No promises though :p)

frguthmann avatar Jan 07 '20 16:01 frguthmann

Send me a message at [email protected] and I can organize us a quick skype call if you want ?

Would love to work on it as a community project.

sebavan avatar Jan 07 '20 17:01 sebavan

Will do :)

frguthmann avatar Jan 07 '20 17:01 frguthmann

Closing for now as this will be in another repo/tool for the best ;-)

sebavan avatar Jan 18 '22 02:01 sebavan

May I ask which repo? If already created 😄

kohakukun avatar Jan 18 '22 21:01 kohakukun

not yet but the technique will need to be quite different :-)

sebavan avatar Jan 18 '22 21:01 sebavan

Still interested at developing it as a community project? I would be interested

kohakukun avatar Jan 18 '22 23:01 kohakukun

Most definitely, i ll start in about a month if everything goes well :-) I ll ping you then

sebavan avatar Jan 18 '22 23:01 sebavan

Can't wait to see what you're brewing. Pix works really well with WebGPU but we could definitely use a SpectorJS level kind of tool as well :).

frguthmann avatar Jan 18 '22 23:01 frguthmann

@sebavan Just a friendly reminder if you have the bandwidth to start the WebGPU tool and want a helping hand (sorry to be using this channel, I didn't find another channel)

kohakukun avatar Mar 07 '22 12:03 kohakukun

I definitely want to start it cause it would be awesome :-)

As we are currently close to launch the latest release of Babylon I do not have a lot of free time to work on it at the moment but I ll ping you as soon as I start :-)

sebavan avatar Mar 07 '22 15:03 sebavan

Hi @sebavan I hope you are doing well!

did you start working on this?

thank you

fedegratti avatar Oct 09 '24 14:10 fedegratti

WebGPU is so different that Spector is not the best fit. An early debugger was started here: https://github.com/webgpu/webgpu-debugger and we currently use pix to troubleshoot in our team. I wish I had more time to work on this !!!

sebavan avatar Oct 09 '24 18:10 sebavan